Fossil SCM

Updates to the 'enhanced1' skin.

mistachkin 2015-03-15 03:43 trunk
Commit fee8c197496d73697c187787db38927c8d32f4ae
--- skins/enhanced1/footer.txt
+++ skins/enhanced1/footer.txt
@@ -11,14 +11,15 @@
1111
return [string range $version 1 [expr {$length - 2}]]
1212
}
1313
set version [getVersion $manifest_version]
1414
set tclVersion [getTclVersion]
1515
set fossilUrl https://www.fossil-scm.org
16
+ set fossilDate [string range $manifest_date 0 9]T[string range $manifest_date 11 end]
1617
</th1>
1718
This page was generated in about
1819
<th1>puts [expr {([utime]+[stime]+1000)/1000*0.001}]</th1>s by
1920
<a href="$fossilUrl/">Fossil</a>
2021
version $release_version $tclVersion
2122
<a href="$fossilUrl/index.html/info/$version">$manifest_version</a>
22
- <a href="$fossilUrl/index.html/timeline?c=$manifest_date&amp;y=ci">$manifest_date</a>
23
+ <a href="$fossilUrl/index.html/timeline?c=$fossilDate&amp;y=ci">$manifest_date</a>
2324
</div>
2425
</body></html>
2526
--- 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&amp;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&amp;y=ci">$manifest_date</a>
24 </div>
25 </body></html>
26
--- skins/enhanced1/header.txt
+++ skins/enhanced1/header.txt
@@ -70,10 +70,15 @@
7070
}
7171
set logourl [getLogoUrl $baseurl]
7272
</th1>
7373
<a href="$logourl">
7474
<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>
7580
</a>
7681
</div>
7782
<div class="title">$<title></div>
7883
<div class="status"><th1>
7984
if {[info exists login]} {
@@ -101,34 +106,38 @@
101106
}
102107
updateClock();
103108
</script>
104109
<div class="mainmenu">
105110
<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
108117
if {[anycap jor]} {
109
- html "<a href='$home/timeline'>Timeline</a>\n"
118
+ menulink /timeline Timeline
110119
}
111120
if {[anoncap oh]} {
112
- html "<a href='$home/tree?ci=tip'>Files</a>\n"
121
+ menulink /dir?ci=tip Files
113122
}
114123
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
117126
}
118127
if {[anoncap r]} {
119
- html "<a href='$home/ticket'>Tickets</a>\n"
128
+ menulink /ticket Tickets
120129
}
121130
if {[anoncap j]} {
122
- html "<a href='$home/wiki'>Wiki</a>\n"
131
+ menulink /wiki Wiki
123132
}
124133
if {[hascap s]} {
125
- html "<a href='$home/setup'>Admin</a>\n"
134
+ menulink /setup Admin
126135
} elseif {[hascap a]} {
127
- html "<a href='$home/setup_ulist'>Users</a>\n"
136
+ menulink /setup_ulist Users
128137
}
129138
if {[info exists login]} {
130
- html "<a href='$home/login'>Logout</a>\n"
139
+ menulink /login Logout
131140
} else {
132
- html "<a href='$home/login'>Login</a>\n"
141
+ menulink /login Login
133142
}
134143
</th1></div>
135144
--- 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

Keyboard Shortcuts

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