From fdab81e910f65babd1945e67c74b8bb541bcbfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 19 Aug 2015 16:00:15 +0200 Subject: warning bar: add parameter to dis/enable it --- src/Wallabag/CoreBundle/Resources/views/base.html.twig | 6 +++++- .../CoreBundle/Resources/views/themes/material/public/css/main.css | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src/Wallabag') diff --git a/src/Wallabag/CoreBundle/Resources/views/base.html.twig b/src/Wallabag/CoreBundle/Resources/views/base.html.twig index a6cba6ce..e27aceae 100644 --- a/src/Wallabag/CoreBundle/Resources/views/base.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/base.html.twig @@ -113,6 +113,10 @@

{% trans %}powered by{% endtrans %} wallabag

{% endblock %} -
You're trying wallabag v2, which is in alpha version. If you find a bug, please have a look to our issues list and open a new if necessary.
+ {% if warning_message %} +
+ {{ warning_message | raw }} +
+ {% endif %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css index c812ed6f..52a2be80 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css @@ -26,7 +26,7 @@ body { background: #f0f0f0; } -#alphabar { +#warning_message { position: fixed; background-color: #ff6347; z-index: 1000; @@ -36,7 +36,7 @@ body { color: #000; } -#alphabar a { +#warning_message a { color: #555; } -- cgit v1.2.3