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
be2f0b21
Commit
be2f0b21
authored
Dec 14, 2015
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix log kill and asset detail bug
parent
5e5aab79
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
33 deletions
+31
-33
asset_add_batch.html
templates/jasset/asset_add_batch.html
+0
-1
log_online.html
templates/jlog/log_online.html
+2
-2
perm_rule_detail.html
templates/jperm/perm_rule_detail.html
+29
-30
No files found.
templates/jasset/asset_add_batch.html
View file @
be2f0b21
...
@@ -51,7 +51,6 @@
...
@@ -51,7 +51,6 @@
<input
type=
"file"
name=
"file_name"
class=
"file"
id=
"fileField"
size=
"28"
onchange=
"document.getElementById('textfield').value=this.value"
/>
<input
type=
"file"
name=
"file_name"
class=
"file"
id=
"fileField"
size=
"28"
onchange=
"document.getElementById('textfield').value=this.value"
/>
<button
class=
"btn btn-primary btn-sm"
type=
"submit"
>
上传文件
</button>
<button
class=
"btn btn-primary btn-sm"
type=
"submit"
>
上传文件
</button>
</div>
</div>
</form>
</form>
</div>
</div>
</div>
</div>
...
...
templates/jlog/log_online.html
View file @
be2f0b21
...
@@ -207,13 +207,13 @@
...
@@ -207,13 +207,13 @@
if
(
login_type
==
'web'
){
if
(
login_type
==
'web'
){
var
g_url
=
'{{ web_kill_uri }}'
+
'?id='
+
num
;
var
g_url
=
'{{ web_kill_uri }}'
+
'?id='
+
num
;
}
else
{
}
else
{
var
g_url
=
"
/jlog/log_kill/
?id="
+
num
;
var
g_url
=
"
{% url 'log_kill' %} }
?id="
+
num
;
}
}
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
g_url
+
"&sessionid={{ session_id }}"
,
url
:
g_url
+
"&sessionid={{ session_id }}"
,
success
:
window
.
open
(
"
/jlog/log_list/online/
"
,
"_self"
)
success
:
window
.
open
(
"
{% url 'log_list' 'online' %}
"
,
"_self"
)
});
});
}
}
...
...
templates/jperm/perm_rule_detail.html
View file @
be2f0b21
...
@@ -83,36 +83,35 @@
...
@@ -83,36 +83,35 @@
</div>
</div>
</div>
</div>
<div
class=
"ibox-content"
>
<div
class=
"ibox-content"
>
<div
class=
"text-center"
>
<div
class=
"text-center"
>
<table
class=
"table"
id=
"agedit"
>
<table
class=
"table"
id=
"agedit"
>
<td
class=
"text-navy text-left"
>
用户
</td>
<td
class=
"text-navy text-left"
>
用户
</td>
<td
class=
"text-navy text-right"
>
用户组
</td>
<td
class=
"text-navy text-right"
>
用户组
</td>
<tr>
<tr>
<td>
<td>
<table
class=
"table progress-striped text-left"
>
<table
class=
"table progress-striped text-left"
>
{% for user in users %}
{% for user in users %}
<tr
class=
"gradeX"
>
<tr
class=
"gradeX"
>
<td>
<a
href=
"{% url 'asset_detail' %}?id={{ user.id }}"
>
{{ user.name }}
</a>
</td>
<td>
<a
href=
"{% url 'user_detail' %}?id={{ user.id }}"
>
{{ user.name }}
</a>
</td>
</tr>
</tr>
{% endfor %}
{% endfor %}
</table>
</table>
</td>
</td>
<td>
<td>
<table
class=
"table progress-striped text-right"
>
<table
class=
"table progress-striped text-right"
>
{% for group in user_groups %}
{% for group in user_groups %}
<tr
class=
"gradeX-"
>
<tr
class=
"gradeX-"
>
<td>
<a
href=
"{% url 'asset_list' %}?group_id={{ group.id }}"
>
{{ group.name }}
</a>
</td>
<td>
<a
href=
"{% url 'user_group_list' %}?group_id={{ group.id }}"
>
{{ group.name }}
</a>
</td>
</tr>
</tr>
{% endfor %}
{% endfor %}
</table>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"col-sm-4"
>
<div
class=
"col-sm-4"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<div
class=
"ibox-title"
>
...
@@ -145,7 +144,7 @@
...
@@ -145,7 +144,7 @@
<table
class=
"table progress-striped text-left"
>
<table
class=
"table progress-striped text-left"
>
{% for asset in assets %}
{% for asset in assets %}
<tr
class=
"gradeX"
>
<tr
class=
"gradeX"
>
<td>
<a
href=
"{% url 'asset_
list
' %}?id={{ asset.id }}"
>
{{ asset.ip }}
</a>
</td>
<td>
<a
href=
"{% url 'asset_
detail
' %}?id={{ asset.id }}"
>
{{ asset.ip }}
</a>
</td>
</tr>
</tr>
{% endfor %}
{% endfor %}
</table>
</table>
...
...
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