diff options
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/policyApp/policy-models/Editor/src/templates/navbar.html')
-rw-r--r-- | ecomp-sdk-app/src/main/webapp/app/policyApp/policy-models/Editor/src/templates/navbar.html | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/policy-models/Editor/src/templates/navbar.html b/ecomp-sdk-app/src/main/webapp/app/policyApp/policy-models/Editor/src/templates/navbar.html new file mode 100644 index 000000000..9bd272819 --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/policy-models/Editor/src/templates/navbar.html @@ -0,0 +1,127 @@ +<!-- + ============LICENSE_START======================================================= + ECOMP Policy Engine + ================================================================================ + Copyright (C) 2017 AT&T Intellectual Property. 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. + ============LICENSE_END========================================================= + --> + + <div class="container-fluid"> + <div class="navbar-header"> + <a class="heading1" href="" ng-click="fileNavigator.goTo(-1)">{{config.appName}}</a> + <div ng-show ="isDisabled" class="ion-locked" style="clear: left; float: left"> + </div> + </div> + <div id="navbar" class="navbar-collapse collapse"> + <div class="navbar-form navbar-right" ng-hide="isDisabled"> + <button class="btn btn-default btn-sm" ng-show="superAdminId" data-toggle="modal" data-target="#newfolder" ng-click="touch()"> + <i class="glyphicon glyphicon-plus"></i> {{"create_folder" | translate}} + </button> + <button class="btn btn-default btn-sm" ng-show="importPolicyId" data-toggle="modal" data-target="#uploadfile" ng-show="config.allowedActions.upload" ng-click="touch()"> + <i class="glyphicon glyphicon-upload"></i> {{"upload_file" | translate}} + </button> + <button class="btn btn-default btn-sm" ng-show="exportPolicyId" data-toggle="modal" data-target="#exportPolicy" ng-show="config.allowedActions.exportPolicy"> + <i class="glyphicon glyphicon-download"></i> Export + </button> + <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">Search</button> + </div> + </div> + <div id="demo" class="collapse"> + <div class="navbar-form navbar-left"> + <input type="text" class="form-control input-lg" ng-disabled="isDisabled" style = "width:900px" placeholder="{{'search'}}..." ng-model="search.query"/> + <button type="button" class="btn btn-info" ng-click= "Search(search);"><span class="glyphicon glyphicon-search"></span> Search</button> + <button class="btn btn-default btn-sm" ng-click="search.query = null">Clear Search </button> + </div> + <br> + <div class="fn-ebz-container"> + <div class="fn-ebz-container"> + <label class="fn-ebz-text-label">Policy Type:</label><BR> + <select class="form-field" ng-model="search.policyType"> + <option>action</option> + <option>config</option> + <option>closedLoop</option> + <option>decision</option> + <option>all</option> + </select> + </div> + <div class="fn-ebz-container"> + <label class="fn-ebz-text-label">Descriptive Type:</label><BR> + <select class="form-field" ng-model="search.descriptiveScope" ng-options="option for option in descriptiveScopeDictionaryDatas track by option"></select> + </div> + <div class="fn-ebz-container" ng-if="search.policyType == 'closedLoop'"> + <div class="fn-ebz-container"> + <label class="fn-ebz-text-label">ClosedLoop Policy Type:</label><BR> + <select class="form-field" ng-model="search.closedLooppolicyType"> + <option>Config_Fault</option> + <option>Config_PM</option> + </select> + </div> + <div class="fn-ebz-container"> + <label class="fn-ebz-text-label">Ecomp Name:</label><BR> + <select class="form-field" ng-model="search.ecompName" ng-options="option for option in ecompNameDictionaryDatas track by option"></select> + </div> + <div class="fn-ebz-container"> + <label class="fn-ebz-text-label">D2 Service:</label><BR> + <select class="form-field" ng-model="search.d2Service"> + <option>Hosted Voice(Trinity)</option> + <option>vUSP</option> + <option>MCR</option> + <option>Gamma</option> + <option>vDNS</option> + </select> + </div> + <div class="fn-ebz-container" ng-if="search.closedLooppolicyType == 'Config_Fault'"> + <label class="fn-ebz-text-label">VNF Type:</label><BR> + <select class="form-field" ng-model="search.vnfType" ng-options="option for option in vnfTypeDictionaryDatas track by option"></select> + </div> + <div class="fn-ebz-container" ng-if="search.closedLooppolicyType == 'Config_Fault'"> + <label class="fn-ebz-text-label">Policy Status:</label><BR> + <select class="form-field" ng-model="search.policyStatus"> + <option>Active</option> + <option>InActive</option> + </select> + </div> + <div class="fn-ebz-container" ng-if="search.closedLooppolicyType == 'Config_Fault'"> + <label class="fn-ebz-text-label">vPRO Action:</label><BR> + <select class="form-field" ng-model="search.vproAction" ng-options="option for option in vsclActionDictionaryDatas track by option"></select> + </div> + <div class="fn-ebz-container" ng-if="search.closedLooppolicyType == 'Config_PM'"> + <label class="fn-ebz-text-label">Service Type:</label><BR> + <select class="form-field" ng-model="search.serviceType"> + <option>Registration Failure(Trinity)</option> + <option>International Fraud(Trinity)</option> + <option>No Dial Tone(Trinity)</option> + <option>Call Storm(Trinity)</option> + <option>Registration Storm(Trinity)</option> + </select> + </div> + <div class="fn-ebz-container"> + <label class="fn-ebz-text-label">Bind Text Search to:</label><BR> + <select class="form-field" ng-model="search.bindTextSearch"> + <option>Email Address</option> + <option>Trigger Signature</option> + <option>Connect All Traps</option> + <option>Verification Signature</option> + <option>Connect All Faults</option> + <option>Onset Message</option> + <option>Policy Name</option> + <option>Abatement Message</option> + <option>Geo Link</option> + </select> + </div> + </div> + </div> + </div> + </div> |