2016-01-06 11:37:59 +00:00
|
|
|
{%- from "components/form-field.html" import render_field %}
|
2015-11-25 16:21:28 +00:00
|
|
|
{% extends "govuk_template.html" %}
|
|
|
|
|
|
2015-12-10 15:57:32 +00:00
|
|
|
{% block head %}
|
2015-12-15 08:20:25 +00:00
|
|
|
<!--[if gt IE 8]><!-->
|
|
|
|
|
<link rel="stylesheet" media="screen" href="{{ asset_path }}stylesheets/main.css" />
|
|
|
|
|
<!--<![endif]-->
|
|
|
|
|
<!--[if IE 6]>
|
|
|
|
|
<link rel="stylesheet" media="screen" href="{{ asset_path }}/stylesheets/main-ie6.css" />
|
|
|
|
|
<![endif]-->
|
|
|
|
|
<!--[if IE 7]>
|
|
|
|
|
<link rel="stylesheet" media="screen" href="{{ asset_path }}/stylesheets/main-ie7.css" />
|
|
|
|
|
<![endif]-->
|
|
|
|
|
<!--[if IE 8]>
|
|
|
|
|
<link rel="stylesheet" media="screen" href="{{ asset_path }}/stylesheets/main-ie8.css" />
|
|
|
|
|
<![endif]-->
|
2015-12-10 15:57:32 +00:00
|
|
|
{% endblock %}
|
2015-12-07 16:18:05 +00:00
|
|
|
|
2015-11-25 16:21:28 +00:00
|
|
|
{% block page_title %}
|
2015-12-15 08:20:25 +00:00
|
|
|
GOV.UK Notify admin
|
2015-11-25 16:21:28 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block cookie_message %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2015-12-15 08:20:25 +00:00
|
|
|
{% block inside_header %}
|
|
|
|
|
{% endblock %}
|
2016-01-07 12:43:10 +00:00
|
|
|
{% block header_class %}with-proposition{% endblock %}
|
|
|
|
|
{% block proposition_header %}
|
|
|
|
|
<div class="header-proposition">
|
|
|
|
|
<div class='content'>
|
|
|
|
|
<div class="phase-banner-beta">
|
|
|
|
|
<strong class="phase-tag">BETA</strong>
|
|
|
|
|
</div>
|
|
|
|
|
{% if current_user.is_authenticated() %}
|
|
|
|
|
<nav id='proposition-menu'>
|
|
|
|
|
<p id='proposition-link'>
|
|
|
|
|
<a href="{{ url_for('main.sign_out')}}">Sign out</a>
|
|
|
|
|
</p>
|
|
|
|
|
</nav>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|
2015-12-07 16:18:05 +00:00
|
|
|
|
2016-01-07 17:13:49 +00:00
|
|
|
|
2015-11-25 16:21:28 +00:00
|
|
|
{% set global_header_text = "GOV.UK Notify" %}
|
|
|
|
|
|
2015-12-07 16:18:05 +00:00
|
|
|
|
|
|
|
|
{% if not current_user.is_authenticated() %}
|
|
|
|
|
{% set homepage_url = url_for('main.index') %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% set homepage_url = url_for('main.dashboard') %}
|
|
|
|
|
{% endif %}
|
2015-12-15 08:20:25 +00:00
|
|
|
|
|
|
|
|
{% block content %}
|
2016-01-07 17:13:49 +00:00
|
|
|
<main id="content" role="main" class="page-container">
|
|
|
|
|
{% with messages = get_flashed_messages() %}
|
|
|
|
|
{% if messages %}
|
|
|
|
|
<div class="error-summary">
|
|
|
|
|
<ul>
|
|
|
|
|
{% for message in messages %}
|
|
|
|
|
<li>{{ message }}</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endwith %}
|
2015-12-15 08:20:25 +00:00
|
|
|
{% block fullwidth_content %}{% endblock %}
|
2016-01-07 17:13:49 +00:00
|
|
|
</main>
|
2015-12-15 08:20:25 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block body_end %}
|
2015-12-20 00:00:01 +00:00
|
|
|
<script type="text/javascript" src="{{ asset_path }}javascripts/all.js" /></script>
|
2015-12-15 08:20:25 +00:00
|
|
|
{% endblock %}
|