forked from Github-Mirrors/canaille
Page titles
This commit is contained in:
parent
31111b64e2
commit
fafe47e69d
17 changed files with 75 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}About Canaille{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="ui clearing segment">
|
||||
<a href="{{ url_for('account.index') }}">
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Forgotten password{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="loginform">
|
||||
<h3 class="ui top attached header">
|
||||
|
|
|
@ -2,6 +2,14 @@
|
|||
{% import 'macro/fomanticui.html' as sui %}
|
||||
{% import "macro/table.html" as table %}
|
||||
|
||||
{% block title %}
|
||||
{% if not edited_group %}
|
||||
{% trans %}Group creation{% endtrans %}
|
||||
{% else %}
|
||||
{% trans %}Group edition{% endtrans %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/confirm.js"></script>
|
||||
<script src="/static/js/users.js"></script>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import "macro/table.html" as table %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Groups{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="ui segment">
|
||||
<a class="ui primary button" href="{{ url_for('groups.create_group') }}">{% trans %}Add a group{% endtrans %}</a>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as fui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Invite a user{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/copy.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Emails{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="ui segment">
|
||||
<h2 class="ui center aligned header">
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import "macro/table.html" as table %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Codes{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/users.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}View an authorization{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="loginform">
|
||||
<h3 class="ui top attached header">
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Add a client{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="loginform">
|
||||
<h3 class="ui top attached header">
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Edit a client{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/admin/client_edit.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import "macro/table.html" as table %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Clients{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/users.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import "macro/table.html" as table %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Tokens{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/users.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Token details{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/confirm.js"></script>
|
||||
<script src="/static/js/copy.js"></script>
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{% extends theme('base.html') %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}My consents{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/users.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,6 +1,16 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import 'macro/fomanticui.html' as sui %}
|
||||
|
||||
{% block title %}
|
||||
{% if not edited_user %}
|
||||
{% trans %}User creation{% endtrans %}
|
||||
{% elif user.uid == edited_user.uid %}
|
||||
{% trans %}My profile{% endtrans %}
|
||||
{% else %}
|
||||
{% trans %}User profile edition{% endtrans %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/confirm.js"></script>
|
||||
<script src="/static/js/profile.js"></script>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
{% extends theme('base.html') %}
|
||||
{% import "macro/table.html" as table %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Users{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script src="/static/js/users.js"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<title>{% block title %}{{ website_name|default("Canaille") }} - {% trans %}authorization interface{% endtrans %}{% endblock %}</title>
|
||||
<title>{% block title %}{% trans %}Authorization interface{% endtrans %}{% endblock %} - {{ website_name|default("Canaille") }}</title>
|
||||
|
||||
<link href="/static/fomanticui/semantic.min.css" rel="stylesheet">
|
||||
<link href="/static/fonts/lato.css" rel="stylesheet">
|
||||
|
|
Loading…
Reference in a new issue