mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
implement theme settings #17
This commit is contained in:
parent
0ab282e1c4
commit
5a940541ee
8 changed files with 55 additions and 3 deletions
|
|
@ -4,8 +4,8 @@
|
|||
<meta charset="UTF-8" />
|
||||
<title>{% block title %}{{ name }}{% endblock %}</title>
|
||||
{% block stylesheets %}
|
||||
<link href="{{ asset('asset/default/css/framework.css') }}?{{ version }}" rel="stylesheet" />
|
||||
<link href="{{ asset('asset/default/css/common.css') }}?{{ version }}" rel="stylesheet" />
|
||||
<link href="{{ asset('asset/' ~ theme ~ '/css/framework.css') }}?{{ version }}" rel="stylesheet" />
|
||||
<link href="{{ asset('asset/' ~ theme ~ '/css/common.css') }}?{{ version }}" rel="stylesheet" />
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -101,6 +101,24 @@
|
|||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-t-16-px">{{ 'Theme'|trans }}</td>
|
||||
<td class="padding-t-16-px">
|
||||
<select name="theme">
|
||||
{% for theme in themes %}
|
||||
{% if theme == user.theme %}
|
||||
<option value="{{ theme }}" selected="selected">
|
||||
{{ theme }}
|
||||
</option>
|
||||
{% else %}
|
||||
<option value="{{ theme }}">
|
||||
{{ theme }}
|
||||
</option>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="text-right">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue