2015-05-14 08:44:38 +02:00
|
|
|
<!--
|
|
|
|
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">
|
2015-05-14 08:44:38 +02:00
|
|
|
<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>
|
2015-05-14 08:44:38 +02:00
|
|
|
<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>
|
2015-07-21 08:58:58 +02:00
|
|
|
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"/>
|
|
|
|
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newEntry',action:'newHashEntry'})"/>
|
2015-05-14 08:44:38 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
2015-07-21 08:58:58 +02:00
|
|
|
</table>
|
2015-05-14 08:44:38 +02:00
|
|
|
</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
|
|
|
}]
|
2015-05-14 08:44:38 +02:00
|
|
|
</script>
|