Merge pull request #1815 from wallabag/v1-prepare-v2

Add message on unread page about v2
This commit is contained in:
Jeremy Benoist 2016-03-28 10:52:41 +02:00
commit 0dd043c19b
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 %}