index-groups.html 1.46 KB
Newer Older
Kálmán Viktor committed
1
{% load i18n %}
2 3
<div class="panel panel-default">
  <div class="panel-heading">
Kálmán Viktor committed
4 5 6
    <div class="pull-right toolbar">
      <span class="btn btn-default btn-xs infobtn" title="{% trans "Help" %}"><i class="icon-info-sign"></i></span>
    </div> 
7
    <h3 class="no-margin"><i class="icon-group"></i> {% trans "Groups" %}</h3>
Kálmán Viktor committed
8
  </div>
9
  <div class="list-group" id="vm-list-view">
Kálmán Viktor committed
10 11 12 13 14
    {% for i in groups %}
      <a href="{% url "dashboard.views.group-detail" pk=i.pk %}" class="list-group-item real-link">
        <i class="icon-group"></i> {{ i.name }}
      </a>
    {% endfor %}
15
    <div href="#" class="list-group-item list-group-footer text-right">
16 17
      <div class="row">
        <div class="col-sm-6 col-xs-6 input-group input-group-sm">
18
          <input type="text" class="form-control" placeholder="{% trans "Search..." %}" />
19 20 21 22 23 24 25 26 27 28
          <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 %}
29
          <a class="btn btn-success btn-xs group-create" href="#"><i class="icon-upload-alt"></i> {% trans "new" %} </a>
30 31
        </div>
      </div>
32 33 34
    </div>
  </div>
</div>