auth: updated saml docs, and re-order info on plugin details for easier setup
This commit is contained in:
parent
11bd292508
commit
cefbec329a
10 changed files with 392 additions and 94 deletions
|
|
@ -26,8 +26,13 @@
|
|||
<div class="sidebar">
|
||||
<ul class="nav nav-pills nav-stacked">
|
||||
% for item in resource.get_root().get_nav_list():
|
||||
|
||||
<li ${('class=active' if item == resource else '')}>
|
||||
<a href="${request.resource_path(item, route_name='auth_home')}">${item.display_name}</a>
|
||||
% if getattr(item, 'is_root', False):
|
||||
<a href="${request.resource_path(item, route_name='auth_home')}">${item.display_name}</a>
|
||||
% else:
|
||||
<a style="padding-left: 10px" href="${request.resource_path(item, route_name='auth_home')}">${item.display_name}</a>
|
||||
% endif
|
||||
</li>
|
||||
% endfor
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -50,6 +50,13 @@
|
|||
${h.secure_form(request.resource_path(resource, route_name='auth_home'), request=request)}
|
||||
<div class="form">
|
||||
|
||||
## Allow derived templates to add something above the form
|
||||
## input fields
|
||||
%if hasattr(next, 'above_form_fields'):
|
||||
${next.above_form_fields()}
|
||||
%endif
|
||||
|
||||
<h4>${_('Plugin Configuration')}</h4>
|
||||
%for node in plugin.get_settings_schema():
|
||||
<%
|
||||
label_to_type = {'label-checkbox': 'bool', 'label-textarea': 'textarea'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue