Pavel Loginov 2021-10-20 17:08:17 +06:00
parent 939bdbf3bc
commit a4b4a33e5f
4 changed files with 14 additions and 12 deletions

View File

@ -384,7 +384,7 @@
<td> <td>
<span class="add-button-wi"> <span class="add-button-wi">
<span title="Show more log" id="show-all-haproxy-wi-log" style="color: #fff"> <span title="Show more log" id="show-all-haproxy-wi-log" style="color: #fff">
Show more log Show more
</span> </span>
</span> </span>
</td> </td>

View File

@ -281,14 +281,14 @@ $( function() {
$( "#show-all-haproxy-wi-log" ).click( function() { $( "#show-all-haproxy-wi-log" ).click( function() {
$( ".show-haproxy-wi-log" ).show("fast"); $( ".show-haproxy-wi-log" ).show("fast");
$( "#show-all-haproxy-wi-log" ).text("Show less log"); $( "#show-all-haproxy-wi-log" ).text("Show less");
$( "#show-all-haproxy-wi-log" ).attr("title", "Show less log"); $( "#show-all-haproxy-wi-log" ).attr("title", "Show less");
$( "#show-all-haproxy-wi-log" ).attr("id", "hide-all-haproxy-wi-log"); $( "#show-all-haproxy-wi-log" ).attr("id", "hide-all-haproxy-wi-log");
$( "#hide-all-haproxy-wi-log" ).click( function() { $( "#hide-all-haproxy-wi-log" ).click( function() {
$( ".show-haproxy-wi-log" ).hide("fast"); $( ".show-haproxy-wi-log" ).hide("fast");
$( "#hide-all-haproxy-wi-log" ).attr("title", "Show more log"); $( "#hide-all-haproxy-wi-log" ).attr("title", "Show more");
$( "#hide-all-haproxy-wi-log" ).text("Show more log"); $( "#hide-all-haproxy-wi-log" ).text("Show more");
$( "#hide-all-haproxy-wi-log" ).attr("id", "show-all-haproxy-wi-log"); $( "#hide-all-haproxy-wi-log" ).attr("id", "show-all-haproxy-wi-log");
}); });
}); });

View File

@ -24,10 +24,11 @@ h2 {
font-size: 1.5em; font-size: 1.5em;
background: var(--blue-color); background: var(--blue-color);
border: 1px solid var(--blue-color); border: 1px solid var(--blue-color);
padding: 3px 3px 3px 2%; padding: 2px 3px 3px 10px;
color: #fff; color: #fff;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
height: 27px;
} }
h3 { h3 {
margin-top: -0; margin-top: -0;
@ -38,7 +39,7 @@ h3 {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
ul#browse_histroy { ul#browse_histroy {
padding-left: 10px; padding-left: 12px;
display: block; display: block;
margin-top: 1px; margin-top: 1px;
list-style: none; list-style: none;

View File

@ -11,3 +11,4 @@ slack-sdk>=3.4.0
peewee>=3.14.4 peewee>=3.14.4
PyMySQL>=1.0.2 PyMySQL>=1.0.2
distro>=1.2.0 distro>=1.2.0
bottle>=0.12.18