mirror of https://github.com/status-im/consul.git
ui: add checks for sessions and a double line list
This commit is contained in:
parent
9c07ea5adc
commit
3efe6201b5
|
@ -498,12 +498,17 @@
|
||||||
{{errorMessage}}
|
{{errorMessage}}
|
||||||
|
|
||||||
{{#each session in sessions }}
|
{{#each session in sessions }}
|
||||||
<div class="list-group-item list-condensed">
|
<div class="list-group-item list-condensed double-line">
|
||||||
<div class="bg-light-gray list-bar-horizontal"></div>
|
<div class="bg-light-gray list-bar-horizontal"></div>
|
||||||
<div class="name">
|
<div class="name">
|
||||||
{{session.ID}}
|
{{session.ID}}
|
||||||
<button {{ action "invalidateSession" session.ID }} {{ bind-attr class=":btn :btn-danger :pull-right :btn-list isLoading:btn-warning" }}>Invalidate</button>
|
<button {{ action "invalidateSession" session.ID }} {{ bind-attr class=":btn :btn-danger :pull-right :btn-list isLoading:btn-warning" }}>Invalidate</button>
|
||||||
</div>
|
</div>
|
||||||
|
<ul class="list-inline sub">
|
||||||
|
{{#each check in session.Checks}}
|
||||||
|
<li class="bold">{{check}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,11 @@
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
|
&.double-line {
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
|
@ -64,6 +69,16 @@
|
||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul.sub {
|
||||||
|
li {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
margin: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
color: $gray-light;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-bar-horizontal {
|
.list-bar-horizontal {
|
||||||
|
|
Loading…
Reference in New Issue