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

32 lines
1.1 KiB
HTML
Raw Normal View History

<!--
This form is for hash container with readonly names
Keys like virtual host hostname uses hashkey.html
-->
<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-07-21 08:58:58 +02:00
<table class="table table-striped">
<thead>
<tr><th width="40%" trspan="keys"></th><th width="40%" trspan="values"></th><th></th></tr>
</thead>
<tbody>
<tr ng-repeat="s in currentNode.nodes">
<td><input class="form-control" ng-model="s.title"/></td>
<td><input id-"hv-{{s.title}}" class="form-control" ng-model="s.data"/></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:'newEntry',action:'newHashEntry'})"></span>
</td>
</tr>
</tbody>
2015-07-21 08:58:58 +02:00
</table>
</div>
2016-02-16 07:21:40 +01:00
<script type="text/menu">
[{
2017-01-18 17:31:53 +01:00
"title": "newEntry",
"action": "newHashEntry",
"icon": "plus-sign"
2016-02-16 07:21:40 +01:00
}]
</script>