Initial OpenECOMP MSO commit
[so.git] / bpmn / MSOURN-plugin / src / main / resources / plugin-webapp / urnMap-plugin / app / dashboard.html
1 <!--
2   ============LICENSE_START=======================================================
3   ECOMP MSO
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ============LICENSE_END=========================================================
19   -->
20
21 <div class="form-group container">  
22         <form novalidate="novalidate" class="simple-form" name="urnMapper">               
23                 <div class="panel panel-default">  
24                         <div class="panel-heading" style="padding:3px;background:#871020 !important;color:#fff"> <h3 style="margin:1px" class="heading">Process Engine - URN Mapping</h3></div>
25                         <div class="panel-body">
26                                 <div class="well">
27                                         <div class="input-group well" style="padding:5px">                                      
28                                                 <input id="new_key" class="form-control input-md"  placeholder="New URN Key"   size="25" type="text"  name="URNName"  value="" ng-blur="enableAddRowBtn()">
29                                                 <span class="input-group-btn" style="width:0px;"></span>
30                                                 <input type="text" class="form-control input-md" size="55" style="margin-left:-1px" id="new_value" placeholder="New URN Value"  name="URNValue" />
31                                                 <span class="input-group-btn" style="width:0px;"></span>                                
32                                                 <span class="input-group-btn">
33                                                         <button class="btn btn-primary" type="button" id="addRow_BTN" data-ng-click="addNewRow(); setTimeout( retrieveData(), 1000);" disabled data-original-title="" title="">Add!</button>
34                                                 </span>
35                                         </div>
36                                         <div>
37                                           <table cellpadding="0" cellspacing="0" class="table responsive" widht="100%">
38                                                 <tbody>        
39                                                   <tr data-ng-repeat="urnData in UrnDataMap">       
40                                                          <td>
41                                                                 <div class="input-group">
42                                                                   <input id="{{ urnData.urnname }}_key" type="text"  style="border:0px solid #bfbfbf" size="25" class="form-control input-md" ng-blur="SaveRow( urnData )" value="{{ urnData.urnName }}" data-ng-model= "urnData.urnname" data-ng-change="enableButton(urnData)"/>
43                                                                   <span class="input-group-btn" style="width:0px;"></span>
44                                                                   <input id="{{ urnData.urnname }}_value" type="text" style="border:0px solid #dfdfdf;border-left:1px solid #bfbfbf" size="55" class="form-control input-md" ng-blur="SaveRow( urnData )" value="{{ urnData.urnvalue }}" data-ng-model="urnData.urnvalue" data-ng-change="enableButton(urnData)"/>
45                                                                   <span class="input-group-btn">
46                                                                         <button disabled="true" class="btn btn-primary" type="button" id="btn_{{ urnData.urnname }}_key" data-ng-click="SaveRow( urnData ); setTimeout( retrieveData(), 1000);">
47                                                                                 <span class="glyphicon glyphicon-floppy-disk"></span>
48                                                                         </button>
49                                                                   </span>
50                                                                 </div><!-- /input-group -->
51                                                          </td>      
52                                                          <!-- 
53                                                         <td><button id="btn_{{ urnData.urnname }}_key" data-ng-click="SaveRow( urnData )" disabled>SaveRecord</button> </td>
54                                                          -->
55                                                   </tr>       
56                                                 </tbody>
57                                           </table>      
58                                         </div>
59                                 </div>
60                         </div>
61                 </div>
62         </form>
63 </div>