Let the config choose protocol 2 or 3, and fall back for one session only.
The default stays v2. A reflector that refuses that version and names the other gets one session of it, then the station announces the configured protocol again. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+35
-7
@@ -1,12 +1,25 @@
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
background: #101418;
|
||||
color: #f2f4f6;
|
||||
font: 16px/1.4 system-ui, sans-serif;
|
||||
}
|
||||
|
||||
main {
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
padding: 24px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
body.config-open main {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.status {
|
||||
@@ -66,14 +79,28 @@ main {
|
||||
}
|
||||
|
||||
#config {
|
||||
position: fixed;
|
||||
top: 64px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
padding: 16px;
|
||||
background: rgba(16, 20, 24, 0.45);
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
background: #101418;
|
||||
scrollbar-color: #8b98a3 #0c1014;
|
||||
scrollbar-width: auto;
|
||||
}
|
||||
|
||||
#config::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
#config::-webkit-scrollbar-track {
|
||||
background: #0c1014;
|
||||
}
|
||||
|
||||
#config::-webkit-scrollbar-thumb {
|
||||
background: #8b98a3;
|
||||
border: 2px solid #0c1014;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#config[hidden] {
|
||||
@@ -106,7 +133,8 @@ main {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#config input {
|
||||
#config input,
|
||||
#config select {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user