summaryrefslogblamecommitdiffstats
path: root/templates/sysconfig/ad-checkconnection.html
blob: 3a2c7a428ccc0021380440868c3641018b5c826a (plain) (tree)
1
2
3
4
5
6




                                                                                                           
                                                                                                              








                                                                                                            
                                                                  









                                                                                                      
                                                                  















                                                                                                            
<p>
	Die Verbindung zum angegebenen AD-Server wird nun überprüft. Bitte haben Sie einen Moment Geduld.
</p>

<div id="zeug">
	<div data-tm-id="{{tm-search}}" data-tm-log="messages" data-tm-callback="ldapCb">LDAP Test-Query</div>
</div>
<br>
<div class="pull-left">
	<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step=AdModule_Start">
		<input type="hidden" name="token" value="{{token}}">
		<input name="server" value="{{server}}" type="hidden">
		<input name="searchbase" value="{{searchbase}}" type="hidden">
		<input name="binddn" value="{{binddn}}" type="hidden">
		<input name="bindpw" value="{{bindpw}}" type="hidden">
		<input name="home" value="{{home}}" type="hidden">
		<button type="submit" class="btn btn-primary">&laquo; Zurück</button>
	</form>
</div>
<div class="pull-right">
	<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step={{step}}">
		<input type="hidden" name="token" value="{{token}}">
		<input name="server" value="{{server}}" type="hidden">
		<input name="searchbase" value="{{searchbase}}" type="hidden">
		<input name="binddn" value="{{binddn}}" type="hidden">
		<input name="bindpw" value="{{bindpw}}" type="hidden">
		<input name="home" value="{{home}}" type="hidden">
		<button id="nextbutton" type="submit" class="btn btn-primary">Überspringen &raquo;</button>
	</form>
</div>
<script type="text/javascript">
function ldapCb(task)
{
	if (!task || !task.statusCode)
		return;
	 if (task.statusCode === 'TASK_FINISHED') {
		$('#nextbutton').html('Weiter &raquo;');
	}
	if (task.statusCode === 'TASK_ERROR' || task.statusCode === 'PARENT_FAILED') {
		$('#nextbutton').html('Trotzdem weiter &raquo;');
	}
}
</script>