blob: 940316b901e5d07b71d3c69710e5eb0435586243 (
plain) (
tree)
|
|
<p>
{{lang_ldapText1}}
<br>
{{lang_ldapText2}}
</p>
<form role="form" method="post" action="?do=SysConfig&action=addmodule&step={{step}}">
<input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-2000px" tabindex="-1">
<input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-2000px" tabindex="-1">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="edit" value="{{edit}}">
<div class="input-group">
<span class="input-group-addon slx-ga2">{{lang_moduleTitle}}</span>
<input tabindex="1" name="title" value="{{title}}" type="text" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon slx-ga2">Server *</span>
<input tabindex="2" name="server" value="{{server}}" type="text" class="form-control" placeholder="dc0.institution.example.com">
<!--span class="input-group-btn">
<a class="btn btn-default"><span class="glyphicon glyphicon-question-sign"></span></a>
</span-->
</div>
<div class="input-group">
<span class="input-group-addon slx-ga2">{{lang_bindDN}}</span>
<input tabindex="3" name="binddn" value="{{binddn}}" type="text" class="form-control" placeholder="CN=bwlp,OU=Benutzer,DC=domain,DC=hs-beispiel,DC=de">
<!--span class="input-group-btn">
<a class="btn btn-default"><span class="glyphicon glyphicon-question-sign"></span></a>
</span-->
</div>
<div class="input-group">
<span class="input-group-addon slx-ga2">{{lang_password}}</span>
<input tabindex="4" name="bindpw" value="{{bindpw}}" type="{{password_type}}" class="form-control" placeholder="{{lang_password}}">
<!--span class="input-group-btn">
<a class="btn btn-default"><span class="glyphicon glyphicon-question-sign"></span></a>
</span-->
</div>
<div class="input-group">
<span class="input-group-addon slx-ga2">{{lang_searchBase}} *</span>
<input tabindex="5" name="searchbase" value="{{searchbase}}" type="text" class="form-control" placeholder="ou=users,dc=hochschule,dc=de">
<!--span class="input-group-btn">
<a class="btn btn-default"><span class="glyphicon glyphicon-question-sign"></span></a>
</span-->
</div>
<br>
<div class="input-group">
<span class="input-group-addon slx-ga2">{{lang_homeFallback}}</span>
<input tabindex="6" name="home" value="{{home}}" type="text" class="form-control" placeholder="\\server.example.com\%s">
<span class="input-group-btn">
<a class="btn btn-default" data-toggle="modal" data-target="#help-home"><span class="glyphicon glyphicon-question-sign"></span></a>
</span>
</div>
<br>
<div class="{{#map_empty}}collapse{{/map_empty}}" id="attrbox">
<p>{{lang_customizeAttrDesc}}</p>
{{#mapping}}
<div class="input-group">
<span class="input-group-addon slx-ga2">{{name}}</span>
<input name="mapping[{{field}}]" value="{{value}}" type="text" class="form-control" placeholder="{{name}}">
</div>
{{/mapping}}
</div>
{{#map_empty}}
<div class="btn btn-default center-block" onclick="$('#attrbox').show();$(this).hide()">
{{lang_customizeAttributes}}
<span class="glyphicon glyphicon-menu-down"></span>
</div>
{{/map_empty}}
<br>
<div>
<div class="checkbox">
<input id="num-cb" type="checkbox" name="fixnumeric" {{#fixnumeric}}checked{{/fixnumeric}}>
<label for="num-cb"><b>{{lang_fixNumeric}}</b></label>
</div>
<div>
<i>{{lang_fixNumericDescription}}</i>
</div>
</div>
<br>
<div>
<div class="checkbox">
<input id="ssl-cb" type="checkbox" name="ssl" onchange="$('#cert-box').css('display', this.checked ? '' : 'none')" {{#ssl}}checked{{/ssl}}>
<label for="ssl-cb"><b>{{lang_ssl}}</b></label>
</div>
<div>
<i>{{lang_sslDescription}}</i>
</div>
</div>
<br>
<hr>
<div class="btn-group">
<a class="btn btn-default" href="?do=SysConfig&action=addmodule">{{lang_back}}</a>
</div>
<div class="btn-group pull-right">
<button type="submit" class="btn btn-primary">{{lang_next}} »</button>
</div>
<div class="clearfix"></div>
<div {{^ssl}}style="display:none"{{/ssl}} id="cert-box">
<hr>
<div class="well well-sm" id="wcustom">
{{lang_customCertificate}}
<pre class="small">
-----BEGIN CERTIFICATE-----
MIIFfTCCA...
.....
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
.....
-----END CERTIFICATE-----</pre>
<textarea name="certificate" class="form-control small" cols="101" rows="10">{{certificate}}</textarea>
</div>
<div class="pull-right">
<button type="submit" class="btn btn-primary">{{lang_next}} »</button>
</div>
<div class="clearfix"></div>
</div>
</form>
<div class="modal fade" id="help-home" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">{{lang_userDirectory}}</div>
<div class="modal-body">
<p>
{{lang_userDirectoryInfo1}}
</p>
<pre>\\fileserv.uni.example.com\users\%s</pre>
<p>
{{lang_userDirectoryInfo2}}
</p>
</div>
<div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div>
</div>
</div>
</div>
|