summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/templates/ldap-finish.html
blob: a735e792e6b77003c8e1ff6db3a2a3d8644e9601 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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&amp;action=addmodule&amp;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>