Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
bigdata-static
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
2018-01-08 16:56:20 +0800
Commit
129df1f20c6a5eab5646e2e7a1134f580c4a0eb1
1 parent
0b56ebe5
style
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
14 deletions
src/hbs/top-srv.hbs
src/scss/redis-live.scss
src/hbs/top-srv.hbs
View file @
129df1f
{{#
each
.
}}
<table
class=
"pure-table pure-table-horizontal srvc"
data-index=
{{
@index
}}
>
<tbody
>
<tr><td>
ip
</td><td>
{{
ip
}}
</td></tr>
<tr><td>
port
</td><td>
{{
port
}}
</td></tr>
<tr><td>
usedMemoryPercent
</td><td>
{{
usedMemoryPercent
}}
</td></tr>
<tr><td>
memFragmentationRatio
</td><td>
{{
memFragmentationRatio
}}
</td></tr>
<tr><td>
connectedClients
</td><td>
{{
connectedClients
}}
</td></tr>
<tr><td>
maxMemory
</td><td>
{{
maxMemory
}}
</td></tr>
<tr><td>
cpuIdle
</td><td>
{{
cpuIdle
}}
</td></tr>
<tr><td>
redisCpu
</td><td>
{{
redisCpu
}}
</td></tr>
<tr><td>
netWrite
</td><td>
{{
netWrite
}}
</td></tr>
<tr><td>
netRead
</td><td>
{{
netRead
}}
</td></tr>
<tr>
<td
title=
"ip"
>
ip
</td>
<td
title=
"
{{
ip
}}
"
>
{{
ip
}}
</td>
</tr>
<tr>
<td
title=
"port"
>
port
</td>
<td
title=
"
{{
port
}}
"
>
{{
port
}}
</td>
</tr>
<tr>
<td
title=
"usedMemoryPercent"
>
usedMemoryPercent
</td>
<td
title=
"
{{
usedMemoryPercent
}}
"
>
{{
usedMemoryPercent
}}
</td>
</tr>
<tr>
<td
title=
"memFragmentationRatio"
>
memFragmentationRatio
</td>
<td
title=
"
{{
memFragmentationRatio
}}
"
>
{{
memFragmentationRatio
}}
</td>
</tr>
<tr>
<td
title=
"connectedClients"
>
connectedClients
</td>
<td
title=
"
{{
connectedClients
}}
"
>
{{
connectedClients
}}
</td>
</tr>
<tr>
<td
title=
"maxMemory"
>
maxMemory
</td>
<td
title=
"
{{
maxMemory
}}
"
>
{{
maxMemory
}}
</td>
</tr>
<tr>
<td
title=
"cpuIdle"
>
cpuIdle
</td>
<td
title=
"
{{
cpuIdle
}}
"
>
{{
cpuIdle
}}
</td>
</tr>
<tr>
<td
title=
"redisCpu"
>
redisCpu
</td>
<td
title=
"
{{
redisCpu
}}
"
>
{{
redisCpu
}}
</td>
</tr>
<tr>
<td
title=
"netWrite"
>
netWrite
</td>
<td
title=
"
{{
netWrite
}}
"
>
{{
netWrite
}}
</td>
</tr>
<tr>
<td
title=
"netRead"
>
netRead
</td>
<td
title=
"
{{
netRead
}}
"
>
{{
netRead
}}
</td>
</tr>
</tbody>
</table>
{{/
each
}}
\ No newline at end of file
{{/
each
}}
...
...
src/scss/redis-live.scss
View file @
129df1f
...
...
@@ -21,17 +21,24 @@ section {
.srv-list-box
{
height
:
820px
;
margin
-top
:
8
0px
;
margin
:
80px
2
0px
;
.srvc
{
float
:
left
;
margin-left
:
20px
;
margin-right
:
20px
;
margin
:
20px
;
background-color
:
#1da9fc
;
color
:
#fff
;
cursor
:
pointer
;
box-shadow
:
0
0
1px
1px
#0986ce
;
border
:
none
;
overflow
:
hidden
;
table-layout
:
fixed
;
width
:
23
.65%
;
}
.srvc
>
tbody
>
tr
>
td
{
overflow
:
hidden
;
width
:
50%
;
}
}
...
...
Please
register
or
login
to post a comment