Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bsa_miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nazarf
bsa_miner
Commits
ed46bdc2
Commit
ed46bdc2
authored
Mar 16, 2023
by
nazarf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add red line if miners down
parent
94740c66
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
bootstrap_and_overrides.sass
app/assets/stylesheets/admin/bootstrap_and_overrides.sass
+18
-0
index.html.haml
app/views/miners/index.html.haml
+2
-1
No files found.
app/assets/stylesheets/admin/bootstrap_and_overrides.sass
View file @
ed46bdc2
...
...
@@ -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
app/views/miners/index.html.haml
View file @
ed46bdc2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment