summaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/admin.css15
-rw-r--r--htdocs/index.php16
2 files changed, 23 insertions, 8 deletions
diff --git a/htdocs/admin.css b/htdocs/admin.css
index 40be6e5..8078d1e 100644
--- a/htdocs/admin.css
+++ b/htdocs/admin.css
@@ -1,6 +1,8 @@
/*** Admin ***/
.admin {
+ z-index: 666;
+
position: absolute;
top: 0%;
left: 0%;
@@ -23,6 +25,15 @@
border-radius: 6px;
}
+.admin .windowtitle {
+ text-shadow: #222 1px 1px 2px;
+
+ filter:alpha(opacity=70);
+ -moz-opacity:0.70;
+ -khtml-opacity: 0.70;
+ opacity: 0.70;
+}
+
.admin .header {
display: inline-block;
text-align: center;
@@ -37,7 +48,11 @@
}
.admin .logout {
+ padding-top: 3px;
+ padding-right: 6px;
float: right;
+ font-size: 0.9em;
+ font-style: italic;
}
.admin .close {
diff --git a/htdocs/index.php b/htdocs/index.php
index aea0dfe..1a9e5af 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -88,7 +88,11 @@ if($config->value('splash') == "true") {
// -->
</script>
</head>
-<body>
+<body><?php
+if($page == "admin") {
+ include($UTIL_DIR."/admin.php");
+}
+?>
<div style="display: none;">
<?php
$_ps = $config->value('preload');
@@ -117,13 +121,9 @@ if(sizeof($menu)) {
<div class="wrapper">
<div class="content">
<?php
-if($page == "admin") {
- include($UTIL_DIR."/admin.php");
-} else {
- if($page) $_p = $pages->getPage($page);
- else $_p = $pages->getPage($config->value('default'));
- if($_p) $_p->show();
-}
+if($page && $page != "admin") $_p = $pages->getPage($page);
+else $_p = $pages->getPage($config->value('default'));
+if($_p) $_p->show();
?>
</div>
<div class="column">