Browse Source

ui: basic styles for check list

pull/98/head
Jack Pearkes 11 years ago
parent
commit
03138104b9
  1. 11
      ui/index.html
  2. 11
      ui/styles/_lists.scss

11
ui/index.html

@ -101,10 +101,13 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
{{#each check in node.Checks }} <ul class="list-unstyled list-broken">
<h4>{{ check.Name }} <small>{{ check.CheckID }}</small> <span class="pull-right"><small>{{check.Status}}</small></h4> {{#each check in node.Checks }}
<hr> <li>
{{/each}} <h4>{{ check.Name }} <small>{{ check.CheckID }}</small> <span class="pull-right"><small>{{check.Status}}</small></h4>
</li>
{{/each}}
</ul>
</div> </div>
</div> </div>

11
ui/styles/_lists.scss

@ -36,3 +36,14 @@
border-top-left-radius: 0px; border-top-left-radius: 0px;
} }
} }
ul.list-broken {
li {
border-bottom: 2px $gray-background solid;
}
li:last-child {
border-width: 0px;
}
}

Loading…
Cancel
Save