From: ArthurHoaro Date: Mon, 9 Nov 2020 11:46:24 +0000 (+0100) Subject: Vintage theme: display global messages X-Git-Tag: v0.12.1^2~3^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=336f15e8baeaba0c1605985cdd7f05980cf80696;p=github%2Fshaarli%2FShaarli.git Vintage theme: display global messages --- 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} +