designed songs page
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<strong>{{ entry.author }}</strong> - Publié le <strong>{{ entry.create_date }}</strong><br>
|
||||
</p>
|
||||
<hr/>
|
||||
<p>{{ body_html | safe }}</p>
|
||||
{{ body_html | safe }}
|
||||
<hr/>
|
||||
|
||||
{% if entry.source_link != '' %}
|
||||
@@ -37,6 +37,7 @@
|
||||
<p>
|
||||
{% if request.authenticated_userid %}
|
||||
Topic - Tag : <strong>{{ entry.topic_id }}</strong> - <strong>{{ entry.tag }}</strong><br>
|
||||
Type : <strong>{{ entry.content_type }}</strong><br>
|
||||
Language : <strong>{{ entry.language }}</strong><br>
|
||||
Statut : <strong>{{ entry.status }}</strong><br>
|
||||
{% endif %}
|
||||
|
||||
@@ -12,6 +12,18 @@
|
||||
<input class="form-control" name="title" type="text" value="{{entry.title}}" required>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label required-field" for="content_type">Content type</label>
|
||||
<select class="form-control" id="content_type" name="content_type" value="{{ entry.content_type}}">
|
||||
<option value="text/html"
|
||||
{% if entry.content_type == "text/html" %} selected {% endif %}>text/html</option>
|
||||
<option value="text/x-rst"
|
||||
{% if entry.content_type == "text/x-rst" %} selected {% endif %}>text/x-rst</option>
|
||||
<option value="text/markdown"
|
||||
{% if entry.content_type == "text/markdown" %} selected {% endif %}>text/markdown</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label required-field" for="body">Corps du texte</label>
|
||||
<textarea class="form-control monospace-font" id="body" name="body" required rows="20" cols="35">
|
||||
@@ -19,6 +31,18 @@
|
||||
</textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label required-field" for="language">Langue</label>
|
||||
<select class="form-control" id="language" name="language" value="{{ entry.language}}">
|
||||
<option value="en"
|
||||
{% if entry.language == "en" %} selected {% endif %}>english</option>
|
||||
<option value="fr"
|
||||
{% if entry.language == "fr" %} selected {% endif %}>français</option>
|
||||
<option value="vi"
|
||||
{% if entry.language == "vi" %} selected {% endif %}>vietnamien</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label required-field" for="tag">Tag</label>
|
||||
<select class="form-control" id="tag" name="tag" value="{{ entry.tag }}">
|
||||
|
||||
@@ -9,19 +9,16 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- Container (ACTIVITES Section) -->
|
||||
<!-- Container (BIO Section) -->
|
||||
<div class="col-lg-4">
|
||||
<div class="card overflow-hidden hover-img">
|
||||
<div class="position-relative">
|
||||
<img src="{{request.static_url('tcs_site:static/img/home/home_bio.jpg')}}" class="card-img-top">
|
||||
</div>
|
||||
<!-- Activites - colonne 1 -->
|
||||
<!-- COL 1 Biography -->
|
||||
<div class="card-body text-center p-3">
|
||||
<h4>2e dimanche du mois</h4>
|
||||
<h4>Tiểu sử</h4>
|
||||
|
||||
{% if request.authenticated_userid %}
|
||||
<p class="text-left fs-2"> <a href="{{ request.route_url('blog', id=32, slug='slug') }}">[Modifier ce bloc]</a></p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -30,12 +27,9 @@
|
||||
<div class="position-relative">
|
||||
<img src="{{request.static_url('tcs_site:static/img/home/home_songs.jpg')}}" class="card-img-top border border-dark" alt="matdash-img">
|
||||
</div>
|
||||
<!-- Activites - colonne 2 -->
|
||||
<!-- COL 2 Music -->
|
||||
<div class="card-body text-center p-3">
|
||||
<h4>4e dimanche du mois</h4>
|
||||
{% if request.authenticated_userid %}
|
||||
<p class="text-left fs-2"> <a href="{{ request.route_url('blog', id=40, slug='slug') }}">[Modifier ce bloc]</a></p>
|
||||
{% endif %}
|
||||
<h4><a href="/blog/934/bai-hat">Bài hát</a></h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,12 +38,9 @@
|
||||
<div class="position-relative">
|
||||
<img src="{{request.static_url('tcs_site:static/img/home/home_art.jpg')}}" class="card-img-top" alt="matdash-img">
|
||||
</div>
|
||||
<!-- Activites - colonne 3 -->
|
||||
<!-- COL 3 ART -->
|
||||
<div class="card-body text-center p-3">
|
||||
<h4>4e dimanche du mois</h4>
|
||||
{% if request.authenticated_userid %}
|
||||
<p class="text-left fs-2"> <a href="{{ request.route_url('blog', id=207, slug='slug') }}">[Modifier ce bloc]</a></p>
|
||||
{% endif %}
|
||||
<h4>Tranh vẽ</h4>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -68,10 +59,6 @@
|
||||
<div class="card-body text-center p-3">
|
||||
<h4>4e dimanche du mois</h4>
|
||||
|
||||
{% if request.authenticated_userid %}
|
||||
<p class="text-left fs-2"> <a href="{{ request.route_url('blog', id=207, slug='slug') }}">[Modifier ce bloc]</a></p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -83,9 +70,6 @@
|
||||
<!-- Activites - colonne 3 -->
|
||||
<div class="card-body text-center p-3">
|
||||
<h4>4e dimanche du mois</h4>
|
||||
{% if request.authenticated_userid %}
|
||||
<p class="text-left fs-2"> <a href="{{ request.route_url('blog', id=207, slug='slug') }}">[Modifier ce bloc]</a></p>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Association de méditation Sunyata Paris, Hội Thiền Tánh Không Paris">
|
||||
<meta name="keywords" content="méditation paris sunyata formation pratique zen Thien Tanh Khong Paris France">
|
||||
<meta name="description" content="Site de référence sur Trinh Cong Son. Actualité, biographie, chansons, paroles.">
|
||||
<meta name="keywords" content=" Amis Friends Trinh Cong Son songs albums art biography">
|
||||
<meta name="author" content="Cao Thien Phuoc">
|
||||
<title>{{page_title}}</title>
|
||||
<link rel="shortcut icon" href="{{request.static_url('tcs_site:static/zazen.png')}}">
|
||||
@@ -76,6 +76,16 @@
|
||||
<span class="hide-menu">Articles</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('topic', topic='enseignement') }}" aria-expanded="false">
|
||||
<span class="hide-menu">About</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('topic', topic='english') }}" aria-expanded="false">
|
||||
<span class="hide-menu">Topic</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-small-cap">
|
||||
<span class="hide-menu text-danger">En FRANCAIS</span>
|
||||
</li>
|
||||
@@ -89,28 +99,58 @@
|
||||
<span class="hide-menu">Articles</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('topic', topic='enseignement') }}" aria-expanded="false">
|
||||
<span class="hide-menu">A propos</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('topic', topic='francais') }}" aria-expanded="false">
|
||||
<span class="hide-menu">Rubriques</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-small-cap">
|
||||
<iconify-icon icon="solar:menu-dots-linear" class="nav-small-cap-icon fs-6" class="fs-6"></iconify-icon>
|
||||
<span class="hide-menu text-danger">A PROPOS</span>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('topic', topic='apropos') }}" aria-expanded="false">
|
||||
<span><i class="ti ti-users fs-6"></i></span>
|
||||
<span class="hide-menu">Qui sommes nous</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('blog', id=1, slug='mentions-legales') }}" aria-expanded="false">
|
||||
<span><i class="ti ti-file-text fs-6"></i></span>
|
||||
<span class="hide-menu">Mentions légales</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('contact') }}" aria-expanded="false">
|
||||
<span><i class="ti ti-mail fs-6"></i></span>
|
||||
<span class="hide-menu">Contact</span>
|
||||
</a>
|
||||
</li>
|
||||
{% if request.authenticated_userid %}
|
||||
<li class="nav-small-cap">
|
||||
<span class="hide-menu text-danger">{{ request.authenticated_userid }}</span>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
{% if request.authenticated_userid == 'admin' %}
|
||||
<a class="sidebar-link" href="{{request.route_url('users')}}">
|
||||
<i class="ti ti-users fs-6"></i></a>
|
||||
{% else %}
|
||||
<a class="sidebar-link" href="{{request.route_url('user_edit', name=request.authenticated_userid)}}">
|
||||
<i class="ti ti-key fs-6"></i> Modifier le mdp</a>
|
||||
{% endif %}
|
||||
<a class="sidebar-link" href="{{request.route_url('settings')}}">
|
||||
<i class="ti ti-settings fs-6"></i> Paramètres</a>
|
||||
<a class="sidebar-link" href="{{request.route_url('logout')}}">
|
||||
<i class="ti ti-logout fs-6"></i> Se déconnecter</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="sidebar-item">
|
||||
<a class="sidebar-link" href="{{ request.route_url('login') }}" aria-expanded="false">
|
||||
<span class="hide-menu"><i class="ti ti-login fs-7"></i></span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- End Sidebar navigation -->
|
||||
@@ -138,35 +178,16 @@
|
||||
<div class="navbar-collapse justify-content-end px-0" id="navbarNav">
|
||||
<ul class="navbar-nav flex-row ms-auto align-items-center justify-content-end">
|
||||
<li>
|
||||
<a class="nav-link" href="{{ request.route_url('blog_search') }}" title="Recherche">
|
||||
<i class="ti ti-search fs-7"></i></a>
|
||||
</li>
|
||||
{% if request.authenticated_userid %}
|
||||
<li class="nav-item dropdown">
|
||||
<a class="btn btn-light dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
{{ request.authenticated_userid }}
|
||||
</a>
|
||||
<form id="search-form" class="form-horizontal" role="form" action="/blog_search" method="post">
|
||||
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
{% if request.authenticated_userid == 'admin' %}
|
||||
<li><a class="dropdown-item" href="{{request.route_url('users')}}">
|
||||
<i class="ti ti-users fs-6"></i> Utilisateurs</a></li>
|
||||
{% else %}
|
||||
<li><a class="dropdown-item" href="{{request.route_url('user_edit', name=request.authenticated_userid)}}">
|
||||
<i class="ti ti-key fs-6"></i> Modifier le mot de passe</a></li>
|
||||
{% endif %}
|
||||
<li><a class="dropdown-item" href="{{request.route_url('settings')}}">
|
||||
<i class="ti ti-settings fs-6"></i> Paramètres</a></li>
|
||||
<li><a class="dropdown-item" href="{{request.route_url('logout')}}">
|
||||
<i class="ti ti-logout fs-6"></i> Se déconnecter</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
<a class="nav-link" href="{{request.route_url('login')}}">
|
||||
<i class="ti ti-login fs-7"></i></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<div class="mb-3">
|
||||
<div class="input-group mb-3">
|
||||
<input type="text" class="form-control" name="criteria">
|
||||
<button class="btn btn-primary" type="submit" name="form.submitted">Rechercher</button>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -202,7 +223,7 @@
|
||||
|
||||
<!-- Footer -->
|
||||
<div class="py-6 px-6 text-center">
|
||||
<p class="mb-0 fs-4">© 2022-2024 - Méditation SUNYATA Paris - Hội Thiền Tánh Không Paris</p>
|
||||
<p class="mb-0 fs-4">© Copyright 2004-2006 by TCS-Association Culturelle</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -228,7 +249,7 @@
|
||||
data-text-align="left"
|
||||
data-close-text="J'ai compris!"
|
||||
data-linkmsg = "Mentions légales"
|
||||
data-moreinfo = "https://meditation-sunyata.paris/blog/1/mentions-legales"
|
||||
data-moreinfo = "/blog/1/mentions-legales"
|
||||
data-message="Les cookies que nous utilisons sont nécessaires au bon fonctionnement du site. En continuant la visite, vous déclarez accepter leur utilisation.">
|
||||
</script>
|
||||
</body>
|
||||
|
||||
@@ -19,10 +19,12 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label required-field" for="topic_language">Language</label>
|
||||
<select class="form-control" id="language" name="topic_language" value="{{ entry.topic_language }}">
|
||||
<option value="en"
|
||||
{% if entry.topic_language == "en" %} selected {% endif %}>en</option>
|
||||
<option value="fr"
|
||||
{% if entry.topic_language == "fr" %} selected {% endif %}>fr</option>
|
||||
<option value="vn"
|
||||
{% if entry.topic_language == "vn" %} selected {% endif %}>vn</option>
|
||||
{% if entry.topic_language == "vi" %} selected {% endif %}>vi</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user