Style empty lists
This commit is contained in:
@@ -137,7 +137,7 @@
|
|||||||
display: flex
|
display: flex
|
||||||
flex-direction: column
|
flex-direction: column
|
||||||
|
|
||||||
.item-details-empty
|
.item-details-empty
|
||||||
display: flex
|
display: flex
|
||||||
align-items: center
|
align-items: center
|
||||||
justify-content: center
|
justify-content: center
|
||||||
@@ -148,3 +148,9 @@
|
|||||||
font:
|
font:
|
||||||
size: 2em
|
size: 2em
|
||||||
weight: 100
|
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) }}')")
|
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(type='hidden',name='_etag',value='{{ shot._etag }}')
|
||||||
.input-transparent-group
|
.input-transparent-group
|
||||||
@@ -40,10 +40,11 @@
|
|||||||
| {% if 'PUT' in shot.allowed_methods %}
|
| {% if 'PUT' in shot.allowed_methods %}
|
||||||
button.btn.btn-default.btn-block(type=submit)
|
button.btn.btn-default.btn-block(type=submit)
|
||||||
i.pi-check
|
i.pi-check
|
||||||
| Save Changes
|
| Save Shot
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
#task-view-feed
|
|
||||||
| Updated {{ shot._updated | pretty_date }}
|
#item-view-feed
|
||||||
|
| Shot updated {{ shot._updated | pretty_date }}
|
||||||
pre.
|
pre.
|
||||||
{{ shot.to_dict() | pprint }}
|
{{ 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) }}')")
|
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(type='hidden',name='_etag',value='{{ task._etag }}')
|
||||||
.input-transparent-group
|
.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>
|
| <option value="{{ u._id }}" {% if u._id in task.properties.assigned_to['users'] %}selected{% endif %}>{{ u.full_name }}</option>
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
|
|
||||||
.input-transparent-group
|
|
||||||
| {% if 'PUT' in task.allowed_methods %}
|
| {% 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
|
i.pi-check
|
||||||
| Save Changes
|
| Save Task
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
|
|
||||||
#task-view-feed
|
#item-view-feed
|
||||||
| Updated {{ task._updated | pretty_date }}
|
| Task updated {{ task._updated | pretty_date }}
|
||||||
ul
|
pre.
|
||||||
each _, i in Array(5)
|
{{ task.to_dict() | pprint }}
|
||||||
li=i
|
|
||||||
|
|
||||||
|
|
||||||
script.
|
script.
|
||||||
|
Reference in New Issue
Block a user