mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2024-12-18 23:55:53 -05:00
Change auto refresh method
Theme slate little a more lighter
This commit is contained in:
parent
c384224e0a
commit
8e4aaf99de
@ -7,9 +7,6 @@ $update = $Config->checkUpdate();
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<?php if ($Config->get('esm:auto_refresh') > 0): ?>
|
||||
<meta http-equiv="refresh" content="<?php echo $Config->get('esm:auto_refresh'); ?>">
|
||||
<?php endif; ?>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<title>eZ Server Monitor - <?php echo Misc::getHostname(); ?></title>
|
||||
<link rel="stylesheet" href="web/css/utilities.css" type="text/css">
|
||||
@ -35,6 +32,10 @@ $update = $Config->checkUpdate();
|
||||
});
|
||||
|
||||
esm.getAll();
|
||||
|
||||
<?php if ($Config->get('esm:auto_refresh') > 0): ?>
|
||||
setInterval(function(){ esm.getAll(); }, <?php echo $Config->get('esm:auto_refresh') * 1000; ?>);
|
||||
<?php endif; ?>
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
@ -37,7 +37,7 @@ $themes: (
|
||||
main-color: #AA8ECC
|
||||
),
|
||||
slate: (
|
||||
main-color: #707E8E
|
||||
main-color: #7C8998
|
||||
),
|
||||
light: (
|
||||
main-color: #C4C4C4
|
||||
|
@ -79,6 +79,10 @@ nav[role="main"] {
|
||||
float: left;
|
||||
margin-left: 110px;
|
||||
line-height: $navbar-height;
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
#update {
|
||||
|
File diff suppressed because one or more lines are too long
@ -71,7 +71,6 @@
|
||||
|
||||
.box-content {
|
||||
padding: 6px;
|
||||
overflow: auto;
|
||||
|
||||
table a {
|
||||
text-decoration: none;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user