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

add about page

parent 82f57ad0
No related branches found
No related tags found
1 merge request!62V2.0
...@@ -159,6 +159,13 @@ ...@@ -159,6 +159,13 @@
"class-user-error-deny-no-role": "FEHLER: Sie haben nicht genügend Berechtigungen.", "class-user-error-deny-no-role": "FEHLER: Sie haben nicht genügend Berechtigungen.",
"class-user-error-login-required": "FEHLER: Sie sind noch nicht eingeloggt. Bitte melden Sie sich zuerst an.", "class-user-error-login-required": "FEHLER: Sie sind noch nicht eingeloggt. Bitte melden Sie sich zuerst an.",
"page-about-version": "Version",
"page-about-author": "Autor",
"page-about-license": "Lizenz",
"page-about-source": "Sorucecode",
"page-about-php": "PHP-Version",
"page-about-components": "Komponenten",
"page-accept-error-cannot-accept-phase": "Die Phase [%s] kann nicht akzeptiert werden.", "page-accept-error-cannot-accept-phase": "Die Phase [%s] kann nicht akzeptiert werden.",
"page-accept-info": "Die Software wurde erfolgreich in der Phase <span class=\"%s\">%s</span> getestet und soll auf die n&auml;chste Phase <span class=\"%s\">%s</span> ausgerollt werden?", "page-accept-info": "Die Software wurde erfolgreich in der Phase <span class=\"%s\">%s</span> getestet und soll auf die n&auml;chste Phase <span class=\"%s\">%s</span> ausgerollt werden?",
"page-accept-warning-version-exists-in-next-queue": "In der Queue von Phase [%s] ist die Version von [%s] bereits vorhanden!", "page-accept-warning-version-exists-in-next-queue": "In der Queue von Phase [%s] ist die Version von [%s] bereits vorhanden!",
...@@ -224,6 +231,7 @@ ...@@ -224,6 +231,7 @@
"page-valuestore-hint": "Diese Ansicht zeigt alle in den Value Store eingelieferten installierten Versionen pro System einer Phase eines Projektes.", "page-valuestore-hint": "Diese Ansicht zeigt alle in den Value Store eingelieferten installierten Versionen pro System einer Phase eines Projektes.",
"aborted": "Abgebrochen", "aborted": "Abgebrochen",
"about": "About",
"accept": "Accept", "accept": "Accept",
"accept-hint": "Accept Phase [%s]\nund stelle es in die Queue von\nPhase [%s]", "accept-hint": "Accept Phase [%s]\nund stelle es in die Queue von\nPhase [%s]",
"all": "alle", "all": "alle",
......
...@@ -160,6 +160,13 @@ ...@@ -160,6 +160,13 @@
"class-user-error-deny-no-role": "ERROR: Your User has not enough permissions.", "class-user-error-deny-no-role": "ERROR: Your User has not enough permissions.",
"class-user-error-login-required": "ERROR: You need to login first.", "class-user-error-login-required": "ERROR: You need to login first.",
"page-about-version": "Version",
"page-about-author": "Author",
"page-about-license": "License",
"page-about-source": "Sorucecode",
"page-about-php": "PHP version",
"page-about-components": "Components",
"page-accept-error-cannot-accept-phase": "The phase [%s] cannot be accepted.", "page-accept-error-cannot-accept-phase": "The phase [%s] cannot be accepted.",
"page-accept-info": "The software was tested successfully in phase <span class=\"%s\">%s</span> and shall be rolled out in the next phase <span class=\"%s\">%s</span>?", "page-accept-info": "The software was tested successfully in phase <span class=\"%s\">%s</span> and shall be rolled out in the next phase <span class=\"%s\">%s</span>?",
"page-accept-warning-version-exists-in-next-queue": "In the queue of phase [%s] the version [%s] already exists!", "page-accept-warning-version-exists-in-next-queue": "In the queue of phase [%s] the version [%s] already exists!",
...@@ -225,6 +232,7 @@ ...@@ -225,6 +232,7 @@
"page-valuestore-hint": "This value store view shows all versions per system of each phase and project. ", "page-valuestore-hint": "This value store view shows all versions per system of each phase and project. ",
"aborted": "Aborted", "aborted": "Aborted",
"about": "About",
"accept": "Accept", "accept": "Accept",
"accept-hint": "Accept phase [%s]\nand put package to the queue of\nphase [%s]", "accept-hint": "Accept phase [%s]\nand put package to the queue of\nphase [%s]",
"all": "all", "all": "all",
......
...@@ -262,6 +262,8 @@ function getTopNavRight() ...@@ -262,6 +262,8 @@ function getTopNavRight()
['href' => $sWikiBaseUrl . '/it/infrastruktur/se/snippets/iml.deployment_profile', 'target' => '_help', 'label' => 'WIKI (Admin): Snippets für den Sysadmin', 'icon' => ''], ['href' => $sWikiBaseUrl . '/it/infrastruktur/se/snippets/iml.deployment_profile', 'target' => '_help', 'label' => 'WIKI (Admin): Snippets für den Sysadmin', 'icon' => ''],
['href' => $sWikiBaseUrl . '/it/infrastruktur/dienste/imldeployment', 'target' => '_help', 'label' => 'WIKI (Admin): Verzeichnisse und Dateien', 'icon' => ''], ['href' => $sWikiBaseUrl . '/it/infrastruktur/dienste/imldeployment', 'target' => '_help', 'label' => 'WIKI (Admin): Verzeichnisse und Dateien', 'icon' => ''],
['href' => $sBaseUrl . 'all/doc', 'label' => t('menu-help-classes'), 'icon' => ''], ['href' => $sBaseUrl . 'all/doc', 'label' => t('menu-help-classes'), 'icon' => ''],
['label' => '-'],
['href' => $sBaseUrl . 'all/about', 'label' => t('about'), 'icon' => ''],
] ]
]; ];
......
<?php
/* ######################################################################
IML DEPLOYMENT
webgui - accept a phase to rollout it to the next phase
---------------------------------------------------------------------
2023-12-19 Axel <axel.hahn@unibe.ch>
###################################################################### */
$oHtml = new htmlguielements($sPrj);
$BODY=
$renderAdminLTE->addRow(
$renderAdminLTE->addCol(
$renderAdminLTE->getCard([
'type'=>'dark',
'variant'=>'outline',
'text'=>'<h3>IML CI server</h3>'
.$oHtml->getTable([
'body'=>[
[t('page-about-version'), getVersioninfo()],
[t('page-about-author'), 'Institute for Medical Education * University of Bern'],
[t('page-about-license'), 'GNU GPL 3.0'],
[t('page-about-source'), '<a href="https://git-repo.iml.unibe.ch/iml-open-source/imldeployment/">https://git-repo.iml.unibe.ch/iml-open-source/imldeployment/</a>'],
[t('page-about-php'), phpversion()],
]
]),
]), 8
)
.$renderAdminLTE->addCol(
$renderAdminLTE->getCard([
'type'=>'dark',
'variant'=>'outline',
'text'=>'<h3>Components</h3>'
.$oHtml->getTable([
'body'=>[
['AdminLTE', '<a href="https://adminlte.io/">https://adminlte.io/</a>'],
['jquery 3.6.1', '<a href="https://jquery.com/">https://jquery.com/</a>'],
['font-awesome 6.4.0', '<a href="https://fontawesome.com/">https://fontawesome.com/</a>'],
['visjs 4.21.0', '<a href="https://visjs.org">https://visjs.org</a>'],
['winbox 0.2.82', '<a href="https://nextapps-de.github.io/winbox/">https://nextapps-de.github.io/winbox/</a>'],
]
]),
]), 4
)
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment