diff --git a/jumpserver.conf b/jumpserver.conf index 6297ab00a..254035c64 100644 --- a/jumpserver.conf +++ b/jumpserver.conf @@ -1,9 +1,9 @@ #coding: utf8 [base] -url = http://127.0.0.1 -key = 88aaaf7ffe3c6c04 -log = debug +url = http://yourIP +key = 16位字母数字 +log = debug | warning [db] host = 127.0.0.1 @@ -13,12 +13,12 @@ password = mysql234 database = jumpserver [websocket] -web_socket_host = j:3000 +web_socket_host = yourIP|yourDomainName:3000 [mail] mail_enable = 1 -email_host = smtp.exmail.qq.com -email_port = 25 -email_host_user = noreply@jumpserver.org -email_host_password = jumpserver1234 +email_host = yourSMTPHost +email_port = yourSMTPHost|25 +email_host_user = yourEmail +email_host_password = yourEmailPassword email_use_tls = True diff --git a/templates/jperm/perm_role_detail.html b/templates/jperm/perm_role_detail.html index 8e40d31e1..606fd707d 100644 --- a/templates/jperm/perm_role_detail.html +++ b/templates/jperm/perm_role_detail.html @@ -121,36 +121,36 @@
-
- - - - - - +
+
主机主机组
- - {% for asset in assets %} - - - - {% endfor %} -
{{ asset.ip }}
-
- - {% for group in asset_groups %} - - - - {% endfor %} -
{{ group.name }}
-
+ + + + + - -
主机主机组
+ + {% for asset in assets %} + + + + {% endfor %} +
{{ asset.ip }}
+
+ + {% for group in asset_groups %} + + + + {% endfor %} +
{{ group.name }}
+
-
-
- + + + + +