Fossil SCM
Proposed fix to the UX bug on "Logout" with the default skin, per https://sqlite.org/forum/forumpost/ee69ac2ed3
Commit
35d8736bb3f334888a7befb4ca693d2aa299bd1a54a7f8a12a31e63272311d79
Parent
4a70f9485c27527…
1 file changed
+1
-1
+1
-1
| --- skins/default/header.txt | ||
| +++ skins/default/header.txt | ||
| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <div class="header"> |
| 2 | 2 | <div class="title"><h1>$<project_name></h1>$<title></div> |
| 3 | 3 | <div class="status"><th1> |
| 4 | 4 | if {[info exists login]} { |
| 5 | - html "$login — <a href='$home/login'>Logout</a>\n" | |
| 5 | + html "<a href='$home/login'>$login</a>\n" | |
| 6 | 6 | } else { |
| 7 | 7 | html "<a href='$home/login'>Login</a>\n" |
| 8 | 8 | } |
| 9 | 9 | </th1></div> |
| 10 | 10 | </div> |
| 11 | 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 "$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 |