43 lines
1.3 KiB
HTML
43 lines
1.3 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><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 ng-if="currentCfg.cfgAuthor">
|
|
<th><span trspan="author" /></th>
|
|
<td>{{currentCfg.cfgAuthor}}</td>
|
|
</tr>
|
|
<tr ng-if="currentCfg.cfgAuthorIP">
|
|
<th><span trspan="authorIPAddress" /></th>
|
|
<td>{{currentCfg.cfgAuthorIP}}</td>
|
|
</tr>
|
|
<tr ng-if="currentCfg.cfgDate">
|
|
<th><span trspan="date" /></th>
|
|
<td>{{currentCfg.date}}</td>
|
|
</tr>
|
|
<tr ng-if="currentCfg.cfgLog">
|
|
<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>
|