redesigned buttons and activités

This commit is contained in:
2022-05-07 11:34:06 +02:00
parent 72133e4ca4
commit f4923785fd
8 changed files with 18 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -48,6 +48,7 @@ h5 {
.bg-1 {
background: #df4937;
color: #bdbdbd;
padding: 15px;
}
.bg-1 h5 {color: #fff;}
.bg-1 p {font-style: italic;}
@@ -60,7 +61,6 @@ h5 {
border-bottom-left-radius: 0;
}
.thumbnail {
padding: 0 0 15px 0;
border: none;
border-radius: 0;
}

View File

@@ -4,10 +4,12 @@
{% if request.authenticated_userid %}
<p>
<a href="{{ request.route_url('topic', topic=entry.topic_id) }}">[ Retour ]</a>
<a href="{{ request.route_url('blog_edit', topic=entry.topic_id, id=entry.id) }}">[ Modifier ]</a>
<a href="{{ request.route_url('topic', topic=entry.topic_id) }}" class="btn btn-default" role="button">
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
<a href="{{ request.route_url('blog_edit', topic=entry.topic_id, id=entry.id) }}" class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-pencil"></span> Modifier</a>
</p>
{% endif %}
<hr/>

View File

@@ -100,12 +100,9 @@
<br>
<br>
<div id="tour" class="bg-1">
<br>
<h5 class="text-center">NOS ACTIVITES</h5>
<div class="row text-center">
<div class="col-sm-1">
</div>
<div class="col-sm-3">
<div class="col-sm-4">
<div class="thumbnail">
<img src="{{ request.static_url('cao_blogr:static/logo-zoom.jpg') }}" alt="Zoom">
<p><strong>Dans la semaine</strong></p>
@@ -127,7 +124,7 @@
</p>
</div>
</div>
<div class="col-sm-3">
<div class="col-sm-4">
<div class="thumbnail">
<img src="{{ request.static_url('cao_blogr:static/logo-zoom.jpg') }}" alt="Zoom">
<p><strong>3ème dimanche du mois</strong></p>
@@ -138,11 +135,8 @@
</p>
</div>
</div>
<div class="col-sm-1">
</div>
</div>
<br>
</div>
<!-- Container (POSTS Section) -->
<div id="posts">

View File

@@ -5,23 +5,25 @@
<div class="row text-center">
{% if request.authenticated_userid %}
<div class="col-sm-3">
<a href=" {{request.route_url('users')}} "><span class="glyphicon glyphicon-user icone-big"></span></a>
<a href=" {{request.route_url('users')}} "><span class="glyphicon glyphicon-user icone-big"></span>
<h4>UTILISATEURS</h4>
</a>
</div>
{% endif %}
<div class="col-sm-3">
<a href=" {{request.route_url('users')}} "><span class="glyphicon glyphicon-user icone-big"></span></a>
<a href=" {{request.route_url('users')}} "><span class="glyphicon glyphicon-user icone-big"></span>
<h4>TOPICS / TAGS</h4>
</a>
</div>
</div>
<div class="row">
<h2>Pages Paramètres</h2>
<h2>Pages internes</h2>
{% if request.authenticated_userid %}
<p>
<a href="{{ request.route_url('blog_edit', topic=topic, id='0') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouvelle page</a>
<span class="glyphicon glyphicon-plus"></span> Nouveau</a>
</p>
{% endif%}

View File

@@ -4,7 +4,7 @@
{% if request.authenticated_userid %}
<p><a href="{{ request.route_url('blog_edit', topic=topic, id='0') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouvelle page</a>
<span class="glyphicon glyphicon-plus"></span> Nouveau</a>
</p>
{% endif%}

View File

@@ -2,7 +2,7 @@
{% block content %}
<p>
<a href="{{ request.route_url('home' ) }}" class="btn btn-default" role="button">
<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('user_add', name='new') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouvel utilisateur</a>