All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit a68657fc authored by Leigh B Stoller's avatar Leigh B Stoller

Add link to the memlane page.

parent 5c1b0d0c
<?php
#
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -120,6 +120,7 @@ if (mysql_num_rows($query_result) == 0) {
if (1) {
while ($row = mysql_fetch_array($query_result)) {
$uuid = $row["uuid"];
$pname = $row["profile_name"];
$iname = $row["instance_name"];
$pproj = $row["pid"];
......@@ -150,7 +151,7 @@ if (1) {
# Save space with array instead of hash.
$instance =
array($pname, $pproj, $puuid, $pcount, $vcount,
$creator, $created, $destroyed, $phours, $iname);
$creator, $created, $destroyed, $phours, $iname, $uuid);
$instances[] = $instance;
}
......
......@@ -26,6 +26,7 @@
<th>VMs</th>
<th>Created</th>
<th>Destroyed</th>
<th class='filter-false sorter-false'>View</th>
</tr>
<tr>
<th class='filter-false sorter-false'>Totals</th>
......@@ -36,6 +37,7 @@
<th class='filter-false sorter-false' data-math='col-sum'>0</th>
<th class='filter-false sorter-false' data-math='col-count'>0</th>
<th class='filter-false sorter-false'></th>
<th class='filter-false sorter-false'></th>
</tr>
</thead>
<tfoot>
......@@ -48,6 +50,7 @@
<th class='filter-false sorter-false' data-math='col-sum'>0</th>
<th class='filter-false sorter-false' data-math='col-count'>0</th>
<th class='filter-false sorter-false'></th>
<th class='filter-false sorter-false'></th>
</tr>
</tfoot>
<tbody>
......@@ -71,6 +74,10 @@
<td><%- instance[4] %></td>
<td class='format-date'><%- instance[6] %></td>
<td class='format-date'><%- instance[7] %></td>
<td>
<a href='memlane.php?uuid=<%- instance[10] %>' target="_blank">
<span class="glyphicon glyphicon-eye-open"></span></a>
</td>
</tr>
<% }); %>
</tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment