refonte des topics
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
Auteur : <strong>{{ entry.author }}</strong><br>
|
||||
Publié le : <strong>{{ entry.created.strftime("%d-%m-%Y - %H:%M") }}</strong><br>
|
||||
{% if request.authenticated_userid %}
|
||||
Topic - Tag : <strong>{{ entry.topic_id }}</strong> - <strong>{{ entry.tag }}</strong>
|
||||
Topic - Tag : <strong>{{ entry.topic_id }}</strong> - <strong>{{ entry.tag }}</strong><br>
|
||||
Statut : <strong>{{ entry.status }}</strong>
|
||||
{% endif %}
|
||||
</p>
|
||||
<script>
|
||||
|
||||
@@ -145,8 +145,8 @@
|
||||
116 bd Maréchal Foch<br>
|
||||
93160 NOISY LE GRAND<br>
|
||||
<br>
|
||||
station Bry sur Marne <span class="label label-danger">RER A</span><br>
|
||||
arrêt Verdun <span class="label label-primary">Bus 220</span><br>
|
||||
<span class="label label-danger">RER A</span> station Bry sur Marne<br>
|
||||
<span class="label label-primary">Bus 220</span> arrêt Verdun<br>
|
||||
<br>
|
||||
<span class="glyphicon glyphicon-envelope"></span><br>
|
||||
contact@meditation-sunyata.paris
|
||||
|
||||
@@ -54,30 +54,30 @@
|
||||
<div class="container">
|
||||
<div align="center">
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='FR1') }}">ENSEIGNEMENT</a>
|
||||
<a href="{{ request.route_url('topic', topic='enseignement') }}">ENSEIGNEMENT</a>
|
||||
</span>
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='FR2') }}">PRATIQUE</a>
|
||||
<a href="{{ request.route_url('topic', topic='pratique') }}">PRATIQUE</a>
|
||||
</span>
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='FR3') }}">QI GONG</a>
|
||||
<a href="{{ request.route_url('topic', topic='qigong') }}">QI GONG</a>
|
||||
</span>
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='FR4') }}">SCIENCES</a>
|
||||
<a href="{{ request.route_url('topic', topic='sciences') }}">SCIENCES</a>
|
||||
</span>
|
||||
</div>
|
||||
<div align="center">
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='VN1') }}">TU HỌC</a>
|
||||
<a href="{{ request.route_url('topic', topic='tu_hoc') }}">TU HỌC</a>
|
||||
</span>
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='VN2') }}">TU TẬP</a>
|
||||
<a href="{{ request.route_url('topic', topic='tu_tap') }}">TU TẬP</a>
|
||||
</span>
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='FR3') }}">KHÍ CÔNG</a>
|
||||
<a href="{{ request.route_url('topic', topic='qigong') }}">KHÍ CÔNG</a>
|
||||
</span>
|
||||
<span class="menu-item">
|
||||
<a href="{{ request.route_url('topic', topic='VN4') }}">KHOA HỌC</a>
|
||||
<a href="{{ request.route_url('topic', topic='sciences') }}">KHOA HỌC</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<p class="text-center">
|
||||
© 2022 - Méditation SUNYATA Paris
|
||||
| <a href="{{ request.route_url('blog', id=1, slug='mentions-legales') }}">Mentions légales</a>
|
||||
| <a href="{{ request.route_url('topic', topic='FR9') }}">A propos</a>
|
||||
| <a href="{{ request.route_url('topic', topic='apropos') }}">A propos</a>
|
||||
| <a href="https://www.ovhcloud.com/fr/mail/" target="__blank">Contact</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -56,13 +56,13 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="row">
|
||||
<h2>Informations</h2>
|
||||
<h2>Informations système</h2>
|
||||
<ul>
|
||||
<li>Client addr : {{ request.client_addr }}</li>
|
||||
<li>Remote addr : {{ request.remote_addr }}</li>
|
||||
<li>Remote host : {{ request.remote_host }}</li>
|
||||
<li>Remote port : {{ request.remote_port }}</li>
|
||||
<li>Server name : {{ request.server_name }}</li>
|
||||
<li>Pyramid {{ pyramid_version }}</li>
|
||||
<li>WTForms {{ wtforms_version }}</li>
|
||||
<li>SQLAlchemy {{ sqlalchemy_version }}</li>
|
||||
<li>SQLite {{ sqlite_version }}</li>
|
||||
<li>Python {{ python_version }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -42,11 +42,11 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Supprimer la sous-rubrique</h4>
|
||||
<h4 class="modal-title">Supprimer le Tag</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- The form is placed inside the body of modal -->
|
||||
<p>Etes-vous certain(e) de vouloir supprimer la sous-rubrique <b>{{ form.tag_name.data }}</b> ?</p>
|
||||
<p>Etes-vous certain(e) de vouloir supprimer le Tag <b>{{ form.tag_name.data }}</b> ?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="form-group">
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
</form>
|
||||
|
||||
<h3>Sous-rubriques</h3>
|
||||
<h3>Liste des Tags</h3>
|
||||
<p><a href="{{ request.route_url('tag_edit', topic=form.topic.data, id='0') }}" class="btn btn-success" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> Nouveau</a>
|
||||
</p>
|
||||
@@ -52,8 +52,8 @@
|
||||
<table id="users_list" class="table table-striped table-bordered table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Sous-rubrique</th>
|
||||
<th>Intitulé</th>
|
||||
<th>Tag</th>
|
||||
<th>Nom du tag</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for entry in tags %}
|
||||
@@ -74,11 +74,11 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Supprimer la rubrique</h4>
|
||||
<h4 class="modal-title">Supprimer le Topic</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- The form is placed inside the body of modal -->
|
||||
<p>Etes-vous certain(e) de vouloir supprimer la rubrique <b>{{ form.topic_name.data }}</b> ?</p>
|
||||
<p>Etes-vous certain(e) de vouloir supprimer le Topic <b>{{ form.topic_name.data }}</b> ?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="form-group">
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<a href="{{ request.route_url('settings') }}" class="btn btn-default" role="button">
|
||||
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
|
||||
<a href="{{ request.route_url('topic_edit', topic='0') }}" class="btn btn-success" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> Nouvelle rubrique</a>
|
||||
<span class="glyphicon glyphicon-plus"></span> Nouveau Topic</a>
|
||||
</p>
|
||||
|
||||
<table id="users_list" class="table table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rubrique</th>
|
||||
<th>Nom</th>
|
||||
<th>Topic</th>
|
||||
<th>Name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for entry in topics %}
|
||||
|
||||
Reference in New Issue
Block a user