diff options
author | Simon Rettberg | 2015-10-20 17:15:49 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-10-20 17:15:49 +0200 |
commit | 2c6bbc84799bcca7beb88abc4781ab0bc8ec5328 (patch) | |
tree | 21ca2565c6dd63b7405201964652d396e4d87d7c /templates/sysconfig/ldap-start.html | |
parent | [serversetup] Fix ipxe html layout (diff) | |
download | slx-admin-2c6bbc84799bcca7beb88abc4781ab0bc8ec5328.tar.gz slx-admin-2c6bbc84799bcca7beb88abc4781ab0bc8ec5328.tar.xz slx-admin-2c6bbc84799bcca7beb88abc4781ab0bc8ec5328.zip |
Support creating ad and ldap modules with ca-based cert checking
Diffstat (limited to 'templates/sysconfig/ldap-start.html')
-rw-r--r-- | templates/sysconfig/ldap-start.html | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/templates/sysconfig/ldap-start.html b/templates/sysconfig/ldap-start.html index 8fa7cb9f..66afa68d 100644 --- a/templates/sysconfig/ldap-start.html +++ b/templates/sysconfig/ldap-start.html @@ -48,16 +48,36 @@ </span> </div> <br> - <div class="checkbox"> + <div> <label> - <input type="checkbox" name="ssl" {{#ssl}}checked{{/ssl}}> {{lang_ssl}} + <input type="checkbox" name="ssl" onchange="$('#cert-box').css('display', this.checked ? '' : 'none')" {{#ssl}}checked{{/ssl}}> {{lang_ssl}} </label> </div> - <div><i>{{lang_sslDescription}}</i></div> + <i>{{lang_sslDescription}}</i> <br> <div class="pull-right"> <button type="submit" class="btn btn-primary">{{lang_next}} »</button> </div> + <div class="clearfix"></div> + <hr> + <div {{^ssl}}style="display:none"{{/ssl}} id="cert-box"> + <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"> |