changed home page

This commit is contained in:
2026-07-07 17:45:03 +02:00
parent 60bd499c62
commit 222310b6e2
23 changed files with 74 additions and 47 deletions
+3 -3
View File
@@ -16,9 +16,6 @@
{% endif %}
<p>
<strong>{{ entry.author }}</strong> - Publié le <strong>{{ entry.create_date }}</strong><br>
</p>
<hr/>
{{ body_html | safe }}
<br><br>
@@ -33,6 +30,9 @@
</ul>
{% endif %}
<hr/>
<p>
<strong>{{ entry.author }}</strong> - Publié le <strong>{{ entry.create_date }}</strong><br>
</p>
<p>
{% if request.authenticated_userid %}
+6 -3
View File
@@ -24,11 +24,14 @@
</select>
</div>
<div class="mb-3">
<label class="form-label required-field" for="description">Description</label>
<textarea class="form-control monospace-font" id="description" name="description" rows="2" cols="35">{{ entry.description }}</textarea>
</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">
{{ entry.body }}
</textarea>
<textarea class="form-control monospace-font" id="body" name="body" required rows="20" cols="35">{{ entry.body }}</textarea>
</div>
<div class="mb-3">
+44 -4
View File
@@ -3,7 +3,7 @@
{% block content %}
<div class="row mb-3">
<p class="text-center"><b>Hội văn hoá Trịnh Công Sơn</b>, <br>hội tụ bạn bè của nhạc sĩ Trịnh Công Sơn từ khắp nơi trên thế giới,<br>
<p class="text-center"><b>Hội văn hoá Trịnh Công Sơn</b>, hội tụ bạn bè của nhạc sĩ Trịnh Công Sơn từ khắp nơi trên thế giới,<br>
xây dựng trạm web này với mong muốn trở thành một thư viện toàn diện và nghiêm túc về Trịnh Công Sơn.
</p>
</div>
@@ -32,8 +32,8 @@
<!-- COL 2 Music -->
<div class="card-body text-center p-3">
<h5><a href="/blog/934/bai-hat">Bài hát</a></h5>
<h5><a href="/blog/211/tap-nhac">Tập nhạc</a></h5>
<h5><a href="/blog/672/cd-va-k7">CD và K7</a></h5>
<h5><a href="/section/english/songs-en">Songs</a></h5>
<h5><a href="/section/francais/songs-fr">Chansons</a></h5>
</div>
</div>
</div>
@@ -49,9 +49,49 @@
</div>
</div>
</div>
</div>
<div class="row">
<!-- Container (ALBUMS 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_albums.jpg')}}" class="card-img-top">
</div>
<!-- COL 1 Biography -->
<div class="card-body text-center p-3">
<h5><a href="/blog/211/tap-nhac">Tập nhạc</a></h5>
<h5><a href="/blog/211/tap-nhac">Albums</a></h5>
<h5><a href="/blog/211/tap-nhac">Recueils</a></h5>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card overflow-hidden hover-img">
<div class="position-relative">
<img src="https://media.tcs-home.org/songs/TCSVTH-01.jpg" class="card-img-top border border-dark" alt="matdash-img">
</div>
<!-- COL 2 Music -->
<div class="card-body text-center p-3">
<h5><a href="/blog/232/nhac-soan-cho-ghita">Nhạc soạn cho ghita</a></h5>
<h5><a href="/blog/232/nhac-soan-cho-ghita">Guitar arrangements</a></h5>
<h5><a href="/blog/232/nhac-soan-cho-ghita">Arrangements pour guitare</a></h5>
</div>
</div>
</div>
<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_art.jpg')}}" class="card-img-top" alt="matdash-img">
</div>
<!-- COL 3 ART -->
<div class="card-body text-center p-3">
<h5>Tranh vẽ</h5>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
+3 -8
View File
@@ -8,7 +8,7 @@
<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')}}">
<link rel="shortcut icon" href="{{request.static_url('tcs_site:static/favicon.ico')}}">
<link rel="stylesheet" href="{{request.static_url('tcs_site:static/css/styles.min.css')}}" />
<script src="{{request.static_url('tcs_site:static/js/jquery.min.js')}}"></script>
<script src="{{request.static_url('tcs_site:static/js/bootstrap.bundle.min.js')}}"></script>
@@ -78,7 +78,7 @@
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ request.route_url('topic', topic='life-music') }}" aria-expanded="false">
<span class="hide-menu">Life and music</span>
<span class="hide-menu">The artist</span>
</a>
</li>
<li class="sidebar-item">
@@ -86,11 +86,6 @@
<span class="hide-menu">Songs</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ request.route_url('section', topic='english', tag='articles') }}" aria-expanded="false">
<span class="hide-menu">Articles</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="/blog/170/about-tcs-association-culturelle" aria-expanded="false">
<span class="hide-menu">About</span>
@@ -106,7 +101,7 @@
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="{{ request.route_url('topic', topic='vie-musique') }}" aria-expanded="false">
<span class="hide-menu">Vie et musique</span>
<span class="hide-menu">L'artiste</span>
</a>
</li>
<li class="sidebar-item">
-1
View File
@@ -45,7 +45,6 @@
<div class="pt-4">
<h4>Versions des packages</h4>
<ul>
<li>tcs_site {{ app_version }}</li>
<li>Pyramid {{ pyramid_version }}</li>
<li>Markdown {{ markdown_version }}</li>
<li>SQLAlchemy {{ sqlalchemy_version }}</li>
+1 -3
View File
@@ -30,9 +30,7 @@
<div class="mb-3">
<label class="form-label required-field" for="topic_quote">Citation</label>
<textarea class="form-control monospace-font" id="topic_quote" name="topic_quote" required rows="10" cols="35">
{{ entry.topic_quote }}
</textarea>
<textarea class="form-control monospace-font" id="topic_quote" name="topic_quote" required rows="10" cols="35">{{ entry.topic_quote }}</textarea>
</div>
<div class="mb-3">