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