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
Show 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
...
@@ -4,18 +4,24 @@ html
body
.admin-body
body
.admin-body
padding-top
:
70px
padding-top
:
70px
height
:
100%
height
:
100%
.yield-container
.yield-container
overflow-y
:
auto
overflow-y
:
auto
height
:
100%
height
:
100%
.yield-column
.yield-column
padding
:
0
10px
20px
90px
padding
:
0
10px
20px
90px
&
.pinned
&
.pinned
.yield-column
.yield-column
padding
:
0
10px
20px
300px
padding
:
0
10px
20px
300px
#links_panel
#links_panel
left
:
0
left
:
0
.handle
.handle
display
:
none
display
:
none
.pin
.pin
color
:
#347bb7
color
:
#347bb7
...
@@ -24,6 +30,7 @@ body.admin-body
...
@@ -24,6 +30,7 @@ body.admin-body
bottom
:
0
bottom
:
0
right
:
25px
right
:
25px
color
:
#b2b2b8
color
:
#b2b2b8
p
p
margin
:
0
margin
:
0
...
@@ -37,9 +44,11 @@ body.admin-body
...
@@ -37,9 +44,11 @@ body.admin-body
left
:
-250px
left
:
-250px
height
:
calc
(
100%
-
85px
)
height
:
calc
(
100%
-
85px
)
z-index
:
2
z-index
:
2
div
div
height
:
100%
height
:
100%
overflow-y
:
auto
overflow-y
:
auto
ul
li
ul
li
a
a
padding
:
2px
15px
padding
:
2px
15px
...
@@ -48,14 +57,17 @@ body.admin-body
...
@@ -48,14 +57,17 @@ body.admin-body
margin-left
:
0
margin-left
:
0
margin-right
:
-5px
margin-right
:
-5px
border-left
:
#808080
outset
5px
border-left
:
#808080
outset
5px
.handle
.handle
position
:
absolute
position
:
absolute
top
:
calc
(
50%
-
12px
)
top
:
calc
(
50%
-
12px
)
left
:
265px
left
:
265px
color
:
darkgrey
color
:
darkgrey
&
:hover
&
:hover
color
:
#347bb7
color
:
#347bb7
cursor
:
pointer
cursor
:
pointer
.pin
.pin
position
:
absolute
position
:
absolute
top
:
5px
top
:
5px
...
@@ -63,12 +75,14 @@ body.admin-body
...
@@ -63,12 +75,14 @@ body.admin-body
color
:
darkgrey
color
:
darkgrey
font-size
:
18px
font-size
:
18px
height
:
26px
height
:
26px
&
:hover
&
:hover
color
:
#347bb7
color
:
#347bb7
cursor
:
pointer
cursor
:
pointer
.page-header
.page-header
margin
:
0
0
5px
margin
:
0
0
5px
h1
h1
margin-top
:
0
margin-top
:
0
margin-bottom
:
0
margin-bottom
:
0
...
@@ -77,3 +91,7 @@ body.admin-body
...
@@ -77,3 +91,7 @@ body.admin-body
.form-horizontal
.form-group
.form-horizontal
.form-group
margin-left
:
0
margin-left
:
0
margin-right
:
0
margin-right
:
0
.table-error
background-color
:
#f5c6cb
!
important
app/views/miners/index.html.haml
View file @
ed46bdc2
...
@@ -18,7 +18,8 @@
...
@@ -18,7 +18,8 @@
%i
.fa.fa-close
%i
.fa.fa-close
%tbody
%tbody
-
@miners
.
each
do
|
miner
|
-
@miners
.
each
do
|
miner
|
%tr
-
failed
=
miner
.
status
!=
'work'
%tr
{
:class
=>
(
"table-error"
if
failed
)}
%td
=
link_to
miner
.
name
,
miner_path
(
miner
)
%td
=
link_to
miner
.
name
,
miner_path
(
miner
)
%td
=
miner
.
status
%td
=
miner
.
status
%td
=
miner
.
ip_address
%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