Add CSS theme selection dropdown and theme changing support to other pages provided by extensions/ themes. Radio theme is always cyberia themed however.
This commit is contained in:
parent
d020ecc1b5
commit
bebb48af29
@ -4,13 +4,13 @@
|
||||
<head>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css">
|
||||
<meta charset="utf-8">
|
||||
<title>{{ settings.title }}</title>
|
||||
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
|
||||
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css">
|
||||
<!--{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}-->
|
||||
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
|
||||
<script type='text/javascript'>
|
||||
var active_page = "news";
|
||||
</script>
|
||||
<title>{{ settings.title }}</title>
|
||||
{% include 'header.html' %}
|
||||
</head>
|
||||
<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
|
||||
<div class="bar top">
|
||||
@ -48,6 +48,10 @@
|
||||
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
||||
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2016 vichan-devel</p>
|
||||
</footer>
|
||||
<div class="pages"></div>
|
||||
<script type="text/javascript">{% raw %}
|
||||
ready();
|
||||
{% endraw %}</script>
|
||||
</body>
|
||||
</html>
|
||||
{% endfilter %}
|
||||
|
@ -90,15 +90,8 @@
|
||||
<a href='https://int.vichan.net/devel/'>vichan</a> {{ config.version }} -
|
||||
<br><a href="http://tinyboard.org/">Tinyboard</a> Copyright © 2010-2014 Tinyboard Development Group
|
||||
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2015 vichan-devel</p>
|
||||
<br><a href="https://github.com/lainchan/lainchan">lainchan</a> Copyright © 2014-2017 lainchan Administration</p>
|
||||
</footer>
|
||||
<script type="text/javascript">{% raw %}
|
||||
var styles = {
|
||||
{% endraw %}
|
||||
{% for name, uri in config.stylesheets %}{% raw %}'{% endraw %}{{ name|addslashes }}{% raw %}' : '{% endraw %}/stylesheets/{{ uri|addslashes }}{% raw %}',
|
||||
{% endraw %}{% endfor %}{% raw %}
|
||||
}; onready(init);
|
||||
{% endraw %}</script>
|
||||
<div class="pages"></div>
|
||||
|
||||
<script type="text/javascript">{% raw %}
|
||||
ready();
|
||||
|
@ -4,12 +4,12 @@
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<script type='text/javascript'>
|
||||
var active_page = "donate";
|
||||
</script>
|
||||
<title>{{ settings.title }}</title>
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css"/>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css"/>
|
||||
{% include 'header.html' %}
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/progressbar.css"/>
|
||||
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<div class="bar top">{{ boardlist.top }}</div>
|
||||
@ -23,7 +23,7 @@
|
||||
</center>
|
||||
<div class="ban">
|
||||
<h2>Thanks for donating</h2>
|
||||
<p>The server costs {{ settings.monthlyamount }} per month. If you buy stickers we get about 45-55% of whatever you spend. Historical donation records to the former owner are ForeverN2Dust is the top donator, giving about $3000. FOOFDOOF is #2 with $1000 and lots of cheap Chinese shit. Please specify what you'd like your money to go towards. If you don't want to buy stickers, but want to donate something else please either ask in /q/ or contact the Lainchan administration on IRC at #lainchan on Freenode.
|
||||
<p>The server costs {{ settings.monthlyamount }} per month. If you buy stickers we get about 45-55% of whatever you spend. Historical donation records to the former owner are ForeverN2Dust is the top donator, giving about $3000. FOOFDOOF is #2 with $1000 and lots of cheap Chinese shit. Please specify what you'd like your money to go towards. If you don't want to buy stickers, but want to donate something else please either ask in /q/ or contact the Lainchan administration on IRC at #lainchan on Laincan IRC at irc.lainchan.org or Freenode.
|
||||
</p>
|
||||
<p><a href="https://www.stickermule.com/marketplace/tags/lainchan"> Buy stickers here</a>
|
||||
</p>
|
||||
@ -51,6 +51,10 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="pages"></div>
|
||||
<script type="text/javascript">{% raw %}
|
||||
ready();
|
||||
{% endraw %}</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -7,10 +7,11 @@
|
||||
<title>{{ settings.title }}</title>
|
||||
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
|
||||
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css">
|
||||
<!--{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}-->
|
||||
{% if config.font_awesome %}<link rel="stylesheet" href="{{ config.root }}{{ config.font_awesome_css }}">{% endif %}
|
||||
<script type='text/javascript'>
|
||||
var active_page = "faq";
|
||||
</script>
|
||||
<title>{{ settings.title }}</title>
|
||||
{% include 'header.html' %}
|
||||
</head>
|
||||
<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
|
||||
<div class="bar top">
|
||||
@ -122,6 +123,10 @@
|
||||
<br>Tinyboard Copyright © 2010-2014 Tinyboard Development Group
|
||||
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2016 vichan-devel</p>
|
||||
</footer>
|
||||
<div class="pages"></div>
|
||||
<script type="text/javascript">{% raw %}
|
||||
ready();
|
||||
{% endraw %}</script>
|
||||
</body>
|
||||
</html>
|
||||
{% endfilter %}
|
||||
|
@ -4,12 +4,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<script type='text/javascript'>
|
||||
var active_page = "irc";
|
||||
</script>
|
||||
<title>{{ settings.title }}</title>
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css"/>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css"/>
|
||||
{% include 'header.html' %}
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark_irc.css"/>
|
||||
<link rel="stylesheet" href="/stylesheets/font-awesome/css/font-awesome.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="bar top">
|
||||
@ -26,6 +26,10 @@
|
||||
<h2>Web Client - Point your own clients to #{{ settings.channel }} on {{ settings.server }}:+{{ settings.port }} .</h2>
|
||||
<iframe src="https://kiwiirc.com/client/{{ settings.server }}:+{{ settings.port }}/#{{ settings.channel }}" width="800px" height="100%" scrolling="no"></iframe>
|
||||
</div>
|
||||
<div class="pages"></div>
|
||||
<script type="text/javascript">{% raw %}
|
||||
ready();
|
||||
{% endraw %}</script>
|
||||
</body>
|
||||
</html>
|
||||
{% endfilter %}
|
||||
|
@ -4,13 +4,13 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<script type='text/javascript'>
|
||||
var active_page = "rules";
|
||||
</script>
|
||||
<title>{{ settings.title }}</title>
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/style.css"/>
|
||||
<link rel="stylesheet" media="screen" href="/stylesheets/dark.css"/>
|
||||
<link rel="stylesheet" href="/stylesheets/font-awesome/css/font-awesome.min.css">
|
||||
{% include 'header.html' %}
|
||||
</head>
|
||||
<body>
|
||||
<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} active-{% if not no_post_form %}index{% else %}ukko{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
|
||||
<div class="bar top">
|
||||
{{ boardlist.top }}
|
||||
</div>
|
||||
@ -25,15 +25,10 @@
|
||||
</center>
|
||||
|
||||
{% include 'rules.html' %}
|
||||
|
||||
<div class="pages"></div>
|
||||
<script type="text/javascript">{% raw %}
|
||||
ready();
|
||||
{% endraw %}</script>
|
||||
</body>
|
||||
</html>
|
||||
{% endfilter %}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user