mirror of
https://github.com/akuker/RASCSI.git
synced 2025-08-07 15:25:54 +00:00
Make the ip and hostname show up on the Drive page as well. (#759)
This commit is contained in:
@@ -237,6 +237,7 @@ def drive_list():
|
|||||||
username = None
|
username = None
|
||||||
|
|
||||||
server_info = ractl_cmd.get_server_info()
|
server_info = ractl_cmd.get_server_info()
|
||||||
|
ip_addr, host = sys_cmd.get_ip_and_host()
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
"drives.html",
|
"drives.html",
|
||||||
@@ -251,6 +252,8 @@ def drive_list():
|
|||||||
cdrom_file_suffix=tuple(server_info["sccd"]),
|
cdrom_file_suffix=tuple(server_info["sccd"]),
|
||||||
username=username,
|
username=username,
|
||||||
auth_active=auth_active(AUTH_GROUP)["status"],
|
auth_active=auth_active(AUTH_GROUP)["status"],
|
||||||
|
ip_addr=ip_addr,
|
||||||
|
host=host,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user