| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title"> |
| 4 | |
| 5 | <span ng-if="!currentCfg.next" trspan="currentConfiguration"></span> |
| 6 | <span ng-if="currentCfg.next" trspan="loadedConfiguration"></span> |
| 7 | <i ng-if="currentCfg.prev && allowDiff">(<a trspan="diffWithPrevious" target="_blank" href="{{scriptname}}/viewDiff.html#!/{{currentCfg.cfgNum}}" role="link"></a>)</i> |
| 8 | |
| 9 | </h3> |
| 10 | </div> |
| 11 | <table class="table table-striped"> |
| 12 | <tr> |
| 13 | <th><span trspan="number"></span></th> |
| 14 | <td> |
| 15 | <span id="cfgnum" class="label label-success" comment="{{translateP('__newCfgAvailable__')}}" ng-class="{'label-warning':currentCfg.next}">{{currentCfg.cfgNum}}</span> |
| 16 | </td> |
| 17 | </tr> |
| 18 | <tr ng-if="currentCfg.cfgAuthor"> |
| 19 | <th><span trspan="author"></span></th> |
| 20 | <td>{{currentCfg.cfgAuthor}}</td> |
| 21 | </tr> |
| 22 | <tr ng-if="currentCfg.cfgAuthorIP"> |
| 23 | <th><span trspan="authorIPAddress"></span></th> |
| 24 | <td>{{currentCfg.cfgAuthorIP}}</td> |
| 25 | </tr> |
| 26 | <tr ng-if="currentCfg.cfgDate"> |
| 27 | <th><span trspan="date"></span></th> |
| 28 | <td>{{currentCfg.date}}</td> |
| 29 | </tr> |
| 30 | <tr ng-if="currentCfg.cfgVersion"> |
| 31 | <th><span trspan="cfgVersion"></span></th> |
| 32 | <td>{{currentCfg.cfgVersion}}</td> |
| 33 | </tr> |
| 34 | <tr ng-if="currentCfg.cfgLog"> |
| 35 | <th><span trspan="cfgLog"></span></th> |
| 36 | <td id="cfglog">{{currentCfg.cfgLog}}</td> |
| 37 | </tr> |
| 38 | </table> |
| 39 | </div> |
| 40 | <script type="text/menu"> |
| 41 | [{ |
| 42 | "title": "downloadIt", |
| 43 | "action": "downloadConf", |
| 44 | "icon": "export" |
| 45 | },{ |
| 46 | "title": "restore", |
| 47 | "icon": "import" |
| 48 | }] |
| 49 | </script> |