profile-activity.html 1.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<div class='row'>
  <div class='col-lg-12 col-lg-offset-0
              col-md-12 col-md-offset-0
              col-sm-12 col-sm-offset-0
              col-xs-12 col-xs-offset-0'>
    <table class='table table-striped table-condensed'>
      <thead>
	<tr>
	  <th>Vers</th>
	  <th>Creator</th>
	  <th>Created</th>
	  <th>Destroyed</th>
13
	  <th>Logs</th>
14 15 16 17 18 19 20 21 22 23 24
	</tr>
      </thead>
      <tbody>
	<% _.each(instances, function(instance) { %>
	<tr>
	  <td>
	    <a href='manage_profile.php?action=edit&uuid=<%- instance.p_uuid %>'>
	      <%- instance.p_version %></a>
	  </td>
	  <td><%- instance.creator %></td>
	  <td><%- instance.created %></td>
25 26 27 28 29 30
	  <% if (instance.active) { %>
	    <td><a href='status.php?uuid=<%- instance.uuid %>' target="_blank">
	      <span class="glyphicon glyphicon-eye-open"></span></a></td>
	  <% } else { %>
	    <td><%- instance.destroyed %></td>
	  <% } %>
31 32
	  <td><a href='<%- instance.public_url %>' target="_blank">
	    <span class="glyphicon glyphicon-link"></span></a></td>
33 34 35 36 37 38 39 40
	</tr>
	<% }); %>
      </tbody>
    </table>
  </div>
</div>