diff options
author | Udo Walter | 2020-01-17 00:45:55 +0100 |
---|---|---|
committer | Udo Walter | 2020-01-17 00:45:55 +0100 |
commit | 837ace277ea3c0fe254175372e5fe71098e47636 (patch) | |
tree | 5c0ef7608f90cad76f3aa4fedee5b91758f06e88 /modules-available/sysconfig/templates/assign.html | |
parent | [sysconfig] Screensaver: Add a full fledged back button experience (diff) | |
download | slx-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.html | 14 |
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 |