diff options
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html')
-rw-r--r-- | usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html index eb6c50fb..67acab0f 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html @@ -70,7 +70,7 @@ <div class="col-md-6" style="width:100%;padding-bottom:20px;"> <p> <div style="float:left;padding-right:30px;"> - <label style="float:left;width:80px;line-height:30px;">sourceId:</label> + <label style="float:left;width:80px;line-height:30px;">*sourceId:</label> <div style="float:left;width:130px;"> <select class="form-control" ng-change="sourceIdChanged()" ng-model="sourceId" ng-options="s for s in sourceIds" > <option value="">--- chose ---</option> @@ -78,35 +78,46 @@ </div> </div> <div style="float:left;padding-right:30px" ng-show="namesPIsShow"> - <label style="float:left;width:50px;line-height:30px;">name:</label> + <label style="float:left;width:50px;line-height:30px;">*name:</label> <div style="float:left;width:130px;"> <select class="form-control" ng-change="namePChanged()" ng-model="nameP" ng-options="np for np in namePs" > <option value="">--- chose ---</option> </select> </div> </div> - <div style="float:left;padding-right:30px" ng-show="namesCIsShow" style="float:left"> + <!--<div style="float:left;padding-right:30px" ng-show="namesCIsShow" style="float:left"> <label style="float:left;width:50px;line-height:30px;">name:</label> <div style="float:left;width:130px;"> <select class="form-control" ng-model="nameC" ng-change="nameCChanged()" ng-options="nc for nc in nameCs" > - <option value="">--- chose ---</option> + <option value="">--- chose ---</option> </select> </div> - </div> - <div ng-show="goIsShow" style="float:left"> - <button style="padding-top:6px;" class="btn btn-default" ng-click="genDiagram()">submit</button> + </div>--> + <div style="float:left"> + <button ng-disabled="goIsShow" style="padding-top:6px;" class="btn btn-default" ng-click="genDiagram()">submit</button> </div> </p> </div> - + <div style="float:left;padding-left:15px;"> + <label style="float:left;width:90px;line-height:30px;">show mode:</label> + <div style="float:left;width:100px;"> + <select class="form-control" ng-change="showModeIdChanged()" ng-model="showModeId" + ng-options="sm for sm in showModeIds"> + <option value="">-- auto --</option> + </select> + </div> + </div> + <div class="col-md-12 col-sm-12" > - <div class="panel panel-success" ng-show="chartShow"> - <div class="panel-heading">Chart + <div class="panel panel-success" ng-show="chartShow" > + <!--<div class="panel-heading">Chart <button ng-click="generateCsv('cpu');" class="btn btn-primary" style="float: right;margin-top:-7px;display: none ">CSV</button> - </div> - <div id="chart_performance"> <svg></svg> </div> - </div> - </div> + </div>--> + <div ng-show="ndaShow" style="text-align: center"><h2>No Data Available</h2></div> + <nvd3 ng-show="hdaShow" options="options" data="data" api="api" ></nvd3> + </div> + + </div> </div> </div> <br /> |