From 0ba1d65b118cde727015c0ae25c62474d19ef264 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 28 Nov 2018 22:35:22 -0600 Subject: [PATCH] Use bulma-style notifications for bobcat theme instead of previous one, which was sort of pseudo-jquery i guess? --- tailbone/templates/themes/bobcat/base.mako | 32 ++++++++++------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/tailbone/templates/themes/bobcat/base.mako b/tailbone/templates/themes/bobcat/base.mako index fb2cd145..46f11038 100644 --- a/tailbone/templates/themes/bobcat/base.mako +++ b/tailbone/templates/themes/bobcat/base.mako @@ -78,14 +78,14 @@ % endif - ## Help + ## Help Button % if help_url is not Undefined and help_url:
${h.link_to("Help", help_url, target='_blank', class_='button')}
% endif - ## Feedback + ## Feedback Button
@@ -105,25 +105,21 @@
% if request.session.peek_flash('error'): -
- % for error in request.session.pop_flash('error'): -
- - ${error} -
- % endfor -
+ % for error in request.session.pop_flash('error'): +
+ + ${error|n} +
+ % endfor % endif % if request.session.peek_flash(): -
- % for msg in request.session.pop_flash(): -
- - ${msg|n} -
- % endfor -
+ % for msg in request.session.pop_flash(): +
+ + ${msg|n} +
+ % endfor % endif ${self.body()}