| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title">{{translateTitle(currentNode)}}</h3> |
| 4 | </div> |
| 5 | <div class="table-container"> |
| 6 | <table class="table table-striped"> |
| 7 | <thead> |
| 8 | <tr> |
| 9 | <th trspan="variableName"></th> |
| 10 | <th trspan="attributeName"></th> |
| 11 | <th trspan="friendlyName"></th> |
| 12 | <th trspan="mandatory"></th> |
| 13 | <th trspan="format"></th> |
| 14 | <th></th> |
| 15 | </tr> |
| 16 | </thead> |
| 17 | <tbody> |
| 18 | <tr ng-repeat="s in currentNode.nodes"> |
| 19 | <td><input class="form-control" ng-model="s.title"/></td> |
| 20 | <td><input class="form-control" ng-model="s.data[1]"/></td> |
| 21 | <td><input class="form-control" ng-model="s.data[3]"/></td> |
| 22 | <td> |
| 23 | <div class="input-group-solid" role="radiogroup"> |
| 24 | <label class="radio-inline"> |
| 25 | <input id="samOn/{{$index}}" type="radio" value="1" ng-model="s.data[0]" role="radio" aria-describedby="lsamOn{{$index}}"/> |
| 26 | <span id="lsamOn{{$index}}" for="samOn/{{$index}}" trspan="on"></span> |
| 27 | </label> |
| 28 | <label class="radio-inline"> |
| 29 | <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}}"/> |
| 30 | <span id="lsamOff{{$index}}" for="samOff/{{$index}}" trspan="off"></span> |
| 31 | </label> |
| 32 | </div> |
| 33 | </td> |
| 34 | <td> |
| 35 | <select class="form-control" id="safselect" ng-model="s.data[2]"> |
| 36 | <option value="" ng-selected="s.data[2]==null||s.data[2]==''"></option> |
| 37 | <option value="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">Unspecified</option> |
| 38 | <option value="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">URI</option> |
| 39 | <option value="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">Basic</option> |
| 40 | </select> |
| 41 | </td> |
| 42 | <td> |
| 43 | <span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"></span> |
| 44 | <span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'addSamlAttribute'})"></span> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | </div> |
| 50 | </div> |
| 51 | |
| 52 | <script type="text/menu"> |
| 53 | [{ |
| 54 | "title": "addSamlAttribute", |
| 55 | "icon": "plus-sign" |
| 56 | }] |
| 57 | </script> |