fgfg
This commit is contained in:
parent
2385e59d09
commit
ed905c97e3
29 changed files with 255 additions and 249 deletions
|
@ -25,7 +25,12 @@
|
|||
<p>Change the theme for the website.</p>
|
||||
<div class="input-group mb2">
|
||||
<select id='theme' class="form-control" form="profile-settings" name="theme" onchange="post('/settings/profile?theme='+document.getElementById('theme').value, function(){window.location.reload(true);})">
|
||||
{% for entry in ["dark", "light", "coffee", "tron", "4chan", "midnight"] %}
|
||||
{% if v.background %}
|
||||
{% set entries = ["transparent", "dark", "light", "coffee", "tron", "4chan", "midnight"] %}
|
||||
{% else %}
|
||||
{% set entries = ["dark", "light", "coffee", "tron", "4chan", "midnight"] %}
|
||||
{% endif %}
|
||||
{% for entry in entries %}
|
||||
<option value="{{entry}}" {% if v.theme==entry %} selected {% endif %}>
|
||||
{{entry}}
|
||||
</option>
|
||||
|
|
1
push.sh
1
push.sh
|
@ -5,6 +5,7 @@ git push
|
|||
|
||||
npm install -g sass
|
||||
apt install ruby-sass
|
||||
sass ./files/assets/style/transparent.scss ./files/assets/style/transparent_ff66ac.css
|
||||
sass ./files/assets/style/midnight.scss ./files/assets/style/midnight_ff66ac.css
|
||||
sass ./files/assets/style/dark.scss ./files/assets/style/dark_ff66ac.css
|
||||
sass ./files/assets/style/light.scss ./files/assets/style/light_ff66ac.css
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue