summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates/assign.html
diff options
context:
space:
mode:
authorUdo Walter2020-01-17 00:45:55 +0100
committerUdo Walter2020-01-17 00:45:55 +0100
commit837ace277ea3c0fe254175372e5fe71098e47636 (patch)
tree5c0ef7608f90cad76f3aa4fedee5b91758f06e88 /modules-available/sysconfig/templates/assign.html
parent[sysconfig] Screensaver: Add a full fledged back button experience (diff)
downloadslx-admin-837ace277ea3c0fe254175372e5fe71098e47636.tar.gz
slx-admin-837ace277ea3c0fe254175372e5fe71098e47636.tar.xz
slx-admin-837ace277ea3c0fe254175372e5fe71098e47636.zip
[systemconfig] Add warning to the assign step at the end of module creation if other modules would be replaced because the module is unique
Diffstat (limited to 'modules-available/sysconfig/templates/assign.html')
-rw-r--r--modules-available/sysconfig/templates/assign.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/modules-available/sysconfig/templates/assign.html b/modules-available/sysconfig/templates/assign.html
index b3e3d267..9e83f965 100644
--- a/modules-available/sysconfig/templates/assign.html
+++ b/modules-available/sysconfig/templates/assign.html
@@ -11,11 +11,21 @@
<label></label>
</div>
</span>
- <label class="form-control" for="config{{configid}}">{{title}}</label>
+ <label class="form-control config-label" for="config{{configid}}">
+ <span>{{title}}</span>
+ {{#replaces}}<span class="text-danger">{{lang_replaces}} {{.}}</span>{{/replaces}}
+ </label>
</div>
{{/configs}}
<div class="text-right" style="margin-top: 12px">
<button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
</div>
-</form> \ No newline at end of file
+</form>
+
+<style>
+ .config-label {
+ display: flex !important;
+ justify-content: space-between !important;
+ }
+</style> \ No newline at end of file