Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<div class="page-header" >
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h1>All registered available Images</h1>
<h3>View and manage registered Images</h3>
<a class="btn btn-success btn-lg" data-toggle="modal" ng-href="#!/vfimage_upload">
<i class="fa fa-upload fa-2x pull-left"></i> Register Image<br>archive</a>
<br>
<br>
<table id="grid1" tr-ng-grid="" class="usersGrid" items="vfimages" page-items="50"
fields="['id', 'name', 'published', 'shortDescription', 'owner.username']">
<thead>
<tr>
<th field-name="id" display-name="Id" cell-width="5em" display-align="right"></th>
<th field-name="name" display-name="Name"></th>
<th field-name="published" display-name="Published"></th>
<th>
<div class="tr-ng-title">
Date created
</div>
</th>
<th>
<div class="tr-ng-title">
Date updated
</div>
</th>
<th>
<div class="tr-ng-title">
Public URL
</div>
</th>
<th>
<div class="tr-ng-title">
Local repository
</div>
</th>
<th>
<div class="tr-ng-title">
Used by VNF:
</div>
</th>
<th>
<div class="tr-ng-title">
Deployed to VIMs:
</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td nowrap="nowrap" >
<p> {{gridItem.dateCreated| date:'medium'}} </p>
</td>
<td nowrap="nowrap" >
<p> {{gridItem.dateUpdated| date:'medium'}} </p>
</td>
<td nowrap="nowrap" >
<a ng-show="gridItem.publicURL" href="{{gridItem.publicURL}}">Download</a>
</td>
<td><a ng-show="gridItem.packageLocation" href="{{gridItem.packageLocation}}">Download</a></td>
<td nowrap="nowrap" >
<div ng-repeat="rvxf in gridItem.refVxFs">{{rvxf.name}} {{$last ? '' : ', '}}</div>
</td>
<td nowrap="nowrap" >
<div ng-repeat="vim in gridItem.deployedInfrastructures">{{vim.name}} {{$last ? '' : ', '}}</div>
</td>
<td nowrap="nowrap" >
<a class="btn btn-primary" ng-href="#!/vfimage_edit/{{gridDisplayItem.id}}"><i class="fa fa-pencil-square-o "></i></a>
<a class="btn btn-danger" ng-click="deleteVFImage(gridItem, gridItem.id)"><i class="fa fa-trash-o "></i></a>
<a class="btn btn-info" ng-href="#!/vfimage_view/{{gridDisplayItem.id}}"><i class="fa fa-info-circle "></i></a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>