forked from DGNum/gestioCOF
Add an announcement banner
This commit is contained in:
parent
0815c96c1c
commit
ea21b07657
11 changed files with 116 additions and 6 deletions
|
@ -18,6 +18,17 @@ input[type=number]::-webkit-outer-spin-button {
|
|||
100% { background: yellow; }
|
||||
}
|
||||
|
||||
/* Announcements banner */
|
||||
|
||||
#banner {
|
||||
background-color: #d86b01;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
color: white;
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
/*
|
||||
* Top row
|
||||
*/
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
{% if config.gestion_banner %}
|
||||
<div id="banner" class="container">
|
||||
<span class="glyphicon glyphicon-bullhorn"></span>
|
||||
<span>{{ config.gestion_banner }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if messages %}
|
||||
<div class="row messages">
|
||||
{% for message in messages %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue