index-groups.html 1.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<div class="panel panel-default">
  <div class="panel-heading">
    <ul class="list-inline pull-right">
      <li><a href="#vm-graph-view" class="btn btn-default btn-xs"><i class="icon-dashboard"></i></a></li>
      <li><a href="#vm-list-view" class="btn btn-default btn-xs"><i class="icon-list"></i></a></li>
    </ul>
    <h3 class="no-margin"><i class="icon-group"></i> Groups
    </h3>
  </div>
  <div class="list-group" id="vm-list-view">
11
     {% for i in groups %}
12
    <a href="#" class="list-group-item">
13
	    <i class="icon-file"></i> {{ i.name }}<div class="pull-right"><i class="icon-download-alt "></i></div>
14
    </a>
15
   {% endfor %}
16
    <div href="#" class="list-group-item list-group-footer text-right">
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
      <div class="row">
        <div class="col-sm-6 col-xs-6 input-group input-group-sm">
          <input type="text" class="form-control" placeholder="Search..." />
          <div class="input-group-btn">
            <button type="submit" class="form-control btn btn-primary" title="search"><i class="icon-search"></i></button>
          </div>
        </div>
        <div class="col-sm-6 text-right">
	  {% if more_groups >= 0 %}
          <a class="btn btn-primary btn-xs" href="{% url "dashboard.views.group-list" %}">
            <i class="icon-chevron-sign-right"></i> <strong>{{ more_groups }}</strong>  more  
          </a>
	  {% endif %}
          <a class="btn btn-success btn-xs group-create" href="#"><i class="icon-upload-alt"></i> upload </a>
        </div>
      </div>
33 34 35
    </div>
  </div>
</div>