Fossil SCM

Adjust the default mainmenu setting so that Setup is desktoponly and Login/Logout is wideonly. The current expectation is that admins will edit the mainmenu by removing lines.

drh 2021-02-11 17:17 trunk
Commit d7e4b485ac2866b211bfac59d3aaebd996be009e5109c7bac20b2699a10e3f0d
1 file changed +3 -3
+3 -3
--- src/style.c
+++ src/style.c
@@ -609,13 +609,13 @@
609609
@ Tags /taglist o wideonly
610610
@ Forum /forum {@2 3 4 5 6} wideonly
611611
@ Chat /chat C wideonly
612612
@ Tickets /ticket r wideonly
613613
@ Wiki /wiki j wideonly
614
-@ Setup /setup s {}
615
-@ Logout /logout L {}
616
-@ Login /login !L {}
614
+@ Setup /setup s desktoponly
615
+@ Logout /logout L wideonly
616
+@ Login /login !L wideonly
617617
;
618618
619619
/*
620620
** Return the default menu
621621
*/
622622
--- src/style.c
+++ src/style.c
@@ -609,13 +609,13 @@
609 @ Tags /taglist o wideonly
610 @ Forum /forum {@2 3 4 5 6} wideonly
611 @ Chat /chat C wideonly
612 @ Tickets /ticket r wideonly
613 @ Wiki /wiki j wideonly
614 @ Setup /setup s {}
615 @ Logout /logout L {}
616 @ Login /login !L {}
617 ;
618
619 /*
620 ** Return the default menu
621 */
622
--- src/style.c
+++ src/style.c
@@ -609,13 +609,13 @@
609 @ Tags /taglist o wideonly
610 @ Forum /forum {@2 3 4 5 6} wideonly
611 @ Chat /chat C wideonly
612 @ Tickets /ticket r wideonly
613 @ Wiki /wiki j wideonly
614 @ Setup /setup s desktoponly
615 @ Logout /logout L wideonly
616 @ Login /login !L wideonly
617 ;
618
619 /*
620 ** Return the default menu
621 */
622

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button