1 <!--upload image page-->
4 <div style="display:flex;flex-direction:row;">
5 <div style="width:750px;">
7 <h3>{{environmentInfo.name}} -- Image
8 <button class="btn btn-default" style="float:right" ng-click="goNext()">Next</button>
10 <!--<p>In this process, you can input your define openrc config or upload a openrc file</p>-->
13 <h4>Alternative Images</h4>
15 <table class="table table-striped">
25 <tr ng-repeat="image in yardstickImage">
26 <td>{{image.name}}</td>
27 <td>{{image.description}}</td>
28 <td>{{image.size | number:2}} MB</td>
29 <td>{{image.status}}</td>
30 <td>{{image.time}}</td>
32 <div class="btn-group" uib-dropdown>
33 <button id="single-button" type="button" class="btn btn-default btn-sm" uib-dropdown-toggle>
34 action<span class="caret"></span>
36 <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">
37 <li role="menuitem" ng-show="image.status == 'N/A'"><a ng-click="loadYardstickImage(image.name)">load</a></li>
38 <li role="menuitem" ng-show="image.status != 'N/A'"><a ng-click="deleteYardstickImage(image.name)">delete</a></li>
47 <h4 style="display:inline">Custom Images</h4>
48 <div class="btn-group button-margin" style="float:right;margin-top:-10px;margin-bottom:5px">
49 <button class="btn btn-default" style="width:60px" ngf-select="uploadCustomImage($file, $invalidFiles)" ngf-max-size="2048MB">
50 <div ng-show="!showloading">Local</div>
51 <img src="images/loading2.gif" width="25" height="25" ng-if="showloading" />
53 <button class="btn btn-default" style="width:60px" ng-click="openImageDialog()">Url</button>
56 <table class="table table-striped">
66 <tr ng-repeat="image in customImage">
67 <td>{{image.name}}</td>
68 <td>{{image.description}}</td>
69 <td>{{image.size | number:2}} MB</td>
70 <td>{{image.status}}</td>
71 <td>{{image.time}}</td>
73 <div class="btn-group" uib-dropdown>
74 <button id="single-button" type="button" class="btn btn-default btn-sm" uib-dropdown-toggle>
75 action<span class="caret"></span>
77 <ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button">
78 <li role="menuitem" ><a ng-click="deleteCustomImage(image.id)">delete</a></li>
90 <toaster-container></toaster-container>
100 background-color: #007ACC;
109 background-color: #ffffff;
115 border: 1px solid #e5e6e7;
139 background-color: #339933;
142 /* margin-left: 300px; */
164 text-align: -webkit-match-parent;
172 background-color: #EEEEEE;