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-10 03:14:58 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
892ea01fad87ac08087c61eaccb1baae2dbe2bb3
notifications-admin/app/templates/fullwidth_template.html

9 lines
243 B
HTML
Raw Normal View History

Make a full width base template We need this because the top section of the new product page will be going full-bleed.
2016-11-22 17:15:31 +00:00
{% extends "admin_template.html" %}
Update content area blocks in descendent pages GOV.UK Frontend's template wraps all content in a `<main>` tag and puts it in the main column. Some of Notify's pages need to reach out of the main column (product page). Some have several blocks of navigation before the main content area. This adjusts the blocks in all the templates where this is the case so those conditions can be met.
2019-10-11 16:44:17 +01:00
{% block main %}
{% block beforeContent %}{% endblock %}
<main class="govuk-main-wrapper {{ mainClasses }}" id="main-content" role="main">
{% block content %}{% endblock %}
Make a full width base template We need this because the top section of the new product page will be going full-bleed.
2016-11-22 17:15:31 +00:00
</main>
{% endblock %}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 2051ms Template: 61ms
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