| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
<div class="panel panel-default"> |
| 6 |
<div class="panel-heading"> |
| 7 |
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3> |
| 8 |
</div> |
| 9 |
<table class="table table-striped"> |
| 10 |
<thead> |
| 11 |
<tr><th width="40%" trspan="keys"></th><th width="40%" trspan="values"></th><th></th></tr> |
| 12 |
</thead> |
| 13 |
<tbody> |
| 14 |
<tr ng-repeat="s in currentNode.nodes"> |
| 15 |
<td><input class="form-control" ng-model="s.title"/></td> |
| 16 |
<td><input id-"hv-{{s.title}}" class="form-control" ng-model="s.data"/></td> |
| 17 |
<td> |
| 18 |
<span class="link text-danger glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"></span> |
| 19 |
<span ng-if="$last" class="link text-success glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newEntry',action:'newHashEntry'})"></span> |
| 20 |
</td> |
| 21 |
</tr> |
| 22 |
</tbody> |
| 23 |
</table> |
| 24 |
</div> |
| 25 |
<script type="text/menu"> |
| 26 |
[{ |
| 27 |
"title": "newEntry", |
| 28 |
"action": "newHashEntry", |
| 29 |
"icon": "plus-sign" |
| 30 |
}] |
| 31 |
</script> |