diff options
-rw-r--r-- | inc/configmodule.inc.php | 2 | ||||
-rw-r--r-- | lang/de/templates/sysconfig/_page.json | 6 | ||||
-rw-r--r-- | lang/de/templates/sysconfig/branding-start.json | 2 | ||||
-rw-r--r-- | lang/en/templates/sysconfig/_page.json | 6 | ||||
-rw-r--r-- | templates/sysconfig/_page.html | 25 |
5 files changed, 38 insertions, 3 deletions
diff --git a/inc/configmodule.inc.php b/inc/configmodule.inc.php index 6fd9e1b8..ae2201fc 100644 --- a/inc/configmodule.inc.php +++ b/inc/configmodule.inc.php @@ -34,7 +34,7 @@ abstract class ConfigModule } /** - * Get all known config modules. + * Get all known config module types. * * @return array list of modules */ diff --git a/lang/de/templates/sysconfig/_page.json b/lang/de/templates/sysconfig/_page.json index cd8dc79d..0e42c6a3 100644 --- a/lang/de/templates/sysconfig/_page.json +++ b/lang/de/templates/sysconfig/_page.json @@ -6,13 +6,19 @@ "lang_close": "Schlie\u00dfen", "lang_configurationModuleNotFound": "Keine Konfigurationsmodule gefunden!", "lang_delete": "L\u00f6schen", + "lang_deleteLong": "Modul oder Konfiguration l\u00f6schen.", "lang_download": "Herunterladen", + "lang_edit": "Bearbeiten", + "lang_editLong": "Modul oder Konfiguration bearbeiten.", "lang_helpModuleConfiguration": "Konfigurationsmodule sind die Bausteine, aus denen eine Systemkonfiguration erstellt wird. Hier lassen sich sowohl generische Module durch einen Wizard anlegen, als auch komplett eigene Module erstellen (fortgeschritten, Linuxkenntnisse erforderlich).", "lang_helpSystemConfiguration": "\u00dcber eine Systemkonfiguration wird die grundlegende Lokalisierung des bwLehrpool-Systems durchgef\u00fchrt. Dazu geh\u00f6ren Aspekte wie das Authentifizierungsverfahren f\u00fcr Benutzer (z.B. Active Directory, LDAP), Druckerkonfiguration, Home-Verzeichnisse, etc. Eine Systemkonfiguration setzt sich aus einem oder mehreren Konfigurationsmodulen zusammen, welche im unteren Bereich dieser Seite verwaltet werden k\u00f6nnen.", + "lang_legend": "Legende", "lang_moduleConfiguration": "Konfigurationsmodule", "lang_newConfiguration": "Neue Konfiguration", "lang_newModule": "Neues Modul", "lang_rebuild": "Neu generieren", + "lang_rebuildLong": "Modul oder Konfiguration neu generieren. Das entsprechende Modul bzw. Konfiguration ist aktuell und sollte nicht neu generiert werden m\u00fcssen.", + "lang_rebuildOutdatedLong": "Modul oder Konfiguration neu generieren. Das entsprechende Modul bzw. Konfiguration ist veraltet oder nicht vorhanden.", "lang_show": "Ansehen", "lang_systemConfiguration": "Systemkonfiguration", "lang_systemConfigurationAlert": "Bevor Sie eine Systemkonfiguration erstellen k\u00f6nnen, m\u00fcssen Sie zun\u00e4chst ein Konfigurationsmodul erzeugen.", diff --git a/lang/de/templates/sysconfig/branding-start.json b/lang/de/templates/sysconfig/branding-start.json index 8b367397..ea9e0b17 100644 --- a/lang/de/templates/sysconfig/branding-start.json +++ b/lang/de/templates/sysconfig/branding-start.json @@ -1,5 +1,5 @@ { - "lang_branding": "Hier k\u00f6nnen Sie ihr Einrichtungslogo im SVG Format hochladen. Das SVG-Format ist ein Vektorgrafikformat, was zum Skalieren vorteilhaft ist. Eine Gute Quelle f\u00fcr SVG-Logos von Unis und Hochschulen ist ihr jeweiliger Wikipedia-Artikel.", + "lang_branding": "Hier k\u00f6nnen Sie ihr Einrichtungslogo im SVG-Format hochladen. Das SVG-Format ist ein Vektorgrafikformat, was zum Skalieren vorteilhaft ist. Eine gute Quelle f\u00fcr SVG-Logos von Unis und Hochschulen ist ihr jeweiliger Wikipedia-Artikel.", "lang_computerLoad": "Bild von lokalem Rechner hochladen", "lang_or": "oder", "lang_upload": "Hochladen", diff --git a/lang/en/templates/sysconfig/_page.json b/lang/en/templates/sysconfig/_page.json index 86245267..b86e369a 100644 --- a/lang/en/templates/sysconfig/_page.json +++ b/lang/en/templates/sysconfig/_page.json @@ -6,13 +6,19 @@ "lang_close": "Close", "lang_configurationModuleNotFound": "Configuration module not found!", "lang_delete": "Delete", + "lang_deleteLong": "Delete module or configuration.", "lang_download": "Download", + "lang_edit": "Edit", + "lang_editLong": "Edit module or configuration.", "lang_helpModuleConfiguration": "Configuration modules are the building blocks from which a system configuration is created. Here you can create both generic modules by a wizard, as well as create completely custom modules (advanced Linux knowledge required).", "lang_helpSystemConfiguration": "The fundamental localization of the bwLehrpool system is done through a system configuration. These include aspects such as the authentication method for users (eg Active Directory, LDAP), printer configuration, home directories, etc. A system configuration is composed of one or more configuration modules, which can be managed at the bottom of this page.", + "lang_legend": "Legend", "lang_moduleConfiguration": "Module Configuration", "lang_newConfiguration": "New Configuration", "lang_newModule": "New Module", "lang_rebuild": "Rebuild", + "lang_rebuildLong": "Rebuild module or configuration.", + "lang_rebuildOutdatedLong": "Rebuild module or configuration. The module\/configuration is outdated or missing and should be regenerated.", "lang_show": "Show", "lang_systemConfiguration": "System Configuration", "lang_systemConfigurationAlert": "Before you can create a system configuration, you must first create a configuration module.", diff --git a/templates/sysconfig/_page.html b/templates/sysconfig/_page.html index 02c0cecd..0bc92215 100644 --- a/templates/sysconfig/_page.html +++ b/templates/sysconfig/_page.html @@ -12,7 +12,7 @@ <table id="conftable" class="slx-table" style="max-width:100px !important"> {{#configs}} <tr class="slx-pointer" data-modlist="{{modlist}}" onclick="showmod(this, 'bold')" onmouseover="showmod(this, 'fade')" onmouseout="showmod(this, 'reset')"> - <td class="modrow slx-width-ignore slx-nowrap"><div class="slx-dyn-ellipsis">{{config}}</div></td> + <td class="slx-width-ignore slx-nowrap"><div class="slx-dyn-ellipsis">{{config}}</div></td> <td> {{^current}} <button class="btn btn-primary btn-xs" name="activate" value="{{configid}}"> @@ -92,6 +92,7 @@ class="btn btn-default btn-xs" {{/needrebuild}} name="rebuild" value="{{moduleid}}" title="{{lang_rebuild}}"><span class="glyphicon glyphicon-refresh"></span></button> + <button class="btn btn-success btn-xs" name="edit" value="{{moduleid}}" title="{{lang_edit}}"><span class="glyphicon glyphicon-edit"></span></button> <button class="btn btn-danger btn-xs" name="del" value="{{moduleid}}" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></button> </td> </tr> @@ -109,6 +110,28 @@ </div> </div> +<div class="panel panel-default"> + <div class="panel-heading">{{lang_legend}}</div> + <div class="panel-body"> + <p> + <span class="btn btn-default btn-xs" title="{{lang_rebuild}}"><span class="glyphicon glyphicon-refresh"></span></span> + {{lang_rebuildLong}} + </p> + <p> + <span class="btn btn-primary btn-xs" title="{{lang_rebuild}}"><span class="glyphicon glyphicon-refresh"></span></span> + {{lang_rebuildOutdatedLong}} + </p> + <p> + <span class="btn btn-success btn-xs" title="{{lang_edit}}"><span class="glyphicon glyphicon-edit"></span></span> + {{lang_editLong}} + </p> + <div> + <span class="btn btn-danger btn-xs" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></span> + {{lang_deleteLong}} + </div> + </div> +</div> + <div class="modal fade" id="help-config" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> |