summaryrefslogtreecommitdiffstats
path: root/client/components/rules/actions/cardActions.jade
blob: 8d218a49d6c44501f73b1ebba04a0c97e42a627c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
template(name="cardActions")
  div.trigger-item
    div.trigger-content
      div.trigger-dropdown
        select(id="label-action")
          option(value="add") Add
          option(value="remove") Remove
      div.trigger-text 
        | label
      div.trigger-dropdown
        select(id="label-id")
          each labels
            option(value="#{_id}")
              = name
    div.trigger-button.js-add-label-action.js-goto-rules
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-dropdown
        select(id="member-action")
          option(value="add") Add
          option(value="remove") Removed
      div.trigger-text 
        | member
      div.trigger-dropdown
        input(id="member-name",type=text,placeholder="Member name")  
    div.trigger-button.js-add-member-action.js-goto-rules
      i.fa.fa-plus

  div.trigger-item
    div.trigger-content
      div.trigger-text 
        | Remove all member from the card 
    div.trigger-button.js-add-removeall-action.js-goto-rules
      i.fa.fa-plus