2 ============LICENSE_START==========================================
4 ===================================================================
5 Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 ===================================================================
8 Unless otherwise specified, all software contained herein is licensed
9 under the Apache License, Version 2.0 (the “License”);
10 you may not use this software except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
21 Unless otherwise specified, all documentation contained herein is licensed
22 under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
23 you may not use this documentation except in compliance with the License.
24 You may obtain a copy of the License at
26 https://creativecommons.org/licenses/by/4.0/
28 Unless required by applicable law or agreed to in writing, documentation
29 distributed under the License is distributed on an "AS IS" BASIS,
30 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 See the License for the specific language governing permissions and
32 limitations under the License.
34 ============LICENSE_END============================================
36 ECOMP is a trademark and service mark of AT&T Intellectual Property.
38 <div class="manage-widget-parameter-header">
40 <div class="b2b-modal-header">
41 <h2 class="title" id="manage-widget-parameters-title">Manage Widgets Parameters Page</h2>
43 <div class="corner-button in">
44 <button type="button" class="close" aria-label="Close"
45 ng-click="$dismiss('cancel')"></button>
49 <div class="b2b-modal-body">
50 <div class="widgets-popup-margin">
51 <div class="get-access-table">
52 <div class="table-control manage-widget-parameters-table">
53 <div class="c-ecomp-att-abs-table manage-widget-parameters-table-details">
54 <table b2b-table id="table-main" table-data="ignoredTableData"
55 current-page="ignoredCurrentPage" ng-show="isLoadingTable">
56 <thead b2b-table-row type="header">
58 <th id="th-users-2" b2b-table-header key="href" sortable="true">Parameter
60 <th id="th-users-3" b2b-table-header key="event_date"
61 sortable="true">My Value</th>
62 <th id="th-users-4" b2b-table-header key="content"
63 sortable="true">Default Value</th>
64 <th id="th-users-5" b2b-table-header key="edit" sortable="false">Edit</th>
65 <th id="th-users-5" b2b-table-header key="edit" sortable="false">Reset to Default</th>
68 <tbody b2b-table-row type="body" class="table-body"
69 track-by="$index" row-repeat="rowData in widgetParam">
72 <div id="widget-parameter-td-parameter-key"
73 ng-bind="rowData.param_key"></div>
76 <div id="widget-parameter-td-parameter-user-value"
77 ng-hide="rowData.showEdit" ng-bind="rowData.user_value"></div>
78 <input id="widget-input-user-value" type="text"
79 ng-show="rowData.showEdit"
80 ng-model="widgetParam[$index].user_value" />
84 <div id="widget-parameter-td-parameter-default-value"
85 ng-bind="rowData.default_value"></div>
88 <div ng-hide="rowData.showEdit" ng-click="setEdit($index);">
89 <span class="icon-edit"></span>
90 </div> <span ng-show="rowData.showEdit">
91 <button class="btn btn-alt btn-small" id="admin-button-add" ng-click="modify($index);">Save</button>
95 <div ng-click="resetDefault($index);">
96 <span class="icon-edit"></span>
104 <div ng-show = "messageInfo">
105 There is no parameter assoicated with this widget!
119 $(document).ready(function(){
120 $(".ngdialog-close").attr('id','dialog-close');