forked from wallabag/wallabag
Basic dark theme handling
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<!--[if lte IE 7]><html class="no-js ie7 ie67 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
|
||||
<!--[if IE 8]><html class="no-js ie8 ie678"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
|
||||
<!--[if gt IE 8]><html class="no-js"{% if lang is not empty %} lang="{{ lang }}"{% endif %}><![endif]-->
|
||||
<html{% if lang is not empty %} lang="{{ lang }}"{% endif %}>
|
||||
<html{% if lang is not empty %} class="{{ theme_class() }}" lang="{{ lang }}"{% endif %}>
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta name="viewport" content="initial-scale=1.0">
|
||||
|
||||
@ -97,6 +97,12 @@
|
||||
<div class="collapsible-body"></div>
|
||||
</li>
|
||||
|
||||
<li class="bold">
|
||||
<a class="waves-effect collapsible-header js-theme-toggle">
|
||||
<i class="material-icons small">brightness_medium</i>
|
||||
<span>{{ 'entry.view.left_menu.theme_toggle'|trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% if craue_setting('share_public')
|
||||
or craue_setting('share_twitter')
|
||||
or craue_setting('share_shaarli')
|
||||
|
||||
@ -117,6 +117,13 @@
|
||||
<li><a href="{{ path('site_credentials_index') }}"><i class="material-icons">vpn_key</i> {{ 'menu.left.site_credentials'|trans }}</a></li>
|
||||
{% endif %}
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a class="waves-effect js-theme-toggle">
|
||||
<i class="material-icons small">brightness_medium</i>
|
||||
<span>{{ 'menu.left.theme_toggle'|trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
{% if is_granted('ROLE_SUPER_ADMIN') %}
|
||||
<li><a href="{{ path('user_index') }}"><i class="material-icons">people</i>{{ 'menu.left.users_management'|trans }}</a></li>
|
||||
<li><a href="{{ path('craue_config_settings_modify') }}"><i class="material-icons">settings</i> {{ 'menu.left.internal_settings'|trans }}</a></li>
|
||||
|
||||
Reference in New Issue
Block a user