+++ /dev/null
- <!-- /*
- * ============LICENSE_START=======================================================
- * ONAP : SDNC-FEATURES
- * ================================================================================
- * Copyright 2018 TechMahindra
- *=================================================================================
- * 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="ReportMain">
- <div class="heading"><img src="static/images/compare.png" width=45 height="40" style="margin-left:5px;"> Compare Configruation</div>
- <form name="myForm" class="Formclass">
- <div growl></div>
- <div class="row" style="background-color:#f2f2f2;width:100%;margin-left:1px; border: 1px solid #ddd;">
- <div class="column" style="width:30%;background-color:#f2f2f2;height:55px;margin-left:40px;">
- <label class="labeltext">Select Avaliable VNF</label>
- </div>
- <div class="column" style="background-color:#f2f2f2;width:60%;height:55px;margin-left:0px;">
- <select class="form-control" style="width:100%;margin-top:0px;" ng-model="selectedValueVnf" ng-change="selectVnf(selectedValueVnf)">
- <option ng-repeat="vnf in objvnfList" value="{{vnf.vnfid}}">VnfId- {{vnf.vnfid}} VnfName- {{vnf.vnfname}}</option>
- <option value="">Select VNFId</option>
- </select>
- </div>
- </div>
- <table class="tableDisplay" ng-show="ShowResult" id="tableToExport" style="margin-top:15px;">
- <tr class="first_row" style="background-color:#6D7B8D;">
- <th>SNo.
- </th>
- <th>VersionNo
- </th>
- <th>Backup Date
- </th>
- <th>Updated Date
- </th>
- <th>Action</th>
- </tr>
- <tr ng-repeat="version in pagedItems[currentPage] | orderBy:sort.sortingOrder:sort.reverse">
- <td>{{ ($index + 1) + (currentPage - 1) * itemsPerPage + 5}}</td>
- <td>{{version.vnfversion}}</td>
- <td>{{version.createdAt}}</td>
- <td>{{version.updatedAt}}</td>
- <td><input type=checkbox ng-model="version.selected">
- </td>
- </tr>
-
- <td colspan="5" ng-if="pagedItems.length > 5">
- <!-- ng-show="pagedItems.length > 5" -->
- <ul class="pagination pull-right">
- <li ng-class="{disabled: currentPage == 0}"><a href
- ng-click="prevPage()">«</a></li>
- <li ng-repeat="n in range(pagedItems.length, currentPage, currentPage + gap) "
- ng-class="{active: n == currentPage}" ng-click="setPage()"><a
- href ng-bind="n + 1">1</a></li>
- <li ng-class="{disabled: (currentPage) == pagedItems.length - 1}">
- <a href ng-click="nextPage()">»</a>
- </li>
- </ul>
- </td>
-
- <tr>
- <td colspan="5">
- <div class="row pull-right">
- <button type="button" class="btnview" ng-click="ViewConfig(objVersion)" ng-show="showView" ng-model="version.selected" >View Config</button>
- <button type="button" class="btnapplycfg" ng-click="ApplyConfig(objVersion)" >Apply Config</button>
- <button type="button" class="btnCompareVersion" ng-click="CompareConfig(objVersion)" ng-show="showCompare" ng-model="version.selected" >Compare Config</button>
- </div>
- </td>
- </tr>
- </table>
- <div id="compare" ng-form = "compare" ng-include="" src="'static/views/form-deviceConfig.html'"></div>
- <div id="view" ng-form = "view" ng-include="" src="'static/views/form-deviceConfigView.html'"></div>
-
- </form>
-</div>
\ No newline at end of file