Color status option

This commit is contained in:
2017-05-10 16:53:51 +02:00
parent 19f35e6713
commit 2a88d9c309
2 changed files with 4 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ nav.sidebar
margin-bottom: 10px
width: 100%
option
@include status-color-property(color, '', 'dark')
button
&#item-save
+button($color-success, 3px)

View File

@@ -70,7 +70,7 @@
name="status",
aria-describedby="task-status-label")
| {% for status in task_node_type.dyn_schema.status.allowed %}
| <option value="{{ status }}" {% if status == task.properties.status %}selected{% endif %}>{{ status | undertitle }}</option>
| <option class="status-{{ status }}" value="{{ status }}" {% if status == task.properties.status %}selected{% endif %}>{{ status | undertitle }}</option>
| {% endfor %}
.input-group-separator