summaryrefslogblamecommitdiffstats
path: root/modules-available/sysconfig/templates/ad-finish.html
blob: f73cad9d087c2900aaa8f731d2afe6acebeafb57 (plain) (tree)
1
2
3
4
5
6
7
8
9
   
                          


               
                                                                                                                   


                                                      
                                                                                                                             

                                                         
                                                                                                    












                                                                                      

                                       
         
<p>
	{{lang_adStarted}}
</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=AdAuth_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_to}} {{lang_systemConfiguration}}</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>