views/index.slim in server_status-0.1.0 vs views/index.slim in server_status-0.1.1
- old
+ new
@@ -1,34 +1,7 @@
-table.table.table-striped
+table.table.table-striped.server
thead
- th.span1.center Name
- th.span8.center Description
+ th.span2.center Name
+ th.span6.center Description
th.span2.center Connection
th.span2.center API Status
tbody
- - for status in @server_status do
- - if status.code.eql? 200
- tr.success
- td.center = status.name
- td = status.description
- td.center
- - if status.is_open?
- i.icon-ok
- - else
- i.icon-remove
- td.center
- i.icon-ok
- = ' '
- span.label.label-success = status.code
- - else
- tr.error
- td.center = status.name
- td = status.description
- td.center
- - if status.is_open?
- i.icon-ok
- - else
- i.icon-remove
- td.center
- i.icon-remove
- = ' '
- span.label.label-important = status.code