diff options
Diffstat (limited to 'modules-available/sysconfig/templates')
5 files changed, 13 insertions, 15 deletions
diff --git a/modules-available/sysconfig/templates/ad_ldap-homedir.html b/modules-available/sysconfig/templates/ad_ldap-homedir.html index c6250175..de64e49e 100644 --- a/modules-available/sysconfig/templates/ad_ldap-homedir.html +++ b/modules-available/sysconfig/templates/ad_ldap-homedir.html @@ -66,12 +66,6 @@ <label class="control-label"><input type="checkbox" name="shareRemapCreate" {{shareRemapCreate_c}}> {{lang_shareMapCreate}}</label> </div> </div> - <!--hr> - <div class="slx-bold">{{lang_additionalFolders}}</div> - <div><i>{{lang_addFoldersInfo}}</i></div> - - <br> - <div><i>{{lang_driveLetterNote}}</i></div--> <div class="pull-right"> <button type="submit" class="btn btn-primary">{{lang_next}} »</button> </div> diff --git a/modules-available/sysconfig/templates/js.html b/modules-available/sysconfig/templates/js.html new file mode 100644 index 00000000..9e5da884 --- /dev/null +++ b/modules-available/sysconfig/templates/js.html @@ -0,0 +1,11 @@ +<script type="application/javascript"><!-- +document.addEventListener("DOMContentLoaded", function () { + checkBuildStatus(); + $('[data-toggle="tooltip"]').tooltip(); + $('.confirm-delete').click(function (event) { + if (!confirm('{{lang_confirmDeleteQuestion}}')) { + event.preventDefault(); + } + }); +}, false); +// --></script>
\ No newline at end of file diff --git a/modules-available/sysconfig/templates/list-configs.html b/modules-available/sysconfig/templates/list-configs.html index 222ac43c..99db96bd 100644 --- a/modules-available/sysconfig/templates/list-configs.html +++ b/modules-available/sysconfig/templates/list-configs.html @@ -60,7 +60,7 @@ <td class="text-nowrap"> {{^locationid}} <a class="btn btn-success btn-xs" href="?do=SysConfig&action=addconfig&edit={{configid}}" title="{{lang_edit}}"><span class="glyphicon glyphicon-edit"></span></a> - <button class="btn btn-danger btn-xs" name="del" value="{{configid}}" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></button> + <button class="btn btn-danger btn-xs confirm-delete" name="del" value="{{configid}}" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></button> {{/locationid}} </td> </tr> diff --git a/modules-available/sysconfig/templates/list-legend.html b/modules-available/sysconfig/templates/list-legend.html index 4a46a6a0..809a0449 100644 --- a/modules-available/sysconfig/templates/list-legend.html +++ b/modules-available/sysconfig/templates/list-legend.html @@ -33,10 +33,3 @@ {{/showLocationBadge}} </div> </div> - -<script type="application/javascript"><!-- -document.addEventListener("DOMContentLoaded", function () { - checkBuildStatus(); - $('[data-toggle="tooltip"]').tooltip(); -}, false); -// --></script>
\ No newline at end of file diff --git a/modules-available/sysconfig/templates/list-modules.html b/modules-available/sysconfig/templates/list-modules.html index 585b3522..e7a3b26c 100644 --- a/modules-available/sysconfig/templates/list-modules.html +++ b/modules-available/sysconfig/templates/list-modules.html @@ -29,7 +29,7 @@ {{/needRebuild}} name="rebuild" value="{{id}}" title="{{lang_rebuild}}"><span class="glyphicon glyphicon-refresh"></span></button> <a class="btn btn-success btn-xs" href="?do=SysConfig&action=addmodule&step={{moduleType}}_Start&edit={{id}}" title="{{lang_edit}}"><span class="glyphicon glyphicon-edit"></span></a> - <button class="btn btn-danger btn-xs" name="del" value="{{id}}" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></button> + <button class="btn btn-danger btn-xs confirm-delete" name="del" value="{{id}}" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></button> </td> </tr> {{/modules}} |