Use unordered lists for nav sidebar instead of definition lists

This commit is contained in:
2016-10-13 19:22:04 +02:00
parent 5a5851775e
commit 123804ac99

View File

@@ -24,20 +24,20 @@ html(lang="en")
#app-main #app-main
#col_sidebar #col_sidebar
nav.sidebar(role="navigation") nav.sidebar(role="navigation")
dl ul
dd li
a(href="{{ url_for('attract.index') }}", a(href="{{ url_for('attract.index') }}",
title='Attract') title='Attract')
i.pi-film-thick i.pi-film-thick
| {% if project %} | {% if project %}
dd li
a(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}", a(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}",
title='Tasks for project {{ project.name }}') T title='Tasks for project {{ project.name }}') T
dd li
a(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}", a(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}",
title='Shots for project {{ project.name }}') S title='Shots for project {{ project.name }}') S
| {% else %} | {% else %}
dd li
a(href="{{ url_for('attract.tasks.index') }}", a(href="{{ url_for('attract.tasks.index') }}",
title='Your tasks') T title='Your tasks') T
| {% endif %} | {% endif %}