enhanced home page

This commit is contained in:
2022-09-30 18:08:06 +02:00
parent f61e5ef81f
commit a176ec1ece

View File

@@ -110,16 +110,16 @@
<!-- Container (POSTS Section) --> <!-- Container (POSTS Section) -->
<div id="posts"> <div id="posts">
<br> <br>
<h5 class="text-center">DERNIERES PUBLICATIONS</h5> <h5 class="text-center">PAGES RECENTES - CÁC BÀI MỚI</h5>
<table id="users_list" class="table table-condensed"> <table id="users_list" class="table table-condensed">
{% for entry in last_five %} {% for entry in last_five %}
<tr> <tr>
<td>{{ entry.created.strftime("%d.%m.%Y") }}</td>
<td> <td>
<a href="{{ request.route_url('blog', id=entry.id, slug=entry.slug) }}">{{ entry.title }}</a> <a href="{{ request.route_url('blog', id=entry.id, slug=entry.slug) }}">{{ entry.title }}</a>
</td> </td>
<td>{{ entry.author }}</td> <td>{{ entry.author }}</td>
<td>{{ entry.created.strftime("%d-%m-%Y") }}</td>
{% if entry.status == 'brouillon' %} {% if entry.status == 'brouillon' %}
<td><span class="label label-danger">{{ entry.status }}</span></td> <td><span class="label label-danger">{{ entry.status }}</span></td>
{% else %} {% else %}
@@ -135,9 +135,9 @@
<!-- Container (Contact Section) --> <!-- Container (Contact Section) -->
<div id="contact"> <div id="contact">
<br > <br >
<h5 class="text-center">CONTACT</h5> <h5 class="text-center">CONTACT - LIÊN HỆ</h5>
<p align="center"><em>Laissez nous un message!</em></p> <p align="center"><em>Laissez nous un message! Mong nhận được góp ý của bạn!</em></p>
<form action="{{ request.route_url('home') }}" method="POST" class="form"> <form action="{{ request.route_url('home') }}" method="POST" class="form">
<div class="col-sm-6 form-group"> <div class="col-sm-6 form-group">
<input class="form-control" id="name" name="name" placeholder="Nom et prénom - Tên họ" required <input class="form-control" id="name" name="name" placeholder="Nom et prénom - Tên họ" required