mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
Various tweaks
- remove black border from banner - make banners have internal columns - make nav 2/3rd width, 19px text and more spaced out - only show the ‘restricted mode’ banner where it’s needed - rename ‘restricted mode’ to ‘trial mode’
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
{% macro banner(body, type=None, with_tick=False, delete_button=None) %}
|
||||
{% macro banner(body, type=None, with_tick=False, delete_button=None, subhead=None) %}
|
||||
<div class='banner{% if type %}-{{ type }}{% endif %}{% if with_tick %}-with-tick{% endif %}'>
|
||||
{% if subhead %}
|
||||
<div class="grid-row">
|
||||
<div class="column-one-third">
|
||||
{{ subhead }}
|
||||
</div>
|
||||
<div class="column-two-thirds">
|
||||
{% endif %}
|
||||
|
||||
{{ body }}
|
||||
|
||||
{% if subhead %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if delete_button %}
|
||||
<form method='post'>
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
|
||||
Reference in New Issue
Block a user