Commit ed46bdc2 authored by nazarf's avatar nazarf

add red line if miners down

parent 94740c66
......@@ -4,18 +4,24 @@ html
body.admin-body
padding-top: 70px
height: 100%
.yield-container
overflow-y: auto
height: 100%
.yield-column
padding: 0 10px 20px 90px
&.pinned
.yield-column
padding: 0 10px 20px 300px
#links_panel
left: 0
.handle
display: none
.pin
color: #347bb7
......@@ -24,6 +30,7 @@ body.admin-body
bottom: 0
right: 25px
color: #b2b2b8
p
margin: 0
......@@ -37,9 +44,11 @@ body.admin-body
left: -250px
height: calc(100% - 85px)
z-index: 2
div
height: 100%
overflow-y: auto
ul li
a
padding: 2px 15px
......@@ -48,14 +57,17 @@ body.admin-body
margin-left: 0
margin-right: -5px
border-left: #808080 outset 5px
.handle
position: absolute
top: calc(50% - 12px)
left: 265px
color: darkgrey
&:hover
color: #347bb7
cursor: pointer
.pin
position: absolute
top: 5px
......@@ -63,12 +75,14 @@ body.admin-body
color: darkgrey
font-size: 18px
height: 26px
&:hover
color: #347bb7
cursor: pointer
.page-header
margin: 0 0 5px
h1
margin-top: 0
margin-bottom: 0
......@@ -77,3 +91,7 @@ body.admin-body
.form-horizontal .form-group
margin-left: 0
margin-right: 0
.table-error
background-color: #f5c6cb !important
......@@ -18,7 +18,8 @@
%i.fa.fa-close
%tbody
- @miners.each do |miner|
%tr
- failed = miner.status != 'work'
%tr{:class => ("table-error" if failed)}
%td= link_to miner.name, miner_path(miner)
%td= miner.status
%td= miner.ip_address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment