43 lines
1.2 KiB
HTML
43 lines
1.2 KiB
HTML
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">
|
|
<span ng-if="!currentCfg.next" trspan="currentConfiguration"/>
|
|
<span ng-if="currentCfg.next" trspan="loadedConfiguration"/>
|
|
</h3>
|
|
</div>
|
|
<table class="table table-striped">
|
|
<tr>
|
|
<th width="20%"><span trspan="number" /></th>
|
|
<td>
|
|
<span id="cfgnum" class="label label-success" comment="{{translateP('__newCfgAvailable__')}}" ng-class="{'label-warning':currentCfg.next}">{{currentCfg.cfgNum}}</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span trspan="author" /></th>
|
|
<td>{{currentCfg.cfgAuthor}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span trspan="authorIPAddress" /></th>
|
|
<td>{{currentCfg.cfgAuthorIP}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span trspan="date" /></th>
|
|
<td>{{currentCfg.date}}</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span trspan="cfgLog" /></th>
|
|
<td>{{currentCfg.cfgLog}}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<script type="text/javascript">
|
|
buttons=[{
|
|
"title": "downloadIt",
|
|
"action": function(c,$scope){window.open($scope.confPrefix+$scope.currentCfg.cfgNum+'?full');},
|
|
"icon": "export"
|
|
},{
|
|
"title": "restore",
|
|
"icon": "import"
|
|
}];
|
|
</script>
|