Show More
@@ -1,111 +1,120 | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="/base/base.html"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="title()"> |
|
5 | 5 | ${_('Edit user')} ${c.user.username} - ${c.rhodecode_name} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <%def name="breadcrumbs_links()"> |
|
9 | 9 | ${h.link_to(_('Admin'),h.url('admin_home'))} |
|
10 | 10 | » |
|
11 | 11 | ${h.link_to(_('Users'),h.url('users'))} |
|
12 | 12 | » |
|
13 | 13 | ${_('edit')} "${c.user.username}" |
|
14 | 14 | </%def> |
|
15 | 15 | |
|
16 | 16 | <%def name="page_nav()"> |
|
17 | 17 | ${self.menu('admin')} |
|
18 | 18 | </%def> |
|
19 | 19 | |
|
20 | 20 | <%def name="main()"> |
|
21 | <div class="box"> | |
|
21 | <div class="box box-left"> | |
|
22 | 22 | <!-- box / title --> |
|
23 | 23 | <div class="title"> |
|
24 | 24 | ${self.breadcrumbs()} |
|
25 | 25 | </div> |
|
26 | 26 | <!-- end box / title --> |
|
27 | 27 | ${h.form(url('user', id=c.user.user_id),method='put')} |
|
28 | 28 | <div class="form"> |
|
29 | 29 | <!-- fields --> |
|
30 | 30 | <div class="fields"> |
|
31 | 31 | <div class="field"> |
|
32 | 32 | <div class="gravatar_box"> |
|
33 | 33 | <div class="gravatar"><img alt="gravatar" src="${h.gravatar_url(c.user.email)}"/></div> |
|
34 | 34 | <p> |
|
35 | 35 | <strong>Change your avatar at <a href="http://gravatar.com">gravatar.com</a></strong><br/> |
|
36 | 36 | ${_('Using')} ${c.user.email} |
|
37 | 37 | </p> |
|
38 | 38 | </div> |
|
39 | 39 | </div> |
|
40 | 40 | |
|
41 | 41 | <div class="field"> |
|
42 | 42 | <div class="label"> |
|
43 | 43 | <label for="username">${_('Username')}:</label> |
|
44 | 44 | </div> |
|
45 | 45 | <div class="input"> |
|
46 |
${h.text('username',class_=' |
|
|
46 | ${h.text('username',class_='medium')} | |
|
47 | 47 | </div> |
|
48 | 48 | </div> |
|
49 | 49 | |
|
50 | 50 | <div class="field"> |
|
51 | 51 | <div class="label"> |
|
52 | 52 | <label for="new_password">${_('New password')}:</label> |
|
53 | 53 | </div> |
|
54 | 54 | <div class="input"> |
|
55 |
${h.password('new_password',class_=' |
|
|
55 | ${h.password('new_password',class_='medium')} | |
|
56 | 56 | </div> |
|
57 | 57 | </div> |
|
58 | 58 | |
|
59 | 59 | <div class="field"> |
|
60 | 60 | <div class="label"> |
|
61 | 61 | <label for="name">${_('First Name')}:</label> |
|
62 | 62 | </div> |
|
63 | 63 | <div class="input"> |
|
64 |
${h.text('name',class_=' |
|
|
64 | ${h.text('name',class_='medium')} | |
|
65 | 65 | </div> |
|
66 | 66 | </div> |
|
67 | 67 | |
|
68 | 68 | <div class="field"> |
|
69 | 69 | <div class="label"> |
|
70 | 70 | <label for="lastname">${_('Last Name')}:</label> |
|
71 | 71 | </div> |
|
72 | 72 | <div class="input"> |
|
73 |
${h.text('lastname',class_=' |
|
|
73 | ${h.text('lastname',class_='medium')} | |
|
74 | 74 | </div> |
|
75 | 75 | </div> |
|
76 | 76 | |
|
77 | 77 | <div class="field"> |
|
78 | 78 | <div class="label"> |
|
79 | 79 | <label for="email">${_('Email')}:</label> |
|
80 | 80 | </div> |
|
81 | 81 | <div class="input"> |
|
82 |
${h.text('email',class_=' |
|
|
82 | ${h.text('email',class_='medium')} | |
|
83 | 83 | </div> |
|
84 | 84 | </div> |
|
85 | 85 | |
|
86 | 86 | <div class="field"> |
|
87 | 87 | <div class="label label-checkbox"> |
|
88 | 88 | <label for="active">${_('Active')}:</label> |
|
89 | 89 | </div> |
|
90 | 90 | <div class="checkboxes"> |
|
91 | 91 | ${h.checkbox('active',value=True)} |
|
92 | 92 | </div> |
|
93 | 93 | </div> |
|
94 | 94 | |
|
95 | 95 | <div class="field"> |
|
96 | 96 | <div class="label label-checkbox"> |
|
97 | 97 | <label for="admin">${_('Admin')}:</label> |
|
98 | 98 | </div> |
|
99 | 99 | <div class="checkboxes"> |
|
100 | 100 | ${h.checkbox('admin',value=True)} |
|
101 | 101 | </div> |
|
102 | 102 | </div> |
|
103 | 103 | <div class="buttons"> |
|
104 | 104 | ${h.submit('save','Save',class_="ui-button")} |
|
105 | 105 | ${h.reset('reset','Reset',class_="ui-button")} |
|
106 | 106 | </div> |
|
107 | 107 | </div> |
|
108 | 108 | </div> |
|
109 | 109 | ${h.end_form()} |
|
110 | 110 |
</div> |
|
111 | <div class="box box-right"> | |
|
112 | <!-- box / title --> | |
|
113 | <div class="title"> | |
|
114 | <h5>${_('Permissions')}</h5> | |
|
115 | </div> | |
|
116 | <div class="table"> | |
|
117 | Permissions settings goes here ! | |
|
118 | </div> | |
|
119 | </div> | |
|
111 | 120 | </%def> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now