diff options
author | Simon Rettberg | 2017-12-06 13:15:36 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-06 13:15:36 +0100 |
commit | a4d89852ce9517d4b2ff00c31603ba75a84a937f (patch) | |
tree | ddf230575eb6fa396b2456a70aa20bd7fa4d7bfa /modules-available/sysconfig/templates/ldap-start.html | |
parent | [sysconfig] Make checkbox labels clickable (diff) | |
download | slx-admin-a4d89852ce9517d4b2ff00c31603ba75a84a937f.tar.gz slx-admin-a4d89852ce9517d4b2ff00c31603ba75a84a937f.tar.xz slx-admin-a4d89852ce9517d4b2ff00c31603ba75a84a937f.zip |
[sysconfig] Support customizing LDAP attributes
Diffstat (limited to 'modules-available/sysconfig/templates/ldap-start.html')
-rw-r--r-- | modules-available/sysconfig/templates/ldap-start.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/modules-available/sysconfig/templates/ldap-start.html b/modules-available/sysconfig/templates/ldap-start.html index cbb142ea..223791ea 100644 --- a/modules-available/sysconfig/templates/ldap-start.html +++ b/modules-available/sysconfig/templates/ldap-start.html @@ -43,13 +43,27 @@ </div> <br> <div class="input-group"> - <span style="min-width:150px;" class="input-group-addon slx-ga">Home</span> + <span class="input-group-addon slx-ga" style="min-width:150px">{{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="collapse" 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> + <div class="btn btn-default center-block" onclick="$('#attrbox').show();$(this).hide()"> + {{lang_customizeAttributes}} + <span class="glyphicon glyphicon-menu-down"></span> + </div> + <br> <div> <div class="checkbox"> <input id="num-cb" type="checkbox" name="fixnumeric" {{#fixnumeric}}checked{{/fixnumeric}}> |