Commit 87d607599c6cc206c8e64df33a56193a79f86ac2
1 parent
be8e2a40
Exists in
master
and in
3 other branches
remove wrong index.html from users
Showing
1 changed file
with
0 additions
and
68 deletions
Show diff stats
users/templates/users/index.html
... | ... | @@ -1,68 +0,0 @@ |
1 | -{% extends 'home.html' %} | |
2 | - | |
3 | -{% load static i18n %} | |
4 | - | |
5 | -{% block breadcrumbs %} | |
6 | - <ol class="breadcrumb"> | |
7 | - <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
8 | - <li class="active">{% trans 'Manage Users' %}</li> | |
9 | - </ol> | |
10 | -{% endblock %} | |
11 | - | |
12 | -{% block menu %} | |
13 | - | |
14 | -{% endblock %} | |
15 | - | |
16 | -{% block content %} | |
17 | - {% if messages %} | |
18 | - {% for message in messages %} | |
19 | - <div class="alert alert-success alert-dismissible" role="alert"> | |
20 | - <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
21 | - <span aria-hidden="true">×</span> | |
22 | - </button> | |
23 | - <p>{{ message }}</p> | |
24 | - </div> | |
25 | - {% endfor %} | |
26 | - {% endif %} | |
27 | - | |
28 | - <ul class="list-group"> | |
29 | - {% if users|length > 0 %} | |
30 | - {% for user in users %} | |
31 | - <li class="list-group-item"> | |
32 | - <div class="media"> | |
33 | - <div class="col-sm-3"> | |
34 | - <img class="media-object img-responsive" src="{{ user.image.url }}" alt="Image"> | |
35 | - </div> | |
36 | - <div class="col-sm-6"> | |
37 | - <div class="media-body"> | |
38 | - <h4 class="media-heading">{{ user }}</h4> | |
39 | - <p><small>{{ user.email }}</small></p> | |
40 | - </div> | |
41 | - </div> | |
42 | - <div class="col-sm-3" style="padding-top: 10px"> | |
43 | - {% if user.type_profile %} | |
44 | - <span class="label label-info">{{ user.get_type_profile_display }}</span> | |
45 | - {% else %} | |
46 | - <span class="label label-info">{% trans 'Administrator' %}</span> | |
47 | - {% endif %} | |
48 | - <br /> | |
49 | - <a href="{% url 'users:view' user.username %}" class="btn btn-sm btn-info" style="margin-top: 10px"> | |
50 | - <span class="glyphicon glyphicon-eye-open"></span> | |
51 | - </a> | |
52 | - <a href="{% url 'users:update' user.username %}" class="btn btn-sm btn-primary" style="margin-top: 10px"> | |
53 | - <span class="glyphicon glyphicon-edit"></span> | |
54 | - </a> | |
55 | - <a href="" class="btn btn-sm btn-danger" style="margin-top: 10px"> | |
56 | - <span class="glyphicon glyphicon-trash"></span> | |
57 | - </a> | |
58 | - </div> | |
59 | - </div> | |
60 | - </li> | |
61 | - {% endfor %} | |
62 | - {% else %} | |
63 | - <li class="list-group-item"> | |
64 | - <p>{% trans 'No users found' %}</p> | |
65 | - </li> | |
66 | - {% endif %} | |
67 | - </ul> | |
68 | -{% endblock %} |