Beautified
parent
560dc8a9a5
commit
9eac461700
|
@ -5,9 +5,9 @@ function updateScale(chart, min, unit) {
|
||||||
chart.update(0);
|
chart.update(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
$('input[name=timeframe_short]').change(function() {
|
$('input[name=timeframe_short]').change(function () {
|
||||||
updateScale(historyShort, parseInt($('input[name=timeframe_short]:checked').val()), $('input[name=timeframe_short]:checked')[0].id);
|
updateScale(historyShort, parseInt($('input[name=timeframe_short]:checked').val()), $('input[name=timeframe_short]:checked')[0].id);
|
||||||
});
|
});
|
||||||
$('input[name=timeframe_long]').change(function() {
|
$('input[name=timeframe_long]').change(function () {
|
||||||
updateScale(historyLong, parseInt($('input[name=timeframe_long]:checked').val()), $('input[name=timeframe_long]:checked')[0].id);
|
updateScale(historyLong, parseInt($('input[name=timeframe_long]:checked').val()), $('input[name=timeframe_long]:checked')[0].id);
|
||||||
});
|
});
|
|
@ -32,8 +32,7 @@ $().ready(function () {
|
||||||
var $origin = $(this).data('modal-origin');
|
var $origin = $(this).data('modal-origin');
|
||||||
if ($origin.is('a')) {
|
if ($origin.is('a')) {
|
||||||
window.location = $origin.attr('href');
|
window.location = $origin.attr('href');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$origin.next('input[type=hidden]').attr('value', 1);
|
$origin.next('input[type=hidden]').attr('value', 1);
|
||||||
$origin.closest('form').submit();
|
$origin.closest('form').submit();
|
||||||
}
|
}
|
||||||
|
@ -129,8 +128,7 @@ function psm_saveLayout(layout) {
|
||||||
$("#flow-layout").hide();
|
$("#flow-layout").hide();
|
||||||
$("#block-layout").removeClass('active');
|
$("#block-layout").removeClass('active');
|
||||||
$("#table-layout").addClass('active');
|
$("#table-layout").addClass('active');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$("#list-layout").hide();
|
$("#list-layout").hide();
|
||||||
$("#flow-layout").show();
|
$("#flow-layout").show();
|
||||||
$("#block-layout").addClass('active');
|
$("#block-layout").addClass('active');
|
||||||
|
|
|
@ -6,21 +6,18 @@ $(".search_input").keyup(function () {
|
||||||
col2 = this.cells[1].innerText.toLowerCase().indexOf(searchTerm);
|
col2 = this.cells[1].innerText.toLowerCase().indexOf(searchTerm);
|
||||||
if (col1 >= 0) {
|
if (col1 >= 0) {
|
||||||
$(this).attr('visible', 'true');
|
$(this).attr('visible', 'true');
|
||||||
}
|
} else if (col2 >= 0) {
|
||||||
else if (col2 >= 0) {
|
|
||||||
$(this).attr('visible', 'true');
|
$(this).attr('visible', 'true');
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$(this).attr('visible', 'false');
|
$(this).attr('visible', 'false');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var jobCount = $('table tbody tr[visible="true"]').length;
|
var jobCount = $('table tbody tr[visible="true"]').length;
|
||||||
if($(".search_input").is(":placeholder-shown")){
|
if ($(".search_input").is(":placeholder-shown")) {
|
||||||
$('.search_icon i').show();
|
$('.search_icon i').show();
|
||||||
$('.search_icon p').hide();
|
$('.search_icon p').hide();
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
$('.search_icon i').hide();
|
$('.search_icon i').hide();
|
||||||
$('.search_icon p').show();
|
$('.search_icon p').show();
|
||||||
|
|
||||||
|
@ -29,8 +26,7 @@ $(".search_input").keyup(function () {
|
||||||
|
|
||||||
if (jobCount == '0') {
|
if (jobCount == '0') {
|
||||||
$('.no-result').show();
|
$('.no-result').show();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$('.no-result').hide();
|
$('.no-result').hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
|
@ -1,7 +1,5 @@
|
||||||
$theme-colors: (
|
$theme-colors: ("primary": #006AE0,
|
||||||
"primary": #006AE0,
|
"success": #20883A);
|
||||||
"success": #20883A
|
|
||||||
);
|
|
||||||
@import "../plugin/bootstrap/scss/_functions";
|
@import "../plugin/bootstrap/scss/_functions";
|
||||||
@import "../plugin/bootstrap/scss/functions";
|
@import "../plugin/bootstrap/scss/functions";
|
||||||
@import "../plugin/bootstrap/scss/variables";
|
@import "../plugin/bootstrap/scss/variables";
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
.search_input{
|
.search_input {
|
||||||
color: white;
|
color: white;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
background: none;
|
background: none;
|
||||||
max-width: 386px;
|
max-width: 386px;
|
||||||
width: 0;
|
width: 0;
|
||||||
caret-color:transparent;
|
caret-color: transparent;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
transition: width 0.4s linear;
|
transition: width 0.4s linear;
|
||||||
|
|
||||||
&:not(:placeholder-shown) {
|
&:not(:placeholder-shown) {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
caret-color:red;
|
caret-color: red;
|
||||||
transition: width 0.4s linear;
|
transition: width 0.4s linear;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,23 +24,25 @@
|
||||||
background-color: #353b48;
|
background-color: #353b48;
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
> .search_icon{
|
>.search_icon {
|
||||||
background: white;
|
background: white;
|
||||||
color: #e74c3c;
|
color: #e74c3c;
|
||||||
}
|
}
|
||||||
> .search_input{
|
|
||||||
|
>.search_input {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
caret-color:red;
|
caret-color: red;
|
||||||
transition: width 0.4s linear;
|
transition: width 0.4s linear;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search_icon{
|
.search_icon {
|
||||||
height: 44px;
|
height: 44px;
|
||||||
width: 44px;
|
width: 44px;
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -47,7 +50,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
color:white;
|
color: white;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
height: 0.6em;
|
height: 0.6em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -2,11 +2,14 @@ html {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
html[dir='rtl'] {
|
html[dir='rtl'] {
|
||||||
|
|
||||||
#auto_refresh_servers,
|
#auto_refresh_servers,
|
||||||
#log_retention_period {
|
#log_retention_period {
|
||||||
border-left-width: 0px
|
border-left-width: 0px
|
||||||
}
|
}
|
||||||
|
|
||||||
#auto_refresh_servers_input,
|
#auto_refresh_servers_input,
|
||||||
#log_retention_period_input {
|
#log_retention_period_input {
|
||||||
border-top-left-radius: .25rem;
|
border-top-left-radius: .25rem;
|
||||||
|
@ -15,10 +18,12 @@ html[dir='rtl'] {
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding-top: 4.5rem;
|
padding-top: 4.5rem;
|
||||||
margin-bottom: 80px;
|
margin-bottom: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -27,34 +32,44 @@ body {
|
||||||
line-height: 60px;
|
line-height: 60px;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-dark .navbar-nav .nav-link {
|
.navbar-dark .navbar-nav .nav-link {
|
||||||
color: rgba(255,255,255,.64);
|
color: rgba(255, 255, 255, .64);
|
||||||
|
|
||||||
&:focus,
|
&:focus,
|
||||||
&:hover {
|
&:hover {
|
||||||
color: rgba(255,255,255,.85);
|
color: rgba(255, 255, 255, .85);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dl, dt, dd{
|
|
||||||
|
dl,
|
||||||
|
dt,
|
||||||
|
dd {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer .text-muted {
|
footer .text-muted {
|
||||||
color: #4C5557!important;
|
color: #4C5557 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
button,
|
button,
|
||||||
.nav-link {
|
.nav-link {
|
||||||
min-height: 44px!important;
|
min-height: 44px !important;
|
||||||
min-width: 44px!important;
|
min-width: 44px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.icon {
|
a.icon {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#auto_refresh_servers,
|
#auto_refresh_servers,
|
||||||
#log_retention_period {
|
#log_retention_period {
|
||||||
border-right-width: 0px
|
border-right-width: 0px
|
||||||
}
|
}
|
||||||
|
|
||||||
#auto_refresh_servers_input,
|
#auto_refresh_servers_input,
|
||||||
#log_retention_period_input {
|
#log_retention_period_input {
|
||||||
border-top-right-radius: .25rem;
|
border-top-right-radius: .25rem;
|
||||||
|
@ -62,33 +77,40 @@ a.icon {
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.form-signin input[type="text"],
|
form.form-signin input[type="text"],
|
||||||
form.form-reset input[type="text"] {
|
form.form-reset input[type="text"] {
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.form-signin input[type="password"] {
|
form.form-signin input[type="password"] {
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.form-reset {
|
form.form-reset {
|
||||||
input#input-password {
|
input#input-password {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input#input-password-repeat {
|
input#input-password-repeat {
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
form.form-signin,
|
form.form-signin,
|
||||||
form.form-forgot,
|
form.form-forgot,
|
||||||
form.form-reset {
|
form.form-reset {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tr[visible='false'],
|
table tr[visible='false'],
|
||||||
.no-result{
|
.no-result {
|
||||||
display:none;
|
display: none;
|
||||||
}
|
}
|
||||||
table tr[visible='true']{
|
|
||||||
display:table-row;
|
table tr[visible='true'] {
|
||||||
|
display: table-row;
|
||||||
}
|
}
|
Loading…
Reference in New Issue