Merge "Add common openstack opertation scenarios: router & port"
[yardstick.git] / gui / app / views / podupload.html
1 <!--pod file upload-->
2
3 <div class="content">
4     <div style="display:flex;flex-direction:row;">
5         <div style="width:750px;">
6             <!--<i class="fa fa-arrow-left fa-1x" aria-hidden="true" style="color: #999;cursor:pointer" ng-click="goBack()">Back</i>-->
7
8
9             <h3>{{name}} -- Pod File
10                 <button class="btn btn-default" style="float:right" ng-click="goNext()">Next</button>
11             </h3>
12             <!--<p>In this process, you can input your define openrc config or upload a openrc file</p>-->
13
14             <hr/>
15
16             <button class="btn btn-default" ngf-select="uploadFiles($file, $invalidFiles)" ngf-max-size="1024MB">
17                                     <div ng-show="!loadingOPENrc">Upload</div>
18                                      <img src="images/loading2.gif" width="25" height="25" ng-if="loadingOPENrc" />
19             </button>
20             <button class="btn btn-default" ng-click="openDeleteEnv(1,'pod')">Delete</button>
21
22             <!--<div ng-show="displayOpenrcFile!=null || displayOpenrcFile!=undefined ||podData.pod.nodes!=null ">
23                 {{displayOpenrcFile.name}} last modified: {{filelastModified}}
24             </div>-->
25
26             <hr/>
27
28             <div>
29                 <h4 ng-show="podData.pod.nodes==null">No Pod Configuration</h4>
30                 <div ng-show="podData.pod.nodes!=null">
31                     <h4>Current Pod Configuration</h4>
32                     <table class="table table-striped">
33
34                         <tr>
35                             <th>ip</th>
36                             <th>name</th>
37                             <th>password</th>
38                             <th>role</th>
39                             <th>user</th>
40                         </tr>
41                         <tr ng-repeat="pod in podData.pod.nodes">
42                             <td>{{pod.ip}}</td>
43                             <td>{{pod.name}}</td>
44                             <td>{{pod.password}}</td>
45                             <td>{{pod.role}}</td>
46                             <td>{{pod.user}}</td>
47
48                         </tr>
49
50
51
52                     </table>
53                 </div>
54             </div>
55
56
57
58
59
60
61
62
63
64
65         </div>
66         <!--<div style="margin-top:60px;margin-left:67px;">
67             <h3>Openrc parameters</h3>
68             <div>
69                 You have already set up the openrc parameters
70             </div>
71             <div ng-repeat="(key,value) in openrcInfo.openrc">
72                 <nobr>
73                     <font style="font-weight:600;font-size:15px;">{{key}} : </font>
74                     <font style="font-size:15px;">{{value}}</font>
75                 </nobr>
76             </div>
77         </div>-->
78
79     </div>
80
81 </div>
82 <toaster-container></toaster-container>
83
84 <style>
85     .form-control {
86         border-radius: 5px;
87         width: 200px;
88         margin-bottom: 10px;
89     }
90
91     .uploadbutton {
92         background-color: #007ACC;
93         color: #fff;
94         border: 0px;
95         border-radius: 5px;
96         height: 27px;
97     }
98
99     .edit-title {
100         border: 0px;
101         background-color: #ffffff;
102         margin-bottom: 5px;
103         font-size: 12px;
104     }
105
106     .null-edit-title {
107         border: 1px solid #e5e6e7;
108         border-radius: 5px;
109         margin-bottom: 3px;
110     }
111
112     .item-info {
113         display: flex;
114         flex-direction: row;
115     }
116
117     .delete-img {
118         width: 15px;
119         height: 15px;
120         opacity: 0.8;
121         margin-left: -10px;
122         margin-top: -3px;
123         cursor: pointer;
124     }
125
126     .nextButton {
127         margin-top: 30px;
128         border: none;
129         border-radius: 5px;
130         padding: 6px;
131         background-color: #339933;
132         color: #ffffff;
133         text-align: center;
134         /* margin-left: 300px; */
135     }
136 </style>