From 336f15e8baeaba0c1605985cdd7f05980cf80696 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 9 Nov 2020 12:46:24 +0100 Subject: Vintage theme: display global messages --- assets/vintage/css/shaarli.css | 10 ++++++++++ tpl/vintage/page.header.html | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/assets/vintage/css/shaarli.css b/assets/vintage/css/shaarli.css index 5b02ab5b..33e178af 100644 --- a/assets/vintage/css/shaarli.css +++ b/assets/vintage/css/shaarli.css @@ -1122,6 +1122,16 @@ ul.errors { float: left; } +ul.warnings { + color: orange; + float: left; +} + +ul.successes { + color: green; + float: left; +} + #pluginsadmin { width: 80%; padding: 20px 0 0 20px; diff --git a/tpl/vintage/page.header.html b/tpl/vintage/page.header.html index 0a33523b..64d7f656 100644 --- a/tpl/vintage/page.header.html +++ b/tpl/vintage/page.header.html @@ -54,6 +54,30 @@ {/if} +{if="!empty($global_errors)"} + +{/if} + +{if="!empty($global_warnings)"} + +{/if} + +{if="!empty($global_successes)"} + +{/if} +
-- cgit v1.2.3