diff options
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html')
-rw-r--r-- | usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html | 136 |
1 files changed, 0 insertions, 136 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html deleted file mode 100644 index dcc6d44a..00000000 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html +++ /dev/null @@ -1,136 +0,0 @@ -<!-- - Copyright (C) 2017 CMCC, Inc. and others. All rights reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<div class="templatemo-content" ng-controller="alarmGridCtrl"> - <h3>VNF Alarm</h3> - <div class="row margin-bottom-20"> - </div> - <div class="table-container" ng-controller="pipeAlarmCtrl as amc"> - <div class="row margin-bottom-10"> - <div class="col-md-4"> - <ul class="nav nav-pills"> - <li style="background-color: #ddd" ng-repeat="O in open" ng-click="selectOpen(O.id,amc.callServer)" ng-class="{active:activeOpen(O.id)}"> - <a href=""> - {{O.name}} - <span class="badge">{{O.count}}</span> - </a> - </li> - <input type="hidden" ng-model="selectedOpen" /> - </ul> - </div> - </div> - <ul class="list" style="padding-left:0;"> - <li>Source Id - <input ng-model="condition1" type="text" /> - </li> - <li>Source Name - <input ng-model="condition2" type="text" /> - </li> - <li>Priority - <input ng-model="condition3" type="text" /> - </li> - <button class="btn btn-primary" ng-click="amc.callServer(tableState)">search</button> - </ul> - <ul class="list" style="padding-left:0;" ng-show='menuState.show'> - <li> - <p class="input-group" style="float:left"> - <div style="float:left;line-height:100px;padding-right:4px;">Start Time</div> - <div style="float:left;padding-top:33px"> - <input type="text" class="form-control" readonly ng-click="open1()" uib-datepicker-popup ng-model="condition4" is-open="popup1.opened" - datepicker-options ng-required="true" close-text="Close" /> - </div> - <div style="display:block;float:left" uib-timepicker ng-model="condition4" hour-step minute-step show-meridian></div> - </p> - </li> - <li> - <p class="input-group" style="float:left"> - <div style="float:left;line-height:100px;padding-right:4px;">End Time</div> - <div style="float:left;padding-top:33px"> - <input type="text" class="form-control" ng-click="open2()" readonly uib-datepicker-popup ng-model="condition5" is-open="popup2.opened" - datepicker-options ng-required="true" close-text="Close" /> - </div> - <div style="display:block;float:left" uib-timepicker ng-model="condition5" hour-step minute-step show-meridian></div> - </p> - </li> - </ul> - <div class="row"> - <div class="col-md-5" style="border-top:1px dotted #ddd"> - </div> - <div class="col-md-2" style="border:1px dotted #ddd;border-top:none;text-align:center" ng-click="toggleMenu()"> - <span class="caret"></span> - </div> - <div class="col-md-5" style="border-top:1px dotted #ddd"> - </div> - </div> - <div class="row"> - <div class="col-md-11"> - <h4 class="margin-bottom-15">Query Result</h4> - </div> - <div class="col-md-1"> - <button ng-click="toChart()" class="btn btn-primary">Chart</button> - </div> - </div> - <div> - <table class="table" st-pipe="amc.callServer" st-table="amc.displayed"> - <thead> - <tr> - <th width="5%">Id</th> - <th width="20%">Event Name</th> - <th width="20%">Source Name</th> - <th width="10%">Priority</th> - <th width="15%">Start Time</th> - <th width="15%">Clear Time</th> - <th width="8%">Status</th> - <th>Option</th> - </tr> - </thead> - <tbody ng-show="!amc.isLoading"> - <tr ng-repeat="row in amc.displayed track by $index"> - <td>{{tableState.pagination.start+$index+1}}</td> - <td>{{row.alarmsHeader.eventName}}</td> - <td>{{row.alarmsHeader.sourceName}}</td> - <td>{{row.alarmsHeader.priority}}</td> - <td>{{row.alarmsHeader.startEpochMicrosec || row.alarmsHeader.lastEpochMicroSec | dateformater}}</td> - <td>{{row.alarmsHeader.startEpochMicrosecCleared || row.alarmsHeader.lastEpochMicrosecCleared | dateformater}}</td> - <td>{{row.alarmsHeader.status}}</td> - <td> - <button ng-click="jump(row.alarmsHeader.id)" class="btn btn-primary">Detail</button> - </td> - </tr> - </tbody> - <tbody ng-show="amc.isLoading"> - <tr> - <td colspan="4" class="text-center"> - <div class="loading-indicator"></div> - </td> - </tr> - </tbody> - <tfoot> - <tr> - <td class="text-center" style="padding-top:30px" colspan="4"> - <label for="items" style="float:left;width:100px;line-height:30px;">items by page</label> - <div style="float:left;width:130px;"> - <input class="input-sm form-control" name="items" id="items" type="number" ng-model="itemsByPagea" /> - </div> - </td> - <td class="text-center" st-pagination="" st-items-by-page="itemsByPagea" st-template="app/uui/fusion/scripts/view-models/pagination.html" - colspan="3"> - </td> - </tr> - </tfoot> - </table> - </div> - </div> -</div>
\ No newline at end of file |