add stylesheet choice to catalog theme

This commit is contained in:
czaks 2014-10-05 17:49:27 +02:00
parent 7aa2976524
commit 86eed0b349

View File

@ -73,9 +73,17 @@
<br><a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2014 Tinyboard Development Group <br><a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2014 Tinyboard Development Group
<br><a href="https://int.vichan.net/devel/">vichan</a> Copyright &copy; 2012-2014 vichan-devel</p> <br><a href="https://int.vichan.net/devel/">vichan</a> Copyright &copy; 2012-2014 vichan-devel</p>
</footer> </footer>
<script type="text/javascript"> <script type="text/javascript">{% raw %}
ready(); var styles = {
</script> {% endraw %}
{% for name, uri in config.stylesheets %}{% raw %}'{% endraw %}{{ name|addslashes }}{% raw %}' : '{% endraw %}/stylesheets/{{ uri|addslashes }}{% raw %}',
{% endraw %}{% endfor %}{% raw %}
}; onready(init);
{% endraw %}</script>
<script type="text/javascript">{% raw %}
ready();
{% endraw %}</script>
</body> </body>
</html> </html>
{% endfilter %} {% endfilter %}