Statistics
| Branch: | Tag: | Revision:

root / snf-app / synnefo / admin / templates / users_info.html @ 483c9197

History | View | Annotate | Download (2.6 kB)

1
{% extends "base.html" %}
2

    
3
{% block body %}
4

    
5
<form action="{% url synnefo.admin.views.users_modify user.id %}" method="post">
6
  <div class="clearfix">
7
    <label for="user-id">ID</label>
8
    <div class="input">
9
      <span class="uneditable-input" id="user-id">{{ user.id }}</span>
10
    </div>
11
  </div>
12

    
13
  <div class="clearfix">
14
    <label for="user-name">Name</label>
15
    <div class="input">
16
      <input class="medium" id="user-name" name="name" value="{{ user.name }}" type="text" />
17
    </div>
18
  </div>
19

    
20
  <div class="clearfix">
21
    <label for="user-realname">Real Name</label>
22
    <div class="input">
23
      <input class="large" id="user-realname" name="realname" value="{{ user.realname }}" type="text" />
24
    </div>
25
  </div>
26

    
27
  <div class="clearfix">
28
    <label for="user-uniq">Uniq</label>
29
    <div class="input">
30
      <input class="large" id="user-uniq" name="uniq" value="{{ user.uniq }}" type="text" />
31
    </div>
32
  </div>
33

    
34
  <div class="clearfix">
35
    <label for="user-credit">Credit</label>
36
    <div class="input">
37
      <input class="small" id="user-credit" name="credit" value="{{ user.credit }}" type="text" />
38
    </div>
39
  </div>
40

    
41
  <div class="clearfix">
42
    <label for="user-type">Type</label>
43
    <div class="input">
44
      <select class="medium" id="user-type" name="type">
45
        {% for type in types %}
46
        <option{% ifequal  user.type %} selected{% endifequal %}>{{ type }}</option>
47
        {% endfor %}
48
      </select>
49
    </div>
50
  </div>
51

    
52
  <div class="clearfix">
53
    <label for="user-state">State</label>
54
    <div class="input">
55
      <select class="medium" id="user-state" name="state">
56
        {% for state in states %}
57
        <option{% ifequal  user.state %} selected{% endifequal %}>{{ state }}</option>
58
        {% endfor %}
59
      </select>
60
    </div>
61
  </div>
62

    
63
  <div class="clearfix">
64
    <label for="user-invitations">Max Invitations</label>
65
    <div class="input">
66
      <input class="small" id="user-invitations" name="invitations" value="{{ user.max_invitations }}" type="text" />
67
    </div>
68
  </div>
69

    
70
  <div class="clearfix">
71
    <label for="user-created">Created</label>
72
    <div class="input">
73
      <span class="uneditable-input" id="user-created">{{ user.created }}</span>
74
    </div>
75
  </div>
76

    
77
  <div class="clearfix">
78
    <label for="user-updated">Updated</label>
79
    <div class="input">
80
      <span class="uneditable-input" id="user-updated">{{ user.updated }}</span>
81
    </div>
82
  </div>
83

    
84
  <div class="actions">
85
    <button type="submit" class="btn primary">Save Changes</button>
86
    <button type="reset" class="btn">Reset</button>
87
  </div>
88
</form>
89
{% endblock body %}