diff options
Diffstat (limited to 'accounts/templates/base.html')
-rw-r--r-- | accounts/templates/base.html | 66 |
1 files changed, 34 insertions, 32 deletions
diff --git a/accounts/templates/base.html b/accounts/templates/base.html index db6f741..10c146e 100644 --- a/accounts/templates/base.html +++ b/accounts/templates/base.html @@ -1,8 +1,9 @@ -{%- set styles = ['layout.css', 'bootstrap-form.css'] + styles|default([]) %} +{%- set styles = ['layout.css', 'bootstrap.min.css'] + styles|default([]) %} {%- set scripts = ['script.js', 'jquery-1.8.2.min.js'] + scripts|default([]) %} <!doctype html> <html> <head> <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width"> <title>{% if title %}{{ title }} – {% endif %}spline accounts</title> {%- for script in scripts %} <script type="text/javascript" src="{{ url_for('static', filename=script) }}"></script> @@ -13,40 +14,41 @@ </head> <body> - <div id="header-background"> </div> - <header> - <h1> - <a href="{{ url_for('default.index') }}"> - <img src="{{ url_for('static', filename='logo.png') }}" alt="spline accounts" /> - </a> - </h1> - <span id="roundcornerb"> </span> - <span id="roundcornerw"> </span> + <div id="header-background"> + <header> + <h1> + <a href="{{ url_for('default.index') }}"> + <img src="{{ url_for('static', filename='spline.svg') }}" alt="spline accounts" /> + </a> + </h1> + <span id="roundcornerb"> </span> + <span id="roundcornerw"> </span> - <nav id="mainnav"> - <ul> - <li><a href="http://spline.de">spline.de</a></li> - <li><a href="{{ url_for('default.about') }}">FAQ</a></li> - </ul> - </nav> + <nav id="mainnav"> + <ul> + <li><a href="http://spline.de">spline.de</a></li> + <li><a href="{{ url_for('default.about') }}">FAQ</a></li> + </ul> + </nav> - {%- if not no_login_message %} - <nav id="usermenu"> - <ul> - {%- if current_user.is_authenticated() %} - <li>Angemeldet als <strong>{{ current_user.uid }}</strong></li> - {%- if current_user.uid in config.get('ADMIN_USERS', []) %} - <li><a href="{{ url_for('admin.index') }}">Admin</a></li> + {%- if not no_login_message %} + <nav id="usermenu"> + <ul> + {%- if current_user.is_authenticated %} + <li>Angemeldet als <strong>{{ current_user.uid }}</strong></li> + {%- if current_user.uid in config.get('ADMIN_USERS', []) %} + <li><a href="{{ url_for('admin.index') }}">Admin</a></li> + {%- endif %} + <li><a href="{{ url_for('login.logout') }}">Abmelden</a></li> + {%- else %} + <li>Nicht angemeldet</li> + <li><a href="{{ url_for('login.login') }}">Login</a></li> {%- endif %} - <li><a href="{{ url_for('login.logout') }}">Abmelden</a></li> - {%- else %} - <li>Nicht angemeldet</li> - <li><a href="{{ url_for('login.login') }}">Login</a></li> - {%- endif %} - </ul> - </nav> - {%- endif %} - </header> + </ul> + </nav> + {%- endif %} + </header> + </div> <section id="content"> {% with messages = get_flashed_messages(with_categories=true) %} |