lemonldap-ng/lemonldap-ng-manager/site/htdocs/static/forms/samlAttributeContainer.html

58 lines
2.4 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">{{translateTitle(currentNode)}}</h3>
</div>
2015-10-23 17:18:47 +02:00
<div class="table-container">
<table class="table table-striped">
<thead>
<tr>
2020-11-06 18:41:19 +01:00
<th trspan="variableName"></th>
<th trspan="attributeName"></th>
<th trspan="friendlyName"></th>
<th trspan="mandatory"></th>
<th trspan="format"></th>
2015-10-23 17:18:47 +02:00
<th></th>
</tr>
2015-10-23 17:18:47 +02:00
</thead>
<tbody>
<tr ng-repeat="s in currentNode.nodes">
<td><input class="form-control" ng-model="s.title"/></td>
<td><input class="form-control" ng-model="s.data[1]"/></td>
<td><input class="form-control" ng-model="s.data[3]"/></td>
<td>
2017-03-24 16:03:40 +01:00
<div class="input-group-solid" role="radiogroup">
<label class="radio-inline">
2017-03-24 16:03:40 +01:00
<input id="samOn/{{$index}}" type="radio" value="1" ng-model="s.data[0]" role="radio" aria-describedby="lsamOn{{$index}}"/>
<span id="lsamOn{{$index}}" for="samOn/{{$index}}" trspan="on"></span>
</label>
<label class="radio-inline">
2017-03-24 16:03:40 +01:00
<input id="samOff/{{$index}}" type="radio" value="0" ng-model="s.data[0]" ng-checked="s.data[0]!==1&&s.data[0]!=='1'" role="radio" aria-describedby="lsamOff{{$index}}"/>
<span id="lsamOff{{$index}}" for="samOff/{{$index}}" trspan="off"></span>
</label>
</div>
</td>
<td>
<select class="form-control" id="safselect" ng-model="s.data[2]">
<option value="" ng-selected="s.data[2]==null||s.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>
<td>
2020-07-28 13:45:54 +02:00
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"></span>
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'addSamlAttribute'})"></span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
2016-02-16 07:21:40 +01:00
<script type="text/menu">
[{
2017-01-18 17:31:53 +01:00
"title": "addSamlAttribute",
"icon": "plus-sign"
2016-02-16 07:21:40 +01:00
}]
</script>