Started working on shots UI & management
This commit is contained in:
30
src/templates/attract/shots/for_project.jade
Normal file
30
src/templates/attract/shots/for_project.jade
Normal 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 %}
|
23
src/templates/attract/shots/index.jade
Normal file
23
src/templates/attract/shots/index.jade
Normal 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 %}
|
16
src/templates/attract/shots/shot.jade
Normal file
16
src/templates/attract/shots/shot.jade
Normal 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 %}
|
Reference in New Issue
Block a user