wekan/client/components/cards/labels.jade
Maxime Quandalle c894567987 Work on the card activities and comments
This commit also introduces a new CSSEvents object that is used to
abstract vendor specifics events related to CSS transitions and
animations.

Fixes #183.
Fixes #179.
2015-06-12 17:48:15 +02:00

27 lines
772 B
Text

template(name="formLabel")
.colors
label(for="labelName") {{_ 'name'}}
input.js-label-name#labelName(type="text" name="name" value=name autofocus)
label {{_ "select-color"}}
each labels
span.card-label.card-label--selectable.palette-color.js-palette-color(class="card-label-{{color}}")
if($eq color ../color)
i.fa.fa-check
template(name="createLabelPopup")
form.create-label
with(color=defaultColor)
+formLabel
button.primary.wide(type="submit") {{_ 'create'}}
template(name="editLabelPopup")
form.edit-label
+formLabel
button.primary.wide.left(type="submit") {{_ 'save'}}
span.right
template(name="deleteLabelPopup")
p {{_ "label-delete-pop"}}
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}