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
64c155be
Commit
64c155be
authored
Jan 05, 2015
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改添加用户
parent
c8828f40
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
views.py
juser/views.py
+3
-2
user_add.html
templates/user_add.html
+1
-1
No files found.
juser/views.py
View file @
64c155be
from
django.shortcuts
import
render
# coding: utf-8
from
django.shortcuts
import
render_to_response
def
user_add
(
request
):
return
render_to_response
(
'user_add.html'
,
{
'path1'
:
'juser'
,
'path2'
:
'user_add'
})
return
render_to_response
(
'user_add.html'
,
{
'
header_title'
:
u'添加用户 | Add User'
,
'
path1'
:
'juser'
,
'path2'
:
'user_add'
})
templates/user_add.html
View file @
64c155be
...
...
@@ -7,7 +7,7 @@
<div
class=
"col-lg-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
添加用户
<small>
User add in jumpserver
.
</small></h5>
<h5>
填写基本信息
<small>
Add user info
.
</small></h5>
<div
class=
"ibox-tools"
>
<a
class=
"collapse-link"
>
<i
class=
"fa fa-chevron-up"
></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