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
c7f3aaa6
Commit
c7f3aaa6
authored
Sep 20, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change appname webterminal to terminal
parent
22089282
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
28 additions
and
16 deletions
+28
-16
settings.py
apps/jumpserver/settings.py
+1
-1
urls.py
apps/jumpserver/urls.py
+1
-1
__init__.py
apps/terminal/__init__.py
+0
-0
admin.py
apps/terminal/admin.py
+0
-0
apps.py
apps/terminal/apps.py
+2
-2
models.py
apps/terminal/models.py
+0
-0
main.html
apps/terminal/templates/main.html
+0
-0
tests.py
apps/terminal/tests.py
+0
-0
urls.py
apps/terminal/urls.py
+10
-0
views.py
apps/terminal/views.py
+0
-0
urls.py
apps/webterminal/urls.py
+0
-12
connect.py
connect.py
+7
-0
server.py
server.py
+7
-0
No files found.
apps/jumpserver/settings.py
View file @
c7f3aaa6
...
...
@@ -54,7 +54,7 @@ INSTALLED_APPS = [
'users.apps.UsersConfig'
,
'assets.apps.AssetsConfig'
,
'perms.apps.PermsConfig'
,
'
webterminal.apps.Webt
erminalConfig'
,
'
terminal.apps.T
erminalConfig'
,
'ops.apps.OpsConfig'
,
'audits.apps.AuditsConfig'
,
'common.apps.CommonConfig'
,
...
...
apps/jumpserver/urls.py
View file @
c7f3aaa6
...
...
@@ -25,7 +25,7 @@ urlpatterns = [
url
(
r'^(api/)?users/'
,
include
(
'users.urls'
)),
url
(
r'^assets/'
,
include
(
'assets.urls'
)),
url
(
r'^perms/'
,
include
(
'perms.urls'
)),
url
(
r'^terminal/'
,
include
(
'
web
terminal.urls'
)),
url
(
r'^terminal/'
,
include
(
'terminal.urls'
)),
]
...
...
apps/
web
terminal/__init__.py
→
apps/terminal/__init__.py
View file @
c7f3aaa6
File moved
apps/
web
terminal/admin.py
→
apps/terminal/admin.py
View file @
c7f3aaa6
File moved
apps/
web
terminal/apps.py
→
apps/terminal/apps.py
View file @
c7f3aaa6
...
...
@@ -3,5 +3,5 @@ from __future__ import unicode_literals
from
django.apps
import
AppConfig
class
Webt
erminalConfig
(
AppConfig
):
name
=
'
web
terminal'
class
T
erminalConfig
(
AppConfig
):
name
=
'terminal'
apps/
web
terminal/models.py
→
apps/terminal/models.py
View file @
c7f3aaa6
File moved
apps/
web
terminal/templates/main.html
→
apps/terminal/templates/main.html
View file @
c7f3aaa6
File moved
apps/
web
terminal/tests.py
→
apps/terminal/tests.py
View file @
c7f3aaa6
File moved
apps/terminal/urls.py
0 → 100644
View file @
c7f3aaa6
# coding:utf-8
from
django.conf.urls
import
url
import
views
app_name
=
'terminal'
urlpatterns
=
[
url
(
r'^web-terminal$'
,
views
.
TerminalView
.
as_view
(),
name
=
'web-terminal'
),
]
apps/
web
terminal/views.py
→
apps/terminal/views.py
View file @
c7f3aaa6
File moved
apps/webterminal/urls.py
deleted
100644 → 0
View file @
22089282
# coding:utf-8
from
django.conf.urls
import
url
from
.views
import
*
from
django.contrib
import
admin
admin
.
autodiscover
()
app_name
=
'webterminal'
urlpatterns
=
[
url
(
r'^$'
,
TerminalView
.
as_view
(),
name
=
'webterminal'
),
]
\ No newline at end of file
connect.py
0 → 100644
View file @
c7f3aaa6
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
if
__name__
==
'__main__'
:
pass
server.py
0 → 100644
View file @
c7f3aaa6
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
if
__name__
==
'__main__'
:
pass
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