diff options
author | Simon Rettberg | 2015-09-12 17:58:08 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-12 17:58:08 +0200 |
commit | 3bddad0ec251a75e6554e8a9b986ff7e2b234ec7 (patch) | |
tree | 570aeacf7cbabe11ea8db0ea51ec24ef57ff4a1e /templates/sysconfig/ldap-finish.html | |
parent | Image delete feature (diff) | |
download | slx-admin-3bddad0ec251a75e6554e8a9b986ff7e2b234ec7.tar.gz slx-admin-3bddad0ec251a75e6554e8a9b986ff7e2b234ec7.tar.xz slx-admin-3bddad0ec251a75e6554e8a9b986ff7e2b234ec7.zip |
[ldap] new module
Diffstat (limited to 'templates/sysconfig/ldap-finish.html')
-rw-r--r-- | templates/sysconfig/ldap-finish.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/sysconfig/ldap-finish.html b/templates/sysconfig/ldap-finish.html new file mode 100644 index 00000000..a735e792 --- /dev/null +++ b/templates/sysconfig/ldap-finish.html @@ -0,0 +1,29 @@ +<p> + {{lang_ldapStarted}} +</p> + +<div id="zeug"> + <div data-tm-id="{{tm-config}}" data-tm-log="error" data-tm-callback="ldapCb">{{lang_generateModule}}</div> +</div> +<br> +<div id="back" class="pull-left" style="display:none"> + <a href="?do=SysConfig&action=addmodule&step=LdapAuth_Start" class="btn btn-primary">{{lang_restartWizard}}</a> +</div> +<div id="finish" class="pull-right" style="display:none"> + <a href="?do=SysConfig" class="btn btn-primary">{{lang_toSystemConfiguration}}</a> +</div> +<script type="text/javascript"> +function ldapCb(task) +{ + if (!task || !task.statusCode) + return; + if (task.statusCode === 'TASK_FINISHED') { + $('#finish').attr('style', ''); + } + if (task.statusCode === 'TASK_ERROR' || task.statusCode === 'PARENT_FAILED') { + $('#back').attr('style', ''); + } +} +if ('{{tm-config}}' == '') + $('#finish').attr('style', ''); +</script> |