lemonldap-ng/lemonldap-ng-manager/site/static/forms/samlAttribute.html

60 lines
2.0 KiB
HTML
Raw Normal View History

<div class="panel panel-default">
2015-07-09 17:38:35 +02:00
<div class="panel-heading">
<h3 class="panel-title" trspan="samlAttribute"></h3>
</div>
2015-10-23 17:18:47 +02:00
<table class="table">
<!-- Key Name -->
<tr>
<th><span trspan="keyname"></span></th>
2015-10-23 17:18:47 +02:00
<td><input id="sakinput" class="form-control" ng-model="currentNode.title"/></td>
</tr>
<!-- Name -->
<tr>
<th><span trspan="name"></span></th>
2015-10-23 17:18:47 +02:00
<td><input id="saninput" class="form-control" ng-model="currentNode.data[1]"/></td>
</tr>
<!-- Friendly Name -->
<tr>
<th><span trspan="friendlyName"></span></th>
2015-10-23 17:18:47 +02:00
<td><input id="safinput" class="form-control" ng-model="currentNode.data[3]"/></td>
</tr>
<!-- Mandatory -->
<tr>
<th><span trspan="mandatory"></span></th>
2015-10-23 17:18:47 +02:00
<td>
<div class="input-group-solid">
<label class="radio-inline">
<input id="samOn" type="radio" value="1" name="sam" ng-model="currentNode.data[0]"/>
<span trspan="on"></span>
</label>
<label class="radio-inline">
<input id="samOff" type="radio" value="0" name="sam" ng-model="currentNode.data[0]" ng-checked="currentNode.data[0]!==1&&currentNode.data[0]!=='1'"/>
<span trspan="off"></span>
</label>
</div>
2015-10-23 17:18:47 +02:00
</td>
</tr>
<!-- Format -->
<tr>
<th><span trspan="format"></span></th>
2015-10-23 17:18:47 +02:00
<td>
<select class="form-control" id="safselect" aria-describedby="saflbl" ng-model="currentNode.data[2]">
<option value="" ng-selected="currentNode.data[2]==null||currentNode.data[2]==''"></option>
<option value="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">Unspecified</option>
<option value="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">URI</option>
<option value="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">Basic</option>
</select>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
buttons=[{
'title': 'deleteEntry',
'icon': 'minus-sign'
},{
'title': 'addSamlAttribute',
'icon': 'plus-sign'
}];
</script>