group-detail.html 1.68 KB
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
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load render_table from django_tables2 %}
{% block content %}

<div class="alert alert-info">
  Tip #1: you can select multiple vm instances while holding down the <strong>CTRL</strong> key!
</div>

<div class="alert alert-info">
  Tip #2: if you want to select multiple instances by one click select an instance then hold down <strong>SHIFT</strong> key and select another one!
</div>

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="no-margin"><i class="icon-user"></i> Your users</h3>
      </div>
      <div class="panel-body group-list-group-control">
        <p>
          <strong>Group actions</strong>
          <button id="group-list-group-select-all" class="btn btn-info btn-xs">Select all</button>
          <a id="group-list-group-delete" disabled href="#" class="btn btn-danger btn-xs"><i class="icon-remove"></i> Discard</a>
        </p>
	</div>
	<div id="table_container">
	
        <div id="rendered_table" class="panel-body">
	      {% render_table table %}
        </div>
      </div>
    </div>
  </div>
</div>
<style>
  .popover {
    max-width: 600px;
  }

  .group-list-selected, .group-list-selected td {
    background-color: #e8e8e8 !important;
  }

  .group-list-selected:hover, .group-list-selected:hover td {
    background-color: #d0d0d0 !important;
  }

  .group-list-selected td:first-child {
    font-weight: bold;
  }

  .group-list-table-thin {
    width: 10px;
  }

  .group-list-table-admin {
    width: 130px;
  }
</style>
{% endblock %}

{% block extra_js %}
<script src="{{ STATIC_URL}}dashboard/group-list.js"></script>
{% endblock %}