diff --git a/config/lang/de-de.json b/config/lang/de-de.json index 660eb62f2754472c42da58ab8fbcc7bb6b614fed..ee2775019efe73f10e1e5a3d924745e7c37b158c 100644 --- a/config/lang/de-de.json +++ b/config/lang/de-de.json @@ -159,6 +159,13 @@ "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.", + "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-info": "Die Software wurde erfolgreich in der Phase <span class=\"%s\">%s</span> getestet und soll auf die nä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!", @@ -224,6 +231,7 @@ "page-valuestore-hint": "Diese Ansicht zeigt alle in den Value Store eingelieferten installierten Versionen pro System einer Phase eines Projektes.", "aborted": "Abgebrochen", + "about": "About", "accept": "Accept", "accept-hint": "Accept Phase [%s]\nund stelle es in die Queue von\nPhase [%s]", "all": "alle", diff --git a/config/lang/en-en.json b/config/lang/en-en.json index ef8973b8f0fa1b2a83c77d55772dc525349c07ed..fbac3f9ec0dcfdeb92ea4cf8899382a85387ae54 100644 --- a/config/lang/en-en.json +++ b/config/lang/en-en.json @@ -160,6 +160,13 @@ "class-user-error-deny-no-role": "ERROR: Your User has not enough permissions.", "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-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!", @@ -225,6 +232,7 @@ "page-valuestore-hint": "This value store view shows all versions per system of each phase and project. ", "aborted": "Aborted", + "about": "About", "accept": "Accept", "accept-hint": "Accept phase [%s]\nand put package to the queue of\nphase [%s]", "all": "all", diff --git a/public_html/deployment/inc_functions.php b/public_html/deployment/inc_functions.php index 7a602e2153b2e8189f728aad4b81ee34141d77a4..af466054f5fe9f3b52bcbcc6634b40c3a9f900cb 100644 --- a/public_html/deployment/inc_functions.php +++ b/public_html/deployment/inc_functions.php @@ -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/dienste/imldeployment', 'target' => '_help', 'label' => 'WIKI (Admin): Verzeichnisse und Dateien', 'icon' => ''], ['href' => $sBaseUrl . 'all/doc', 'label' => t('menu-help-classes'), 'icon' => ''], + ['label' => '-'], + ['href' => $sBaseUrl . 'all/about', 'label' => t('about'), 'icon' => ''], ] ]; diff --git a/public_html/deployment/pages/act_about.php b/public_html/deployment/pages/act_about.php new file mode 100644 index 0000000000000000000000000000000000000000..612929da07dff7675163ea4a71edb957188466a8 --- /dev/null +++ b/public_html/deployment/pages/act_about.php @@ -0,0 +1,50 @@ +<?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 + ) +); +