Removed /attract/shots, and added tooltips to sidebar buttons.

Also made the Attract button a film strip instead of "A". I like that
film strip.
This commit is contained in:
2016-10-12 10:33:09 +02:00
parent 4bba35f473
commit 25a666d8d4
3 changed files with 13 additions and 14 deletions

View File

@@ -28,12 +28,21 @@ html(lang="en")
nav.sidebar(role="navigation")
dl
dd
a(href="{{ url_for('attract.index') }}") A
a(href="{{ url_for('attract.index') }}",
title='Attract')
i.pi-film-thick
| {% if project %}
dd
a(href="{% if project %}{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}{% else %}{{ url_for('attract.tasks.index') }}{% endif %}") T
a(href="{{ url_for('attract.tasks.perproject.index', project_url=project.url) }}",
title='Tasks for project {{ project.name }}') T
dd
a(href="{% if project %}{{ url_for('attract.shots.perproject.index', project_url=project.url) }}{% else %}{{ url_for('attract.shots.index') }}{% endif %}") S
a(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}",
title='Shots for project {{ project.name }}') S
| {% else %}
dd
a(href="{{ url_for('attract.tasks.index') }}",
title='Your tasks') T
| {% endif %}
| {% block body %}
#col_left
#col_main
@@ -45,4 +54,3 @@ html(lang="en")
script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.select2.min.js') }}", async=true)
| {% block footer_scripts %}{% endblock %}