Skip to content
Snippets Groups Projects
Commit ff7434c4 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

nicer message id admin is disabled

parent 2b8e01a1
No related branches found
No related tags found
1 merge request!2fix loop over config with missing regex section.
......@@ -54,7 +54,12 @@ function getId($sDomain){
// ----------------------------------------------------------------------
if (!$oR->isEnabled()){
$sHtml.='<div class="error">Admin is disabled.</div>';
$sHtml.='<div class="content">
<h3>Nothing to see here.</h3>
<div class="error">
The Admin interface is disabled.
</div>
</div>';
} else {
......
......@@ -12,8 +12,8 @@ footer{background:rgba(0,0,0,0.03); margin-top: 4em; text-align: right;padding:
.content{margin: 0 1em;}
.legend{background: #fff; padding: 1em;}
.error{background: #fcc;}
.warning{color:#651; background:#fec;}
.error{background: #fcc; padding: 0.2em 1em;}
.warning{color:#651; background:#fec; padding: 0.2em 1em;}
.cfgtype-alias{color:#89a;}
.http-301::after{color:#a55; content: ' (Moved Permanently)'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment