File tree 4 files changed +13
-1
lines changed
4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ Add a ` show_kernel_list ` config to webserver to show/hide kernel list in the session detail panel.
2
+
3
+ Add configs not specified in sample.toml
Original file line number Diff line number Diff line change @@ -65,8 +65,14 @@ force_2FA = false
65
65
directory_based_usage = false
66
66
# If true, display the custom allocation on the session launcher.
67
67
# allow_custom_resource_allocation = true
68
- # If false, directory size in folder explorer will show `-`. default value is set to true.
69
68
is_directory_size_visible = true
69
+ # edu_appname_prefix = ""
70
+ # If false, the model store will be disabled.
71
+ # enable_model_store = True
72
+ # enable_extend_login_session = False
73
+ # If false, directory size in folder explorer will show `-`. default value is set to true.
74
+ # If true, the kernel list will be shown in the session detail panel.
75
+ show_kernel_list = false
70
76
71
77
[resources ]
72
78
# Display "Open port to public" checkbox in the app launcher.
Original file line number Diff line number Diff line change 66
66
t .Key ("edu_appname_prefix" , default = "" ): t .String (allow_blank = True ),
67
67
t .Key ("enable_model_store" , default = True ): t .ToBool (),
68
68
t .Key ("enable_extend_login_session" , default = False ): t .ToBool (),
69
+ t .Key ("is_directory_size_visible" , default = True ): t .ToBool (),
70
+ t .Key ("show_kernel_list" , default = False ): t .ToBool (),
69
71
}).allow_extra ("*" ),
70
72
t .Key ("resources" ): t .Dict ({
71
73
t .Key ("open_port_to_public" , default = False ): t .ToBool ,
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ connectionMode = "SESSION"
33
33
{% toml_field "eduAppNamePrefix" config ["service" ]["edu_appname_prefix" ] %}
34
34
{% toml_field "enableModelStore" config ["service" ]["enable_model_store" ] %}
35
35
{% toml_field "enableExtendLoginSession" config ["service" ]["enable_extend_login_session" ] %}
36
+ {% toml_field "showKernelList" config ["service" ]["show_kernel_list" ] %}
36
37
37
38
[resources]
38
39
{% toml_field "openPortToPublic" config ["resources" ]["open_port_to_public" ] %}
You can’t perform that action at this time.
0 commit comments