Change auto refresh method

Theme slate little a more lighter
This commit is contained in:
ShevAbam 2015-07-17 09:23:51 +02:00
parent c384224e0a
commit 8e4aaf99de
6 changed files with 11 additions and 7 deletions

View File

@ -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>

View File

@ -37,7 +37,7 @@ $themes: (
main-color: #AA8ECC
),
slate: (
main-color: #707E8E
main-color: #7C8998
),
light: (
main-color: #C4C4C4

View File

@ -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

View File

@ -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