Style empty lists
This commit is contained in:
@@ -148,3 +148,9 @@
|
||||
font:
|
||||
size: 2em
|
||||
weight: 100
|
||||
|
||||
#item-view-feed
|
||||
padding: 10px
|
||||
color: $color-text-dark-primary
|
||||
pre
|
||||
margin: 15px auto
|
||||
|
@@ -1,4 +1,4 @@
|
||||
.attract-form
|
||||
.attract-form.shot
|
||||
form#shot_form(onsubmit="return shot_save('{{shot._id}}', '{{ url_for('attract.shots.perproject.save', project_url=project['url'], shot_id=shot._id) }}')")
|
||||
input(type='hidden',name='_etag',value='{{ shot._etag }}')
|
||||
.input-transparent-group
|
||||
@@ -40,10 +40,11 @@
|
||||
| {% if 'PUT' in shot.allowed_methods %}
|
||||
button.btn.btn-default.btn-block(type=submit)
|
||||
i.pi-check
|
||||
| Save Changes
|
||||
| Save Shot
|
||||
| {% endif %}
|
||||
#task-view-feed
|
||||
| Updated {{ shot._updated | pretty_date }}
|
||||
|
||||
#item-view-feed
|
||||
| Shot updated {{ shot._updated | pretty_date }}
|
||||
pre.
|
||||
{{ shot.to_dict() | pprint }}
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
.attract-form
|
||||
.attract-form.task(
|
||||
class="status-{{ task.properties.status }}")
|
||||
form#task_form(onsubmit="return task_save('{{task._id}}', '{{ url_for('attract.tasks.perproject.save', project_url=project['url'], task_id=task._id) }}')")
|
||||
input(type='hidden',name='_etag',value='{{ task._etag }}')
|
||||
.input-transparent-group
|
||||
@@ -66,19 +67,21 @@
|
||||
| <option value="{{ u._id }}" {% if u._id in task.properties.assigned_to['users'] %}selected{% endif %}>{{ u.full_name }}</option>
|
||||
| {% endfor %}
|
||||
|
||||
.input-transparent-group
|
||||
|
||||
| {% if 'PUT' in task.allowed_methods %}
|
||||
button.btn.btn-default(type='submit')
|
||||
.input-group-separator
|
||||
|
||||
.input-transparent-group
|
||||
button.btn.btn-default.btn-block(type='submit')
|
||||
i.pi-check
|
||||
| Save Changes
|
||||
| Save Task
|
||||
| {% endif %}
|
||||
|
||||
|
||||
#task-view-feed
|
||||
| Updated {{ task._updated | pretty_date }}
|
||||
ul
|
||||
each _, i in Array(5)
|
||||
li=i
|
||||
#item-view-feed
|
||||
| Task updated {{ task._updated | pretty_date }}
|
||||
pre.
|
||||
{{ task.to_dict() | pprint }}
|
||||
|
||||
|
||||
script.
|
||||
|
Reference in New Issue
Block a user