Style task read-only details
This commit is contained in:
@@ -195,12 +195,10 @@ input, input.form-control
|
|||||||
display: table
|
display: table
|
||||||
width: 100%
|
width: 100%
|
||||||
position: relative
|
position: relative
|
||||||
|
margin-bottom: initial // overrides BS
|
||||||
|
|
||||||
.table-row
|
.table-row
|
||||||
display: table-row
|
display: table-row
|
||||||
&:hover
|
|
||||||
background-color: $color-background-light
|
|
||||||
|
|
||||||
.table-head
|
.table-head
|
||||||
display: table-header-group
|
display: table-header-group
|
||||||
|
|
||||||
@@ -227,6 +225,9 @@ input, input.form-control
|
|||||||
border-bottom: none
|
border-bottom: none
|
||||||
cursor: e-resize
|
cursor: e-resize
|
||||||
|
|
||||||
|
.table.table-hover
|
||||||
|
.table-row:hover
|
||||||
|
background-color: $color-background-light
|
||||||
|
|
||||||
/* Generic Statuses */
|
/* Generic Statuses */
|
||||||
.processing
|
.processing
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
.table
|
.table#shot-list
|
||||||
&#shot-list
|
background-color: white
|
||||||
background-color: white
|
.table-row:hover
|
||||||
|
background-color: $color-background-light
|
||||||
|
|
||||||
.table-cell
|
.table-cell
|
||||||
&.shot-status
|
&.shot-status
|
||||||
width: 5px
|
width: 5px
|
||||||
|
@@ -9,6 +9,12 @@
|
|||||||
|
|
||||||
.item-name
|
.item-name
|
||||||
font-size: 1.6em
|
font-size: 1.6em
|
||||||
|
h2.item-name
|
||||||
|
padding-left: 5px
|
||||||
|
|
||||||
|
.item-description
|
||||||
|
padding: 10px 5px
|
||||||
|
color: $color-text-dark-primary
|
||||||
|
|
||||||
.dropdown button
|
.dropdown button
|
||||||
height: 38px
|
height: 38px
|
||||||
@@ -46,8 +52,31 @@
|
|||||||
left: -4px
|
left: -4px
|
||||||
font-size: .9em
|
font-size: .9em
|
||||||
|
|
||||||
.item-properties
|
.table.item-properties
|
||||||
padding: 1em
|
.table-body
|
||||||
|
text-shadow: 1px 1px 0 white
|
||||||
|
// background-color: darken(white, 2%)
|
||||||
|
|
||||||
|
.table-row
|
||||||
|
.table-cell
|
||||||
|
padding: 7px 10px
|
||||||
|
vertical-align: top
|
||||||
|
border: none
|
||||||
|
@include status-color-property(color, '', 'dark')
|
||||||
|
|
||||||
|
&:first-child
|
||||||
|
width: 100px
|
||||||
|
text-align: right
|
||||||
|
font-weight: bold
|
||||||
|
padding-right: 10px
|
||||||
|
border-right: thin solid $color-background-dark
|
||||||
|
color: $color-text-dark-primary
|
||||||
|
// background-color: darken(white, 3%)
|
||||||
|
|
||||||
|
&.properties-assignees
|
||||||
|
.table-cell span
|
||||||
|
display: block
|
||||||
|
|
||||||
|
|
||||||
#task-add
|
#task-add
|
||||||
margin-left: auto
|
margin-left: auto
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
placeholder='Name',
|
placeholder='Name',
|
||||||
value="{{ task.name | hide_none }}")
|
value="{{ task.name | hide_none }}")
|
||||||
| {% else %}
|
| {% else %}
|
||||||
h2 {{ task.name | hide_none }}
|
h2.item-name {{ task.name | hide_none }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
.dropdown(style='margin-left: auto')
|
.dropdown(style='margin-left: auto')
|
||||||
@@ -87,18 +87,33 @@
|
|||||||
| Save Task
|
| Save Task
|
||||||
| {% else %}
|
| {% else %}
|
||||||
//- NOTE: read-only versions of the fields above.
|
//- NOTE: read-only versions of the fields above.
|
||||||
p {{ task.description | hide_none }}
|
| {% if task.description %}
|
||||||
dl.dl-horizontal.item-properties
|
p.item-description {{ task.description | hide_none }}
|
||||||
dt Type:
|
| {% endif %}
|
||||||
dd {{ task.properties.task_type | undertitle }}
|
.table.item-properties
|
||||||
dt Status:
|
.table-body
|
||||||
dd {{ task.properties.status | undertitle }}
|
.table-row
|
||||||
dt Assignees:
|
.table-cell Task Type
|
||||||
| {% for u in task.properties.assigned_to['users'] %}
|
.table-cell {{ task.properties.task_type | undertitle }}
|
||||||
dd {{ u.full_name }}
|
.table-row
|
||||||
| {% else %}
|
.table-cell Status
|
||||||
dd not assigned
|
.table-cell(class="status-{{ task.properties.status }}")
|
||||||
| {% endfor %}
|
| {{ task.properties.status | undertitle }}
|
||||||
|
| {% if attract_context != 'shot' and task.parent %}
|
||||||
|
.table-row
|
||||||
|
.table-cell Shot
|
||||||
|
.table-cell
|
||||||
|
a(href="{{ url_for('attract.shots.perproject.with_task', project_url=project['url'], task_id=task['_id']) }}") {{ task._parent_info.name }}
|
||||||
|
| {% endif %}
|
||||||
|
.table-row.properties-assignees
|
||||||
|
.table-cell Assignees
|
||||||
|
.table-cell
|
||||||
|
| {% for u in task.properties.assigned_to['users'] %}
|
||||||
|
span(title="{{ u.username }}") {{ u.full_name }}
|
||||||
|
| {% else %}
|
||||||
|
span Not assigned yet
|
||||||
|
| {% endfor %}
|
||||||
|
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
#item-view-feed
|
#item-view-feed
|
||||||
|
Reference in New Issue
Block a user