lemonldap-ng/lemonldap-ng-manager/site/static/forms/home.html

43 lines
1.3 KiB
HTML
Raw Normal View History

<div class="panel panel-default">
2015-07-09 17:38:35 +02:00
<div class="panel-heading">
<h3 class="panel-title">
<span ng-if="!currentCfg.next" trspan="currentConfiguration"></span>
<span ng-if="currentCfg.next" trspan="loadedConfiguration"></span>
</h3>
</div>
2015-07-13 18:03:42 +02:00
<table class="table table-striped">
<tr>
<th><span trspan="number"></span></th>
2015-07-13 18:03:42 +02:00
<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"></span></th>
2015-07-13 18:03:42 +02:00
<td>{{currentCfg.cfgAuthor}}</td>
</tr>
<tr ng-if="currentCfg.cfgAuthorIP">
<th><span trspan="authorIPAddress"></span></th>
2015-07-13 18:03:42 +02:00
<td>{{currentCfg.cfgAuthorIP}}</td>
</tr>
<tr ng-if="currentCfg.cfgDate">
<th><span trspan="date"></span></th>
2015-07-13 18:03:42 +02:00
<td>{{currentCfg.date}}</td>
</tr>
<tr ng-if="currentCfg.cfgLog">
<th><span trspan="cfgLog"></span></th>
2016-01-13 21:45:28 +01:00
<td id="cfglog">{{currentCfg.cfgLog}}</td>
2015-07-13 18:03:42 +02:00
</tr>
</table>
</div>
2016-02-16 07:21:40 +01:00
<script type="text/menu">
[{
"title": "downloadIt",
"action": function(c,$scope){window.open($scope.confPrefix+$scope.currentCfg.cfgNum+'?full');},
"icon": "export"
},{
"title": "restore",
"icon": "import"
2016-02-16 07:21:40 +01:00
}]
</script>