Files
notifications-admin/app/templates/admin_template.html
T

95 lines
2.9 KiB
HTML
Raw Normal View History

{% 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 %}
{% block page_title %}
2015-12-15 08:20:25 +00:00
GOV.UK Notify admin
{% endblock %}
{% block cookie_message %}
{% endblock %}
2015-12-15 08:20:25 +00:00
{% block inside_header %}
{% endblock %}
{% 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>
</div>
</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.choose_service') %}
{% endif %}
2015-12-15 08:20:25 +00:00
{% block content %}
2016-01-11 16:01:39 +00:00
{% if current_user.is_authenticated() %}
2016-01-11 16:20:32 +00:00
<nav class="management-navigation">
<div class="grid-row">
<div class="column-half">
<details class="dropdown">
<summary class="dropdown-toggle">
Service name
</summary>
<a href="#">Switch to A N Other service</a>
2016-01-18 10:47:53 +00:00
<a href="{{ url_for('.add_service') }}">Add a new service to GOV.UK Notify</a>
</details>
2016-01-11 16:20:32 +00:00
</div>
<div class="column-half management-navigation-account">
<a href="{{ url_for('main.user_profile') }}">{{ current_user.name }}</a>
2016-01-11 16:20:32 +00:00
<a href="{{ url_for('main.sign_out')}}">Sign out</a>
</div>
2016-01-11 15:53:50 +00:00
</div>
2016-01-11 16:01:39 +00:00
</nav>
{% endif %}
2016-01-11 15:53:50 +00:00
2016-01-11 16:01:39 +00:00
<main id="content" role="main" class="page-container">
2016-01-14 09:44:06 +00:00
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<ul class="banner-dangerous">
{% for category, message in messages %}
<li class="flash-message">
{{ message }}
{% if 'delete' == category %}
<form method='post'>
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="submit" class="button" name="delete" value="Yes, delete this template" />
</form>
{% endif %}
</li>
{% endfor %}
2016-01-11 16:01:39 +00:00
</ul>
2016-01-14 09:44:06 +00:00
{% endif %}
2016-01-11 16:01:39 +00:00
{% endwith %}
{% block fullwidth_content %}{% endblock %}
</main>
2015-12-15 08:20:25 +00:00
{% endblock %}
{% block body_end %}
<script type="text/javascript" src="{{ asset_path }}javascripts/all.js" /></script>
2015-12-15 08:20:25 +00:00
{% endblock %}