align the icos of admin
parent
83ea23ddaf
commit
1b29d85ce3
|
@ -13,6 +13,7 @@
|
|||
body{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:1em;background-color:#f7f7f9;color:#000}
|
||||
a{color:#24292e;cursor:pointer;text-decoration:none}
|
||||
a:hover{color:#24292e}
|
||||
.login ion-icon{vertical-align:bottom}
|
||||
.changelanguage{position:absolute;right:5px;}
|
||||
.title{text-align:center;margin-top:1rem;letter-spacing:2px;margin-bottom:2rem}
|
||||
.title a{color:#333;text-decoration:none}
|
||||
|
@ -33,9 +34,11 @@
|
|||
.mask{position:absolute;left:0px;top:0px;width:100%;background-color:#000;filter:alpha(opacity=50);opacity:0.5;z-index:2;}
|
||||
<?php if ($_SERVER['admin']) { ?>
|
||||
.operate{display:inline-table;margin:0;list-style:none;}
|
||||
.operate ion-icon{vertical-align:bottom}
|
||||
.operate ul{position:absolute;display:none;background:#fffaaa;border:0px #f7f7f7 solid;border-radius:5px;margin:-7px 0 0 0;padding:0 7px;color:#205D67;z-index:1;}
|
||||
.operate:hover ul{position:absolute;display:inline-table;}
|
||||
.operate ul li{padding:7px;list-style:none;display:inline-table;}
|
||||
.operate ul li ion-icon{vertical-align:bottom}
|
||||
<?php } ?>
|
||||
.operatediv{position:absolute;border:1px #CCCCCC;background-color:#FFFFCC;z-index:2;}
|
||||
.operatediv div{margin:16px}
|
||||
|
@ -52,10 +55,11 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<div style="padding:1px">
|
||||
<?php
|
||||
if (getConfig('admin')!='') if (!$_SERVER['admin']) {
|
||||
if (getConfig('adminloginpage')=='') { ?>
|
||||
<a onclick="login();"><ion-icon name="log-in"></ion-icon><?php echo getconstStr('Login'); ?></a>
|
||||
<a class="login" onclick="login();"><ion-icon name="log-in"></ion-icon><?php echo getconstStr('Login'); ?></a>
|
||||
<?php }
|
||||
} else { ?>
|
||||
<li class="operate"><ion-icon name="construct"></ion-icon><?php echo getconstStr('Operate'); ?><ul>
|
||||
|
@ -69,6 +73,7 @@
|
|||
</ul></li>
|
||||
<?php
|
||||
} ?>
|
||||
|
||||
<select class="changelanguage" name="language" onchange="changelanguage(this.options[this.options.selectedIndex].value)">
|
||||
<option value="">Language</option>
|
||||
<?php
|
||||
|
@ -77,6 +82,7 @@
|
|||
<?php
|
||||
} ?>
|
||||
</select>
|
||||
</div>
|
||||
<?php
|
||||
if ($_SERVER['needUpdate']) { ?>
|
||||
<div style='position:absolute;'><font color='red'><?php echo getconstStr('NeedUpdate'); ?></font></div>
|
||||
|
|
Loading…
Reference in New Issue