Using new layout for shots

This commit is contained in:
2016-09-21 15:12:15 +02:00
parent cf87602a78
commit 4035d89ced
3 changed files with 34 additions and 59 deletions

View File

@@ -1,15 +1,8 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Shots{% endblock %}
| {% block page_title %}Shots for project {{ project.name }}{% endblock %}
| {% block body %}
#page-container
#page-header
.page-title
| Shots for project {{ project.name }}
#page-content
.page-triplet-container.homepage
.row
.col-md-8
#col_main
h1 Shots for <em>{{ project.name }}</em>
table
thead
tr
@@ -25,6 +18,6 @@
td tasks of type {{ task_type }}
| {% endfor %}
| {% endfor %}
.col-md-4
.well Task details here
#col_right
h1 Right
| {% endblock %}

View File

@@ -1,23 +1,13 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Shots{% endblock %}
| {% block page_title %}Attract - Shots{% endblock %}
| {% block body %}
#page-container
#page-header
.page-title
| Attract - Shots
#page-content
.page-triplet-container.homepage
.row
.col-md-4
h2 Attract projects
#col_main
h1 Attract projects
ul
| {% for project in projects %}
li
a(href="{{ url_for('attract.shots.perproject.index', project_url=project.url) }}") {{ project.name }}
| {% endfor %}
.col-md-4
h2 project 2
.col-md-4
h2 project 3
#col_right
h1 Right
| {% endblock %}

View File

@@ -1,16 +1,8 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Shot {{ shot.name }}{% endblock %}
| {% block body %}
#page-container
#page-header
.page-title
| Shot {{ shot.name }}
#page-content
.page-triplet-container.homepage
.row
.col-md-8
p this is a shot.
.col-md-4
.well Task details here
#col_main
h1 Shot {{ shot.name }}
#col_right
h1 Right
| {% endblock %}