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

update admin

parent 8d9f54b8
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* admin: list all defined redirections * admin: list all defined redirections
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
* 2022-02-03 v0.1 <axel.hahn@iml.unibe.ch> initial version * 2022-02-03 v0.1 <axel.hahn@iml.unibe.ch> initial version
* 2022-05-21 v0.2 <axel.hahn@iml.unibe.ch> optical changes; use debugredirect=1 if url is a local domain * 2022-05-31 v0.2 <axel.hahn@iml.unibe.ch> optical changes; use debugredirect=1 if url is a local domain
* ---------------------------------------------------------------------- * ----------------------------------------------------------------------
*/ */
...@@ -188,9 +188,6 @@ if (!$oR->isEnabled()){ ...@@ -188,9 +188,6 @@ if (!$oR->isEnabled()){
*/ */
; ;
$sErrors = $sErrors $sErrors = $sErrors
? '<h2>'.$aIco['h2_err'].' Found errors</h2>' ? '<h2>'.$aIco['h2_err'].' Found errors</h2>'
.'<div class="content">' .'<div class="content">'
...@@ -200,7 +197,7 @@ if (!$oR->isEnabled()){ ...@@ -200,7 +197,7 @@ if (!$oR->isEnabled()){
.'</div>' .'</div>'
: '' : ''
; ;
$sHtml.='<footer><a href="'.$oR->urlRepo.'">Source</a> | <a href="'.$oR->urlDocs.'">Docs</a></footer>';
} }
// ---------- OUTPUT // ---------- OUTPUT
......
...@@ -7,6 +7,7 @@ h2{background: #d0e0e8; color:#458; margin: 1em 0 0.5em; border-top: 2px solid ...@@ -7,6 +7,7 @@ h2{background: #d0e0e8; color:#458; margin: 1em 0 0.5em; border-top: 2px solid
pre{background: rgba(0,0,0,0.02);padding: 0.3em 1em; border: 1px solid rgba(0,0,0,0.1); margin: 2em 0 3em;; border-bottom: 2px solid rgba(0,0,0,0.2);} pre{background: rgba(0,0,0,0.02);padding: 0.3em 1em; border: 1px solid rgba(0,0,0,0.1); margin: 2em 0 3em;; border-bottom: 2px solid rgba(0,0,0,0.2);}
tr:hover{background: #f4f0f8 !important;} tr:hover{background: #f4f0f8 !important;}
footer{background:rgba(0,0,0,0.03); margin-top: 4em; text-align: right;padding: 1em;}
.content{margin: 0 1em;} .content{margin: 0 1em;}
.error{background: #fcc;} .error{background: #fcc;}
......
...@@ -47,6 +47,9 @@ class redirect { ...@@ -47,6 +47,9 @@ class redirect {
protected $aConfig = false; protected $aConfig = false;
protected $aRedirect = false; protected $aRedirect = false;
public $urlRepo='https://git-repo.iml.unibe.ch/iml-open-source/redirect-handler';
public $urlDocs='https://os-docs.iml.unibe.ch/redirect-handler/';
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
// CONSTRUCTOR // CONSTRUCTOR
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment