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
e2044498
Commit
e2044498
authored
Dec 28, 2017
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] 修改html bug
parent
827246ed
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
31 additions
and
29 deletions
+31
-29
_system_user.html
apps/assets/templates/assets/_system_user.html
+1
-1
admin_user_create_update.html
apps/assets/templates/assets/admin_user_create_update.html
+2
-1
admin_user_detail.html
apps/assets/templates/assets/admin_user_detail.html
+1
-1
asset_bulk_update.html
apps/assets/templates/assets/asset_bulk_update.html
+1
-1
asset_create.html
apps/assets/templates/assets/asset_create.html
+1
-1
asset_group_create.html
apps/assets/templates/assets/asset_group_create.html
+1
-1
asset_group_detail.html
apps/assets/templates/assets/asset_group_detail.html
+1
-1
cluster_assets.html
apps/assets/templates/assets/cluster_assets.html
+1
-1
cluster_detail.html
apps/assets/templates/assets/cluster_detail.html
+1
-1
system_user_asset.html
apps/assets/templates/assets/system_user_asset.html
+1
-1
system_user_detail.html
apps/assets/templates/assets/system_user_detail.html
+1
-1
system_user_update.html
apps/assets/templates/assets/system_user_update.html
+2
-1
asset_permission_create_update.html
...perms/templates/perms/asset_permission_create_update.html
+1
-1
asset_permission_detail.html
apps/perms/templates/perms/asset_permission_detail.html
+1
-1
datatables.min.css
apps/static/css/plugins/datatables/datatables.min.css
+0
-0
datatables.min.js
apps/static/js/plugins/datatables/datatables.min.js
+0
-0
English.lang
apps/static/js/plugins/datatables/i18n/English.lang
+0
-0
zh-hans.json
apps/static/js/plugins/datatables/i18n/zh-hans.json
+0
-0
_base_list.html
apps/templates/_base_list.html
+2
-2
_head_css_js.html
apps/templates/_head_css_js.html
+3
-3
terminal_update.html
apps/terminal/templates/terminal/terminal_update.html
+1
-1
_user.html
apps/users/templates/users/_user.html
+1
-1
user_bulk_update.html
apps/users/templates/users/user_bulk_update.html
+1
-1
user_detail.html
apps/users/templates/users/user_detail.html
+1
-1
user_granted_asset.html
apps/users/templates/users/user_granted_asset.html
+1
-1
user_group_create_update.html
apps/users/templates/users/user_group_create_update.html
+1
-1
user_group_detail.html
apps/users/templates/users/user_group_detail.html
+3
-3
user_group_granted_asset.html
apps/users/templates/users/user_group_granted_asset.html
+1
-1
No files found.
apps/assets/templates/assets/_system_user.html
View file @
e2044498
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
}
}
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
authFieldsDisplay
();
authFieldsDisplay
();
$
(
auto_generate_key
).
change
(
function
()
{
$
(
auto_generate_key
).
change
(
function
()
{
authFieldsDisplay
();
authFieldsDisplay
();
...
...
apps/assets/templates/assets/admin_user_create_update.html
View file @
e2044498
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
})
})
</script>
</script>
{% endblock %}
{% endblock %}
\ No newline at end of file
apps/assets/templates/assets/admin_user_detail.html
View file @
e2044498
...
@@ -157,7 +157,7 @@ function bindToCluster(clusters) {
...
@@ -157,7 +157,7 @@ function bindToCluster(clusters) {
jumpserver
.
cluster_selected
=
{};
jumpserver
.
cluster_selected
=
{};
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);.
on
(
'select2:select'
,
function
(
evt
)
{
$
(
'.select2'
).
select2
();.
on
(
'select2:select'
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
cluster_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
cluster_selected
[
data
.
id
]
=
data
.
text
;
}).
on
(
'select2:unselect'
,
function
(
evt
)
{
}).
on
(
'select2:unselect'
,
function
(
evt
)
{
...
...
apps/assets/templates/assets/asset_bulk_update.html
View file @
e2044498
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
}).
on
(
'click'
,
'.field-tag'
,
function
()
{
}).
on
(
'click'
,
'.field-tag'
,
function
()
{
changeField
(
this
);
changeField
(
this
);
}).
on
(
'click'
,
'#change_all'
,
function
()
{
}).
on
(
'click'
,
'#change_all'
,
function
()
{
...
...
apps/assets/templates/assets/asset_create.html
View file @
e2044498
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
{
#
$
(
"#id_tags"
).
select2
({
#
}
{
#
$
(
"#id_tags"
).
select2
({
#
}
{
#
tags
:
true
,
#
}
{
#
tags
:
true
,
#
}
{
#
maximumSelectionLength
:
8
//最多能够选择的个数#}
{
#
maximumSelectionLength
:
8
//最多能够选择的个数#}
...
...
apps/assets/templates/assets/asset_group_create.html
View file @
e2044498
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
$
(
'.select2-system-user'
).
select2
();
$
(
'.select2-system-user'
).
select2
();
});
});
...
...
apps/assets/templates/assets/asset_group_detail.html
View file @
e2044498
...
@@ -184,7 +184,7 @@ function initTable() {
...
@@ -184,7 +184,7 @@ function initTable() {
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
$
(
'.select2.asset-select'
).
select2
()
$
(
'.select2.asset-select'
).
select2
()
.
on
(
'select2:select'
,
function
(
evt
)
{
.
on
(
'select2:select'
,
function
(
evt
)
{
...
...
apps/assets/templates/assets/cluster_assets.html
View file @
e2044498
...
@@ -181,7 +181,7 @@ function initTable() {
...
@@ -181,7 +181,7 @@ function initTable() {
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
.
on
(
"select2:select"
,
function
(
evt
)
{
.
on
(
"select2:select"
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
assets_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
assets_selected
[
data
.
id
]
=
data
.
text
;
...
...
apps/assets/templates/assets/cluster_detail.html
View file @
e2044498
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
})
})
.
on
(
'click'
,
'.btn-delete-cluster'
,
function
()
{
.
on
(
'click'
,
'.btn-delete-cluster'
,
function
()
{
var
name
=
"{{ cluster.name }}"
;
var
name
=
"{{ cluster.name }}"
;
...
...
apps/assets/templates/assets/system_user_asset.html
View file @
e2044498
...
@@ -125,7 +125,7 @@ function initAssetsTable() {
...
@@ -125,7 +125,7 @@ function initAssetsTable() {
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
.
on
(
"select2:select"
,
function
(
evt
)
{
.
on
(
"select2:select"
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
assets_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
assets_selected
[
data
.
id
]
=
data
.
text
;
...
...
apps/assets/templates/assets/system_user_detail.html
View file @
e2044498
...
@@ -212,7 +212,7 @@ function updateSystemUserCluster(clusters) {
...
@@ -212,7 +212,7 @@ function updateSystemUserCluster(clusters) {
}
}
jumpserver
.
cluster_selected
=
{};
jumpserver
.
cluster_selected
=
{};
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
.
on
(
'select2:select'
,
function
(
evt
)
{
.
on
(
'select2:select'
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
cluster_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
cluster_selected
[
data
.
id
]
=
data
.
text
;
...
...
apps/assets/templates/assets/system_user_update.html
View file @
e2044498
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
})
})
</script>
</script>
{% endblock %}
{% endblock %}
\ No newline at end of file
apps/perms/templates/perms/asset_permission_create_update.html
View file @
e2044498
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
<script
src=
"{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"
></script>
<script
src=
"{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"
></script>
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
$
(
'.input-group.date'
).
datepicker
({
$
(
'.input-group.date'
).
datepicker
({
format
:
"yyyy-mm-dd"
,
format
:
"yyyy-mm-dd"
,
...
...
apps/perms/templates/perms/asset_permission_detail.html
View file @
e2044498
...
@@ -190,7 +190,7 @@ function updateSystemUser(system_users) {
...
@@ -190,7 +190,7 @@ function updateSystemUser(system_users) {
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
.
on
(
'select2:select'
,
function
(
evt
)
{
.
on
(
'select2:select'
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
system_users_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
system_users_selected
[
data
.
id
]
=
data
.
text
;
...
...
apps/static/css/plugins/data
T
ables/datatables.min.css
→
apps/static/css/plugins/data
t
ables/datatables.min.css
View file @
e2044498
File moved
apps/static/js/plugins/data
T
ables/datatables.min.js
→
apps/static/js/plugins/data
t
ables/datatables.min.js
View file @
e2044498
File moved
apps/static/js/plugins/data
T
ables/i18n/English.lang
→
apps/static/js/plugins/data
t
ables/i18n/English.lang
View file @
e2044498
File moved
apps/static/js/plugins/data
T
ables/i18n/zh-hans.json
→
apps/static/js/plugins/data
t
ables/i18n/zh-hans.json
View file @
e2044498
File moved
apps/templates/_base_list.html
View file @
e2044498
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
{% load static %}
{% load static %}
{% load i18n %}
{% load i18n %}
{% block custom_head_css_js %}
{% block custom_head_css_js %}
<link
href=
"{% static "
css
/
plugins
/
data
T
ables
/
datatables
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
data
t
ables
/
datatables
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
select2
/
select2
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
select2
/
select2
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<script
src=
"{% static "
js
/
plugins
/
select2
/
select2
.
full
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
select2
/
select2
.
full
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
data
Tables
/
dataT
ables
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
data
tables
/
datat
ables
.
min
.
js
"
%}"
></script>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<div
class=
"wrapper wrapper-content animated fadeInRight"
>
<div
class=
"wrapper wrapper-content animated fadeInRight"
>
...
...
apps/templates/_head_css_js.html
View file @
e2044498
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<link
href=
"{% static 'css/plugins/sweetalert/sweetalert.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/plugins/sweetalert/sweetalert.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/style.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/style.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/plugins/vaildator/jquery.validator.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/plugins/vaildator/jquery.validator.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/plugins/data
T
ables/datatables.min.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'css/plugins/data
t
ables/datatables.min.css' %}"
rel=
"stylesheet"
>
<!-- scripts -->
<!-- scripts -->
<script
src=
"{% static 'js/jquery-2.1.1.js' %}"
></script>
<script
src=
"{% static 'js/jquery-2.1.1.js' %}"
></script>
<script
src=
"{% static 'js/plugins/sweetalert/sweetalert.min.js' %}"
></script>
<script
src=
"{% static 'js/plugins/sweetalert/sweetalert.min.js' %}"
></script>
<script
src=
"{% static 'js/bootstrap.min.js' %}"
></script>
<script
src=
"{% static 'js/bootstrap.min.js' %}"
></script>
<script
src=
"{% static 'js/plugins/dataTables/datatables.min.js' %}"
></script>
<script
src=
"{% static 'js/plugins/datatables/datatables.min.js' %}"
></script>
\ No newline at end of file
\ No newline at end of file
apps/terminal/templates/terminal/terminal_update.html
View file @
e2044498
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<script
src=
"{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"
></script>
<script
src=
"{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"
></script>
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
$
(
'.input-group.date'
).
datepicker
({
$
(
'.input-group.date'
).
datepicker
({
format
:
"yyyy-mm-dd"
,
format
:
"yyyy-mm-dd"
,
...
...
apps/users/templates/users/_user.html
View file @
e2044498
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<script
src=
"{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"
></script>
<script
src=
"{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"
></script>
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
$
(
'.input-group.date'
).
datepicker
({
$
(
'.input-group.date'
).
datepicker
({
format
:
"yyyy-mm-dd"
,
format
:
"yyyy-mm-dd"
,
...
...
apps/users/templates/users/user_bulk_update.html
View file @
e2044498
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
}).
on
(
'click'
,
'.field-tag'
,
function
()
{
}).
on
(
'click'
,
'.field-tag'
,
function
()
{
changeField
(
this
);
changeField
(
this
);
}).
on
(
'click'
,
'#change_all'
,
function
()
{
}).
on
(
'click'
,
'#change_all'
,
function
()
{
...
...
apps/users/templates/users/user_detail.html
View file @
e2044498
...
@@ -253,7 +253,7 @@ function updateUserGroups(groups) {
...
@@ -253,7 +253,7 @@ function updateUserGroups(groups) {
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
.
on
(
'select2:select'
,
function
(
evt
)
{
.
on
(
'select2:select'
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
groups_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
groups_selected
[
data
.
id
]
=
data
.
text
;
...
...
apps/users/templates/users/user_granted_asset.html
View file @
e2044498
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
var
options
=
{
var
options
=
{
ele
:
$
(
'#user_assets_table'
),
ele
:
$
(
'#user_assets_table'
),
buttons
:
[],
buttons
:
[],
...
...
apps/users/templates/users/user_group_create_update.html
View file @
e2044498
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
})
})
</script>
</script>
{% endblock %}
{% endblock %}
apps/users/templates/users/user_group_detail.html
View file @
e2044498
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
{% block custom_head_css_js %}
{% block custom_head_css_js %}
<link
href=
"{% static "
css
/
plugins
/
select2
/
select2
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
select2
/
select2
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
sweetalert
/
sweetalert
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
sweetalert
/
sweetalert
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
data
T
ables
/
datatables
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
data
t
ables
/
datatables
.
min
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
awesome-bootstrap-checkbox
/
awesome-bootstrap-checkbox
.
css
"
%}"
rel=
"stylesheet"
>
<link
href=
"{% static "
css
/
plugins
/
awesome-bootstrap-checkbox
/
awesome-bootstrap-checkbox
.
css
"
%}"
rel=
"stylesheet"
>
<script
src=
"{% static "
js
/
plugins
/
select2
/
select2
.
full
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
select2
/
select2
.
full
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
sweetalert
/
sweetalert
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
sweetalert
/
sweetalert
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
data
Tables
/
dataT
ables
.
min
.
js
"
%}"
></script>
<script
src=
"{% static "
js
/
plugins
/
data
tables
/
datat
ables
.
min
.
js
"
%}"
></script>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
<div
class=
"wrapper wrapper-content animated fadeInRight"
>
<div
class=
"wrapper wrapper-content animated fadeInRight"
>
...
@@ -150,7 +150,7 @@ function updateGroupMember(users) {
...
@@ -150,7 +150,7 @@ function updateGroupMember(users) {
}
}
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
.
on
(
'select2:select'
,
function
(
evt
)
{
.
on
(
'select2:select'
,
function
(
evt
)
{
var
data
=
evt
.
params
.
data
;
var
data
=
evt
.
params
.
data
;
jumpserver
.
users_selected
[
data
.
id
]
=
data
.
text
;
jumpserver
.
users_selected
[
data
.
id
]
=
data
.
text
;
...
...
apps/users/templates/users/user_group_granted_asset.html
View file @
e2044498
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
{% block custom_foot_js %}
{% block custom_foot_js %}
<script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.select2'
).
select2
(
{
dropdownAutoWidth
:
true
,
width
:
'auto'
}
);
$
(
'.select2'
).
select2
();
var
options
=
{
var
options
=
{
ele
:
$
(
'#user_assets_table'
),
ele
:
$
(
'#user_assets_table'
),
buttons
:
[],
buttons
:
[],
...
...
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