Tidy up navigation code

- use SASS variables for colours and spacing
- make navigation an include not a macro (because it doesn’t take any
  parameters)
This commit is contained in:
Chris Hill-Scott
2015-12-17 10:28:15 +00:00
parent ab190cb585
commit 6bdc0d3fce
4 changed files with 27 additions and 36 deletions

View File

@@ -1,5 +1,4 @@
{% macro main_nav() %}
<nav id="navigation">
<nav class="navigation">
<h3><a href="{{ url_for('.dashboard') }}">Service name</a></h3>
<ul>
<li><a href="{{ url_for('.sendsms') }}">Send text messages</a></li>
@@ -16,5 +15,4 @@
<ul>
<li><a href="/user-profile">Your details</a></li>
</ul>
</nav>
{% endmacro %}
</nav>