summaryrefslogtreecommitdiffstats
path: root/client/components/rules/rules.jade
blob: 6b49b5a764bf9a34bb0a1ffc70b2fb51a8b7a94a (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
template(name="rules")
  .rules
    h2
      i.fa.fa-cutlery
      | Project rules

    ul.rules-lists
      each rules
        li.rules-lists-item
          p 
            = title
          div.rules-btns-group
            button
              i.fa.fa-eye
              | View rule
            button.js-delete-rule
              i.fa.fa-trash-o
              | Delete rule
      else
        li.no-items-message No rules
    div.rules-add
      button.js-add-rule
        i.fa.fa-plus
        | Add rule
      input(type=text,placeholder="New rule name",id="ruleTitle")