summaryrefslogtreecommitdiffstats
path: root/management-interface/views/images.htm
blob: 6167a8e005f162f5f79a7a9a5032d9f573ac73c4 (plain) (blame)
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
<check if="{{ @loggedin }}">
  <true>
    <div class="container">
      <div class="jumbotron">
        <h2>List of all images</h2>
       	<table class="table table-striped table-responsive">
    	  <thead>
    	    <tr>
    	      <th>UUID</th>
      	      <th>Name</th>
              <th>Owner</th>
              <th>Missing blocks</th>
    		  <th>Path</th>
    	    </tr>
          </thead>
    	  <tbody>
    	    <repeat group="{{ @result }}" value="{{ @item }}">
    	      <tr>
    	        <td style="font-size: 0.8em; white-space: nowrap;">{{ @item.UUID }}</td>
    	        <td>{{ @item.image_name  }}</td>
                <td style="white-space: nowrap;">{{ @item.image_owner  }}</td>
                <td><check if="{{ @item.missingBlocks  }}==''"><true>no</true<false>yes</false></check></td>
    			<td>{{ @item.image_path }}</td>
    	      </tr>
    	    </repeat>
    	  </tbody>
    	</table>
      </div>
    </div> <!-- /container -->
  </true>
  <false>
    <p class="bg-danger">Please <a href="{{ $hostname }}site/login">login</a></p>
  </false>