Add message on unread page about v2

This commit is contained in:
Nicolas Lœuillet 2016-03-24 14:28:22 +01:00
parent f744ca2799
commit 4ea9cf5c60
2 changed files with 29 additions and 1 deletions

View file

@ -1,3 +1,20 @@
.messages {
display: block;
clear: both;
width: 400px;
margin: 10px auto 10px;
padding: 10px 0;
-moz-border-radius: 4px;
border-radius: 4px;
}
.messages p {
margin: 3px 0 3px 10px !important;
padding: 0 10px 0 23px !important;
font-size: 14px;
line-height: 16px;
}
.messages.error.install {
border: 1px solid #c42608;
color: #c00 !important;
@ -16,4 +33,10 @@
border: 1px solid #6dc70c;
background: #e0fbcc !important;
text-align: left;
}
.messages.information,
.messages.info {
border: 1px solid #82aee7;
background: #dfebfb;
}

View file

@ -1 +1,6 @@
{{ messages | raw }}
{{ messages | raw }}
{% if view == 'home' %}
<div class="messages information">
<p><a href="http://doc.wallabag.org">wallabag v2 is out, please read the documentation to upgrade.</a></p>
</div>
{% endif %}