31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
<!--
|
|
This form is for hash container with readonly names
|
|
Keys like virtual host hostname uses hashkey.html
|
|
-->
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table">
|
|
<tbody class="input-group">
|
|
<tr><th width="30%" trspan="keys"></th><th width="70%" trspan="values"></th></tr>
|
|
<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>
|
|
<span class="link glyphicon glyphicon-minus-sign" ng-click="del(currentNode.nodes,$index)"/>
|
|
<span ng-if="$last" class="link glyphicon glyphicon-plus-sign" ng-click="menuClick({title:'newEntry',action:'newHashEntry'})"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
buttons=[{
|
|
'title': 'newEntry',
|
|
'action': 'newHashEntry'
|
|
}];
|
|
</script>
|