Fossil SCM
Updates to the 'enhanced1' skin.
Commit
fee8c197496d73697c187787db38927c8d32f4ae
Parent
6440c7f91d87b1c…
2 files changed
+2
-1
+21
-12
+2
-1
| --- skins/enhanced1/footer.txt | ||
| +++ skins/enhanced1/footer.txt | ||
| @@ -11,14 +11,15 @@ | ||
| 11 | 11 | return [string range $version 1 [expr {$length - 2}]] |
| 12 | 12 | } |
| 13 | 13 | set version [getVersion $manifest_version] |
| 14 | 14 | set tclVersion [getTclVersion] |
| 15 | 15 | set fossilUrl https://www.fossil-scm.org |
| 16 | + set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end] | |
| 16 | 17 | </th1> |
| 17 | 18 | This page was generated in about |
| 18 | 19 | <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by |
| 19 | 20 | <a href="$fossilUrl/">Fossil</a> |
| 20 | 21 | version $release_version $tclVersion |
| 21 | 22 | <a href="$fossilUrl/index.html/info/$version">$manifest_version</a> |
| 22 | - <a href="$fossilUrl/index.html/timeline?c=$manifest_date&y=ci">$manifest_date</a> | |
| 23 | + <a href="$fossilUrl/index.html/timeline?c=$fossilDate&y=ci">$manifest_date</a> | |
| 23 | 24 | </div> |
| 24 | 25 | </body></html> |
| 25 | 26 |
| --- skins/enhanced1/footer.txt | |
| +++ skins/enhanced1/footer.txt | |
| @@ -11,14 +11,15 @@ | |
| 11 | return [string range $version 1 [expr {$length - 2}]] |
| 12 | } |
| 13 | set version [getVersion $manifest_version] |
| 14 | set tclVersion [getTclVersion] |
| 15 | set fossilUrl https://www.fossil-scm.org |
| 16 | </th1> |
| 17 | This page was generated in about |
| 18 | <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by |
| 19 | <a href="$fossilUrl/">Fossil</a> |
| 20 | version $release_version $tclVersion |
| 21 | <a href="$fossilUrl/index.html/info/$version">$manifest_version</a> |
| 22 | <a href="$fossilUrl/index.html/timeline?c=$manifest_date&y=ci">$manifest_date</a> |
| 23 | </div> |
| 24 | </body></html> |
| 25 |
| --- skins/enhanced1/footer.txt | |
| +++ skins/enhanced1/footer.txt | |
| @@ -11,14 +11,15 @@ | |
| 11 | return [string range $version 1 [expr {$length - 2}]] |
| 12 | } |
| 13 | set version [getVersion $manifest_version] |
| 14 | set tclVersion [getTclVersion] |
| 15 | set fossilUrl https://www.fossil-scm.org |
| 16 | set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end] |
| 17 | </th1> |
| 18 | This page was generated in about |
| 19 | <th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by |
| 20 | <a href="$fossilUrl/">Fossil</a> |
| 21 | version $release_version $tclVersion |
| 22 | <a href="$fossilUrl/index.html/info/$version">$manifest_version</a> |
| 23 | <a href="$fossilUrl/index.html/timeline?c=$fossilDate&y=ci">$manifest_date</a> |
| 24 | </div> |
| 25 | </body></html> |
| 26 |
+21
-12
| --- skins/enhanced1/header.txt | ||
| +++ skins/enhanced1/header.txt | ||
| @@ -70,10 +70,15 @@ | ||
| 70 | 70 | } |
| 71 | 71 | set logourl [getLogoUrl $baseurl] |
| 72 | 72 | </th1> |
| 73 | 73 | <a href="$logourl"> |
| 74 | 74 | <img src="$logo_image_url" border="0" alt="$project_name"> |
| 75 | + <th1> | |
| 76 | + if {[anycap jor]} { | |
| 77 | + html "<a class='rss' href='$home/timeline.rss'></a>" | |
| 78 | + } | |
| 79 | + </th1> | |
| 75 | 80 | </a> |
| 76 | 81 | </div> |
| 77 | 82 | <div class="title">$<title></div> |
| 78 | 83 | <div class="status"><th1> |
| 79 | 84 | if {[info exists login]} { |
| @@ -101,34 +106,38 @@ | ||
| 101 | 106 | } |
| 102 | 107 | updateClock(); |
| 103 | 108 | </script> |
| 104 | 109 | <div class="mainmenu"> |
| 105 | 110 | <th1> |
| 106 | -html "<a href='$home$index_page'>Home</a>\n" | |
| 107 | -html "<a href='$home/help'>Help</a>\n" | |
| 111 | +proc menulink {url name} { | |
| 112 | + upvar home home | |
| 113 | + html "<a href='$home$url'>$name</a>\n" | |
| 114 | +} | |
| 115 | +menulink $index_page Home | |
| 116 | +menulink /help Help | |
| 108 | 117 | if {[anycap jor]} { |
| 109 | - html "<a href='$home/timeline'>Timeline</a>\n" | |
| 118 | + menulink /timeline Timeline | |
| 110 | 119 | } |
| 111 | 120 | if {[anoncap oh]} { |
| 112 | - html "<a href='$home/tree?ci=tip'>Files</a>\n" | |
| 121 | + menulink /dir?ci=tip Files | |
| 113 | 122 | } |
| 114 | 123 | if {[anoncap o]} { |
| 115 | - html "<a href='$home/brlist'>Branches</a>\n" | |
| 116 | - html "<a href='$home/taglist'>Tags</a>\n" | |
| 124 | + menulink /brlist Branches | |
| 125 | + menulink /taglist Tags | |
| 117 | 126 | } |
| 118 | 127 | if {[anoncap r]} { |
| 119 | - html "<a href='$home/ticket'>Tickets</a>\n" | |
| 128 | + menulink /ticket Tickets | |
| 120 | 129 | } |
| 121 | 130 | if {[anoncap j]} { |
| 122 | - html "<a href='$home/wiki'>Wiki</a>\n" | |
| 131 | + menulink /wiki Wiki | |
| 123 | 132 | } |
| 124 | 133 | if {[hascap s]} { |
| 125 | - html "<a href='$home/setup'>Admin</a>\n" | |
| 134 | + menulink /setup Admin | |
| 126 | 135 | } elseif {[hascap a]} { |
| 127 | - html "<a href='$home/setup_ulist'>Users</a>\n" | |
| 136 | + menulink /setup_ulist Users | |
| 128 | 137 | } |
| 129 | 138 | if {[info exists login]} { |
| 130 | - html "<a href='$home/login'>Logout</a>\n" | |
| 139 | + menulink /login Logout | |
| 131 | 140 | } else { |
| 132 | - html "<a href='$home/login'>Login</a>\n" | |
| 141 | + menulink /login Login | |
| 133 | 142 | } |
| 134 | 143 | </th1></div> |
| 135 | 144 |
| --- skins/enhanced1/header.txt | |
| +++ skins/enhanced1/header.txt | |
| @@ -70,10 +70,15 @@ | |
| 70 | } |
| 71 | set logourl [getLogoUrl $baseurl] |
| 72 | </th1> |
| 73 | <a href="$logourl"> |
| 74 | <img src="$logo_image_url" border="0" alt="$project_name"> |
| 75 | </a> |
| 76 | </div> |
| 77 | <div class="title">$<title></div> |
| 78 | <div class="status"><th1> |
| 79 | if {[info exists login]} { |
| @@ -101,34 +106,38 @@ | |
| 101 | } |
| 102 | updateClock(); |
| 103 | </script> |
| 104 | <div class="mainmenu"> |
| 105 | <th1> |
| 106 | html "<a href='$home$index_page'>Home</a>\n" |
| 107 | html "<a href='$home/help'>Help</a>\n" |
| 108 | if {[anycap jor]} { |
| 109 | html "<a href='$home/timeline'>Timeline</a>\n" |
| 110 | } |
| 111 | if {[anoncap oh]} { |
| 112 | html "<a href='$home/tree?ci=tip'>Files</a>\n" |
| 113 | } |
| 114 | if {[anoncap o]} { |
| 115 | html "<a href='$home/brlist'>Branches</a>\n" |
| 116 | html "<a href='$home/taglist'>Tags</a>\n" |
| 117 | } |
| 118 | if {[anoncap r]} { |
| 119 | html "<a href='$home/ticket'>Tickets</a>\n" |
| 120 | } |
| 121 | if {[anoncap j]} { |
| 122 | html "<a href='$home/wiki'>Wiki</a>\n" |
| 123 | } |
| 124 | if {[hascap s]} { |
| 125 | html "<a href='$home/setup'>Admin</a>\n" |
| 126 | } elseif {[hascap a]} { |
| 127 | html "<a href='$home/setup_ulist'>Users</a>\n" |
| 128 | } |
| 129 | if {[info exists login]} { |
| 130 | html "<a href='$home/login'>Logout</a>\n" |
| 131 | } else { |
| 132 | html "<a href='$home/login'>Login</a>\n" |
| 133 | } |
| 134 | </th1></div> |
| 135 |
| --- skins/enhanced1/header.txt | |
| +++ skins/enhanced1/header.txt | |
| @@ -70,10 +70,15 @@ | |
| 70 | } |
| 71 | set logourl [getLogoUrl $baseurl] |
| 72 | </th1> |
| 73 | <a href="$logourl"> |
| 74 | <img src="$logo_image_url" border="0" alt="$project_name"> |
| 75 | <th1> |
| 76 | if {[anycap jor]} { |
| 77 | html "<a class='rss' href='$home/timeline.rss'></a>" |
| 78 | } |
| 79 | </th1> |
| 80 | </a> |
| 81 | </div> |
| 82 | <div class="title">$<title></div> |
| 83 | <div class="status"><th1> |
| 84 | if {[info exists login]} { |
| @@ -101,34 +106,38 @@ | |
| 106 | } |
| 107 | updateClock(); |
| 108 | </script> |
| 109 | <div class="mainmenu"> |
| 110 | <th1> |
| 111 | proc menulink {url name} { |
| 112 | upvar home home |
| 113 | html "<a href='$home$url'>$name</a>\n" |
| 114 | } |
| 115 | menulink $index_page Home |
| 116 | menulink /help Help |
| 117 | if {[anycap jor]} { |
| 118 | menulink /timeline Timeline |
| 119 | } |
| 120 | if {[anoncap oh]} { |
| 121 | menulink /dir?ci=tip Files |
| 122 | } |
| 123 | if {[anoncap o]} { |
| 124 | menulink /brlist Branches |
| 125 | menulink /taglist Tags |
| 126 | } |
| 127 | if {[anoncap r]} { |
| 128 | menulink /ticket Tickets |
| 129 | } |
| 130 | if {[anoncap j]} { |
| 131 | menulink /wiki Wiki |
| 132 | } |
| 133 | if {[hascap s]} { |
| 134 | menulink /setup Admin |
| 135 | } elseif {[hascap a]} { |
| 136 | menulink /setup_ulist Users |
| 137 | } |
| 138 | if {[info exists login]} { |
| 139 | menulink /login Logout |
| 140 | } else { |
| 141 | menulink /login Login |
| 142 | } |
| 143 | </th1></div> |
| 144 |