Logo
Explore Help
Sign In
darkhelm/notifications-admin
1
0
Fork 0
You've already forked notifications-admin
mirror of https://github.com/GSA/notifications-admin.git synced 2026-07-25 18:38:57 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
ce81a6f5404569994de6b1ccec34a84dc1baf49a
notifications-admin/app/templates/components/banner.html

6 lines
189 B
HTML
Raw Normal View History

Add restricted mode warning For the hack day, we should only let developers use the platform in restricted mode. This commit adds a banner telling them this. Can’t get the app running locally, so fingers crossed it actually looks how I imagine it’s going to look…
2016-01-22 10:57:49 +00:00
{% macro banner(body, type=None, with_tick=False) %}
<div class='banner{% if type %}-{{ type }}{% endif %}{% if with_tick %}-with-tick{% endif %}'>
Replace `message_status` component with `banner` Message status was almost identical to banner, visually and semantically. This consolidates the two into one component. This means adding an extra parameter which controls whether or not the banner has a tick (with and without a tick are the only two variations currently).
2016-01-11 11:27:42 +00:00
{{ body }}
</div>
Add a banner ✔
2015-12-17 14:05:35 +00:00
{% endmacro %}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 1056ms Template: 53ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API