Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
redirect-handler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
redirect-handler
Commits
ff7434c4
Commit
ff7434c4
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
nicer message id admin is disabled
parent
2b8e01a1
No related branches found
No related tags found
1 merge request
!2
fix loop over config with missing regex section.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public_html/admin/index.php
+6
-1
6 additions, 1 deletion
public_html/admin/index.php
public_html/admin/main.css
+2
-2
2 additions, 2 deletions
public_html/admin/main.css
with
8 additions
and
3 deletions
public_html/admin/index.php
+
6
−
1
View file @
ff7434c4
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
public_html/admin/main.css
+
2
−
2
View file @
ff7434c4
...
...
@@ -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)'
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment