2016-09-22 15:29:18 +02:00
|
|
|
.attract-form
|
2016-09-23 14:06:11 +02:00
|
|
|
span.shot_id(title="Shot ID") {{ shot._id }}
|
2016-09-22 15:29:18 +02:00
|
|
|
form#shot_form(onsubmit="return shot_save('{{shot._id}}', '{{ url_for('attract.shots.perproject.save', project_url=project['url'], shot_id=shot._id) }}')")
|
2016-09-22 18:28:11 +02:00
|
|
|
input(type='hidden',name='_etag',value='{{ shot._etag }}')
|
2016-09-22 15:29:18 +02:00
|
|
|
.input-transparent-group
|
2016-09-22 21:27:31 +02:00
|
|
|
input.input-transparent.item-name(
|
2016-09-22 15:29:18 +02:00
|
|
|
name="name",
|
2016-09-23 16:24:30 +02:00
|
|
|
type="text",
|
2016-09-22 15:29:18 +02:00
|
|
|
placeholder='Name',
|
|
|
|
value="{{ shot.name | hide_none }}")
|
2016-09-23 18:07:11 +02:00
|
|
|
input.copy-to-clipboard.btn.item-id(
|
|
|
|
name="Copy to Clipboard",
|
|
|
|
type="text",
|
|
|
|
title="{{ shot._id }}",
|
|
|
|
value="{{ shot._id }}")
|
|
|
|
.copy-to-clipboard-icon
|
|
|
|
i.pi-clipboard-copy
|
2016-09-22 15:29:18 +02:00
|
|
|
|
|
|
|
.input-transparent-group
|
|
|
|
textarea.input-transparent(
|
|
|
|
name="description",
|
2016-09-23 16:24:30 +02:00
|
|
|
type="text",
|
2016-09-22 15:29:18 +02:00
|
|
|
placeholder='Description') {{ shot.description | hide_none }}
|
|
|
|
|
|
|
|
.input-transparent-group
|
|
|
|
label(for="shot-status") Status:
|
|
|
|
select.input-transparent#shot-status(
|
|
|
|
name="status")
|
|
|
|
| {% for status in shot_node_type.dyn_schema.status.allowed %}
|
|
|
|
| <option value="{{ status }}" {% if status == shot.properties.status %}selected{% endif %}>{{ status | undertitle }}</option>
|
|
|
|
| {% endfor %}
|
|
|
|
|
|
|
|
.input-transparent-group
|
|
|
|
textarea.input-transparent(
|
|
|
|
name="notes",
|
2016-09-23 16:24:30 +02:00
|
|
|
type="text",
|
2016-09-22 15:29:18 +02:00
|
|
|
placeholder='Notes') {{ shot.properties.notes | hide_none }}
|
|
|
|
|
|
|
|
.input-group-separator
|
|
|
|
|
|
|
|
.input-transparent-group
|
2016-09-22 18:28:11 +02:00
|
|
|
| {% if 'PUT' in shot.allowed_methods %}
|
2016-09-23 18:07:20 +02:00
|
|
|
button.btn.btn-default.btn-block(type=submit)
|
|
|
|
i.pi-check
|
|
|
|
| Save Changes
|
2016-09-22 18:28:11 +02:00
|
|
|
| {% endif %}
|
2016-09-23 17:44:37 +02:00
|
|
|
#task-view-feed
|
|
|
|
| Updated {{ shot._updated | pretty_date }}
|
|
|
|
pre.
|
|
|
|
{{ shot.to_dict() | pprint }}
|