Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
6aedfb52
Commit
6aedfb52
authored
Sep 05, 2016
by
xiaokong1937@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small template erros
parent
397da7d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
_user.html
apps/users/templates/users/_user.html
+2
-3
user_edit.html
apps/users/templates/users/user_edit.html
+2
-2
user_list.html
apps/users/templates/users/user_list.html
+1
-1
No files found.
apps/users/templates/users/_user.html
View file @
6aedfb52
...
...
@@ -14,7 +14,7 @@
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
{%
trans 'Create user'
%}
</h5>
<h5>
{%
block user_template_title %}{% trans 'Create user' %}{% endblock
%}
</h5>
<div
class=
"ibox-tools"
>
<a
class=
"collapse-link"
>
<i
class=
"fa fa-chevron-up"
></i>
...
...
@@ -94,4 +94,4 @@
});
})
</script>
{% endblock %}
\ No newline at end of file
{% endblock %}
apps/users/templates/users/user_edit.html
View file @
6aedfb52
{% extends 'users/_user.html' %}
{% load i18n %}
{% block user_template_title %}{% trans "Edit user" %}{% endblock %}
{% block username %}
<div
class=
"form-group"
>
<label
for=
"{{ form.username.id_for_label }}"
class=
"col-sm-2 control-label"
>
{% trans 'Username' %}
</label>
...
...
@@ -16,4 +17,4 @@
<input
id=
"password"
name=
"password"
type=
"password"
class=
"form-control"
>
</div>
</div>
{% endblock %}
\ No newline at end of file
{% endblock %}
apps/users/templates/users/user_list.html
View file @
6aedfb52
...
...
@@ -34,7 +34,7 @@
<td
class=
"text-center"
title=
"{% for user_group in user.group.all %} {{ user_group.name }} {% endfor %}"
>
{{ user.groups.all|join_queryset_attr:"name" }}
</td>
<th
class=
"text-center"
>
{{ user.name }}
</th>
<td
class=
"text-center"
>
{% if user.is_expired %}
{% if user.is_expired
and user.is_active
%}
<i
class=
"fa fa-times text-danger"
></i>
{% else %}
<i
class=
"fa fa-check text-navy"
></i>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment