Started working on shots UI & management

This commit is contained in:
2016-09-21 11:07:20 +02:00
parent 486f947a90
commit 010cf23d67
9 changed files with 201 additions and 12 deletions

View File

@@ -0,0 +1,30 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Shots{% endblock %}
| {% block body %}
#page-container
#page-header
.page-title
| Shots for project {{ project.name }}
#page-content
.page-triplet-container.homepage
.row
.col-md-8
table
thead
tr
td Shot name
| {% for task_type in attract_props.task_types.attract_shot %}
td {{ task_type}}
| {% endfor %}
tbody
| {% for shot in shots %}
tr
td {{ shot.name }}
| {% for task_type in attract_props.task_types.attract_shot %}
td tasks of type {{ task_type }}
| {% endfor %}
| {% endfor %}
.col-md-4
.well Task details here
| {% endblock %}

View File

@@ -0,0 +1,23 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}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
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
| {% endblock %}

View File

@@ -0,0 +1,16 @@
| {% 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
| {% endblock %}