mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2024-12-21 09:01:15 -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">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
<title>eZ Server Monitor - <?php echo Misc::getHostname(); ?></title>
|
<title>eZ Server Monitor - <?php echo Misc::getHostname(); ?></title>
|
||||||
<link rel="stylesheet" href="web/css/utilities.css" type="text/css">
|
<link rel="stylesheet" href="web/css/utilities.css" type="text/css">
|
||||||
@ -35,6 +32,10 @@ $update = $Config->checkUpdate();
|
|||||||
});
|
});
|
||||||
|
|
||||||
esm.getAll();
|
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>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -37,7 +37,7 @@ $themes: (
|
|||||||
main-color: #AA8ECC
|
main-color: #AA8ECC
|
||||||
),
|
),
|
||||||
slate: (
|
slate: (
|
||||||
main-color: #707E8E
|
main-color: #7C8998
|
||||||
),
|
),
|
||||||
light: (
|
light: (
|
||||||
main-color: #C4C4C4
|
main-color: #C4C4C4
|
||||||
|
@ -79,6 +79,10 @@ nav[role="main"] {
|
|||||||
float: left;
|
float: left;
|
||||||
margin-left: 110px;
|
margin-left: 110px;
|
||||||
line-height: $navbar-height;
|
line-height: $navbar-height;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#update {
|
#update {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -71,7 +71,6 @@
|
|||||||
|
|
||||||
.box-content {
|
.box-content {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
table a {
|
table a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user