mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Main thing that was missing was including the main CSS file in the template. There are a few hacky bits here, like moving the whole of toolkit inside the stylesheets directory. Would arguably be cleaner using something that isn’t Flask Assets, but that’s something for later.
35 lines
632 B
HTML
35 lines
632 B
HTML
{% extends "govuk_template.html" %}
|
|
|
|
{% block head %}
|
|
{% assets "css_all" %}
|
|
<link rel="stylesheet" href="{{ ASSET_URL }}" />
|
|
{% endassets %}
|
|
{% endblock %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK notifications admin
|
|
{% endblock %}
|
|
|
|
|
|
{% block cookie_message %}
|
|
{% endblock %}
|
|
|
|
|
|
{% block inside_header %}
|
|
<div class="phase-banner-beta">
|
|
|
|
<strong class="phase-tag">BETA</strong>
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
{% set global_header_text = "GOV.UK Notify" %}
|
|
|
|
|
|
{% if not current_user.is_authenticated() %}
|
|
{% set homepage_url = url_for('main.index') %}
|
|
{% else %}
|
|
{% set homepage_url = url_for('main.dashboard') %}
|
|
{% endif %}
|