PDMI/LBI_PiPy/templates/admin_/custom_index.html

62 lines
2.0 KiB
HTML
Raw Normal View History

2019-04-28 18:49:02 +02:00
{% extends 'admin/master.html' %}
{% block body %}
{{ super() }}
{% if current_user.is_authenticated %}
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Custom View
<small>This is a custom view without DB model</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li class="active">Custom</li>
</ol>
</section>
<section class="content">
<div class="row">
<!-- Left col -->
<section class="container">
Here you can place your custom data without a database dependence. <br>
Find this file in templates/admin/ as custom_index.html
</section>
<!-- /.Left col -->
</div>
<!-- /.row (main row) -->
</section>
<!-- /.content -->
{% else %}
<section class="content" style="color: white;text-align: center;height:100%;width: 50%;
margin: 0 auto;">
<div class="col-sm-12">
<h1>Alerte 112 - Administration</h1>
<p class="lead">
{{ _("Authentification") }}
</p>
<p>
{{_("Pour accéder à l'interface d'administration veuillez utiliser vos identifiants.")}}
</p>
<p>
<a class="btn btn-primary" href="{{ url_for('security.login') }}">{{_("Connection")}}</a>
</p>
<br>
<p>
<a class="btn btn-primary" href="/"><i class="glyphicon glyphicon-chevron-left"></i> {{ _("Retour") }}</a>
</p>
</div>
</section>
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br>
{% endif %}
{% endblock body %}