Fossil SCM

Proposed fix to the UX bug on "Logout" with the default skin, per https://sqlite.org/forum/forumpost/ee69ac2ed3

wyoung 2020-03-13 14:23 trunk
Commit 35d8736bb3f334888a7befb4ca693d2aa299bd1a54a7f8a12a31e63272311d79
1 file changed +1 -1
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -1,10 +1,10 @@
11
<div class="header">
22
<div class="title"><h1>$<project_name></h1>$<title></div>
33
<div class="status"><th1>
44
if {[info exists login]} {
5
- html "$login — <a href='$home/login'>Logout</a>\n"
5
+ html "<a href='$home/login'>$login</a>\n"
66
} else {
77
html "<a href='$home/login'>Login</a>\n"
88
}
99
</th1></div>
1010
</div>
1111
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -1,10 +1,10 @@
1 <div class="header">
2 <div class="title"><h1>$<project_name></h1>$<title></div>
3 <div class="status"><th1>
4 if {[info exists login]} {
5 html "$login — <a href='$home/login'>Logout</a>\n"
6 } else {
7 html "<a href='$home/login'>Login</a>\n"
8 }
9 </th1></div>
10 </div>
11
--- skins/default/header.txt
+++ skins/default/header.txt
@@ -1,10 +1,10 @@
1 <div class="header">
2 <div class="title"><h1>$<project_name></h1>$<title></div>
3 <div class="status"><th1>
4 if {[info exists login]} {
5 html "<a href='$home/login'>$login</a>\n"
6 } else {
7 html "<a href='$home/login'>Login</a>\n"
8 }
9 </th1></div>
10 </div>
11

Keyboard Shortcuts

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