Draft of React test
[clamp.git] / src / main / resources / META-INF / resources / designer / partials / portfolios / extra_user_info.html
1 <!--
2   ============LICENSE_START=======================================================
3   ONAP CLAMP
4   ================================================================================
5   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights
6                               reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License"); 
9   you may not use this file except in compliance with the License. 
10   You may obtain a copy of the License at
11   
12   http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software 
15   distributed under the License is distributed on an "AS IS" BASIS, 
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
17   See the License for the specific language governing permissions and 
18   limitations under the License.
19   ============LICENSE_END============================================
20   ===================================================================
21   
22   -->
23
24 <div attribute-test="extrauserinfo" id="configure-widgets">
25     <div attribute-test="extrauserinfoh" class="modal-header">
26         <button type="button" class="close" ng-click="close(false)" aria-hidden="true" style="margin-top: -3px">&times;</button>
27         <h4>User Info</h4>
28     </div>
29     <div attribute-test="extrauserinfot" class="modal-body" style="text-align:center;">
30         <div>
31                 <b style="font-size:14px;">Current User</b>: {{userInfo["userName"]}}
32         </div>
33         <div>
34                 <b style="font-size:14px;">CLDS Version</b>: {{userInfo["cldsVersion"]}}
35         </div>
36         <br>
37         <div>
38                 <b style="font-size:14px;">User Permissions:</b>
39                 <div ng-if="userInfo['permissionReadTemplate']">Read Template</div>
40                 <div ng-if="userInfo['permissionReadCl']">Read Model</div>
41                 <div ng-if="userInfo['permissionReadTosca']">Read Tosca</div>
42                 <div ng-if="userInfo['permissionUpdateCl']">Edit Model</div>
43                 <div ng-if="userInfo['permissionUpdateTemplate']">Edit Template</div>
44                 <div ng-if="userInfo['permissionUpdateTosca']">Edit Tosca</div>
45         </div>
46     </div>
47     <div attribute-test="extrauserinfof" class="modal-footer">
48         <!-- <button ng-click="Ok()" class="btn btn-primary">Save Changes</button> -->
49         <button ng-click="close(true)" class="btn btn-primary">Close</button>
50     </div>
51 </div>