Merge pull request #86 from alphagov/use-html5-details-for-switcher

Use HTML5 details element for the service switcher
This commit is contained in:
NIcholas Staples
2016-01-19 12:09:42 +00:00
5 changed files with 209 additions and 56 deletions

View File

@@ -51,13 +51,13 @@
<nav class="management-navigation">
<div class="grid-row">
<div class="column-half">
<div class="dropdown" data-module="dropdown">
<div class="dropdown-toggle">
<details class="dropdown">
<summary class="dropdown-toggle">
Service name
</div>
</summary>
<a href="#">Switch to A N Other service</a>
<a href="{{ url_for('.add_service') }}">Add a new service to GOV.UK Notify</a>
</div>
</details>
</div>
<div class="column-half management-navigation-account">
<a href="{{ url_for('main.user_profile') }}">{{ current_user.name }}</a>