56 lines
2.4 KiB
HTML
56 lines
2.4 KiB
HTML
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title" trspan="samlAttribute"></h3>
|
|
</div>
|
|
<!-- Key Name -->
|
|
<div class="panel-body input-group">
|
|
<label for="sakinput" id="saklabel" class="input-group-addon"><span trspan="keyname"></span> :</label>
|
|
<input aria-describedby="saklabel" id="sakinput" class="form-control" ng-model="currentNode.title"/>
|
|
</div>
|
|
<!-- Name -->
|
|
<div class="panel-body input-group">
|
|
<label for="saninput" id="sanlabel" class="input-group-addon"><span trspan="name"></span> :</label>
|
|
<input aria-describedby="sanlabel" id="saninput" class="form-control" ng-model="currentNode.data[1]"/>
|
|
</div>
|
|
<!-- Friendly Name -->
|
|
<div class="panel-body input-group">
|
|
<label for="safinput" id="saflabel" class="input-group-addon"><span trspan="friendlyName"></span> :</label>
|
|
<input aria-describedby="saflabel" id="safinput" class="form-control" ng-model="currentNode.data[3]"/>
|
|
</div>
|
|
<!-- Mandatory -->
|
|
<div class="panel-body">
|
|
<span class="input-group">
|
|
<span class="input-group-addon"><span trspan="mandatory"/> :</span>
|
|
<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"/>
|
|
</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&¤tNode.data[0]!=='1'"/>
|
|
<span trspan="off"/>
|
|
</label>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
<!-- Format -->
|
|
<div class="panel-body input-group">
|
|
<label for="safselect" id="saflbl" class="input-group-addon"><span trspan="format"/> :</label>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
buttons=[{
|
|
'title': 'deleteEntry',
|
|
'icon': 'minus-sign'
|
|
},{
|
|
'title': 'addSamlAttribute',
|
|
'icon': 'plus-sign'
|
|
}];
|
|
</script>
|