Skip to content

Commit

Permalink
Change auto refresh method
Browse files Browse the repository at this point in the history
Theme slate little a more lighter
  • Loading branch information
shevabam committed Jul 17, 2015
1 parent c384224 commit 8e4aaf9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
7 changes: 4 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<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">
Expand All @@ -35,6 +32,10 @@
});

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>
Expand Down
2 changes: 1 addition & 1 deletion web/css/_src/_config.frontend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $themes: (
main-color: #AA8ECC
),
slate: (
main-color: #707E8E
main-color: #7C8998
),
light: (
main-color: #C4C4C4
Expand Down
4 changes: 4 additions & 0 deletions web/css/_src/frontend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ nav[role="main"] {
float: left;
margin-left: 110px;
line-height: $navbar-height;

a {
color: #fff;
}
}

#update {
Expand Down
2 changes: 1 addition & 1 deletion web/css/frontend.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion web/css/libs/_classic-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@

.box-content {
padding: 6px;
overflow: auto;

table a {
text-decoration: none;
Expand Down

0 comments on commit 8e4aaf9

Please sign in to comment.