Fossil SCM

Add the 'eagle' skin, based on the one used by the Eagle project (http://eagle.to/).

mistachkin 2015-01-23 23:38 trunk
Commit 8f87308eef106a5175636a7fb065ae4c992a096c
--- a/skins/eagle/css.txt
+++ b/skins/eagle/css.txt
@@ -0,0 +1 @@
1
+/#canvas#485D7B
--- a/skins/eagle/css.txt
+++ b/skins/eagle/css.txt
@@ -0,0 +1 @@
 
--- a/skins/eagle/css.txt
+++ b/skins/eagle/css.txt
@@ -0,0 +1 @@
1 /#canvas#485D7B
--- a/skins/eagle/footer.txt
+++ b/skins/eagle/footer.txt
@@ -0,0 +1,23 @@
1
+<div class="footer">
2
+ <th1>
3
+ proc getTclVersion {} {
4
+ if {[catch {tclEval info patchlevel} tclVersion] == 0} {
5
+ return "<a href=\"http://www.tcl.tk/\">Tcl</a> version $tclVersion"
6
+ }
7
+ return ""
8
+ }
9
+ proc getVersion { version } {
10
+ set length [string length $version]
11
+ return [string range $version 1 [expr {$length - 2}]]
12
+ }
13
+ set version [getVersion $manifest_version]
14
+ set tclVersion [getTclVersiowww.n]
15
+ set fossilUrl https://fossil-scm.org
16
+ e $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_vermanifest_date&amp;div>
23
+</body></html>
--- a/skins/eagle/footer.txt
+++ b/skins/eagle/footer.txt
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/eagle/footer.txt
+++ b/skins/eagle/footer.txt
@@ -0,0 +1,23 @@
1 <div class="footer">
2 <th1>
3 proc getTclVersion {} {
4 if {[catch {tclEval info patchlevel} tclVersion] == 0} {
5 return "<a href=\"http://www.tcl.tk/\">Tcl</a> version $tclVersion"
6 }
7 return ""
8 }
9 proc getVersion { version } {
10 set length [string length $version]
11 return [string range $version 1 [expr {$length - 2}]]
12 }
13 set version [getVersion $manifest_version]
14 set tclVersion [getTclVersiowww.n]
15 set fossilUrl https://fossil-scm.org
16 e $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_vermanifest_date&amp;div>
23 </body></html>
--- a/skins/eagle/header.txt
+++ b/skins/eagle/header.txt
@@ -0,0 +1,75 @@
1
+<html>
2
+<head>
3
+<base href="$baseurl/$current_page" />
4
+<title>$<project_name>: $<title></title>
5
+<link rel="alternate" type="application/rss+xml" title="RSS Feed"
6
+ href="$home/timeline.rss" />
7
+<link rel="stylesheet" href="$stylesheet_url" type="text/css"
8
+ media=<div class="header">
9
+ <div class="logo">
10
+ <th1>
11
+ ##
12
+ ## NOTE: The purpose of this procedure is to take the base URL of the
13
+ ## Fossil project and return the root of the entire web site using
14
+ ## the same URI scheme as the base URL (e.g. http or https).
15
+ ##
16
+ proc getLogoUrl { baseurl } {
17
+ set idx(first) [string first // $baseurl]
18
+ if {$idx(first) != -1} {
19
+ ##
20
+ ## NOTE: Skip second slash.
21
+ ##
22
+ set idx(first+1) [expr {$idx(first) + 2}]
23
+ ##
24
+ ## NOTE: (part 1) The [string first] command does NOT actually
25
+ ## support the optional startIndex argument as specified
26
+ ## in the TH1 support manual; therefore, we fake it by
27
+ ## using the [stange] command and then adding the
28
+ project_nameadding the
29
+ ## necessary offset to the result<th1>
30
+low). In Tc, we could use the following ins} elscript
31
+ </th1>
32
+ ##
33
+ set idx(nextRange) [string range $baseurl $idx(first+1) funcdivif {$iif(e){
34
+ e.innerHTML=d.toISOString().replace("T"," ").replace(/:\d\d\.\d+Z/,""ock();"$idx(firste $baseurl $idx>
35
+ <th1>
36
+ ##
37
+ ## NOT
38
+<th1>
39
+proc menulink {url name} {
40
+name</a>\n"
41
+ }
42
+}
43
+menindex_page'>Home</a>\n"
44
+name</a>\n"
45
+ }
46
+}
47
+me/help'>Help<>$name</a>\n"
48
+ }
49
+}
50
+me/timeline'>Timeline</a>$name</a>\n"
51
+ }
52
+}
53
+me/tree?ci=tip'>Filhas>$name</a>\n"
54
+ }
55
+}
56
+me/brlist'>Branches</a>\n"
57
+>$name</a>\n"
58
+ }
59
+}
60
+hasaglist'>Tags</>$name</a>\n"
61
+ }
62
+}
63
+me/ticket'>Tickets</>$name</a>\n"
64
+ }
65
+}
66
+me/wikihashas name</a>\n"
67
+ }
68
+}
69
+me/setup_ulist'>Users</a>\n"<html>reportlisd>
70
+<base href="$baseuse href="$baseurl/$c/login'>Logout</a>\n"
71
+} else {
72
+>$name</a>\n"
73
+ }
74
+}
75
+me
--- a/skins/eagle/header.txt
+++ b/skins/eagle/header.txt
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/skins/eagle/header.txt
+++ b/skins/eagle/header.txt
@@ -0,0 +1,75 @@
1 <html>
2 <head>
3 <base href="$baseurl/$current_page" />
4 <title>$<project_name>: $<title></title>
5 <link rel="alternate" type="application/rss+xml" title="RSS Feed"
6 href="$home/timeline.rss" />
7 <link rel="stylesheet" href="$stylesheet_url" type="text/css"
8 media=<div class="header">
9 <div class="logo">
10 <th1>
11 ##
12 ## NOTE: The purpose of this procedure is to take the base URL of the
13 ## Fossil project and return the root of the entire web site using
14 ## the same URI scheme as the base URL (e.g. http or https).
15 ##
16 proc getLogoUrl { baseurl } {
17 set idx(first) [string first // $baseurl]
18 if {$idx(first) != -1} {
19 ##
20 ## NOTE: Skip second slash.
21 ##
22 set idx(first+1) [expr {$idx(first) + 2}]
23 ##
24 ## NOTE: (part 1) The [string first] command does NOT actually
25 ## support the optional startIndex argument as specified
26 ## in the TH1 support manual; therefore, we fake it by
27 ## using the [stange] command and then adding the
28 project_nameadding the
29 ## necessary offset to the result<th1>
30 low). In Tc, we could use the following ins} elscript
31 </th1>
32 ##
33 set idx(nextRange) [string range $baseurl $idx(first+1) funcdivif {$iif(e){
34 e.innerHTML=d.toISOString().replace("T"," ").replace(/:\d\d\.\d+Z/,""ock();"$idx(firste $baseurl $idx>
35 <th1>
36 ##
37 ## NOT
38 <th1>
39 proc menulink {url name} {
40 name</a>\n"
41 }
42 }
43 menindex_page'>Home</a>\n"
44 name</a>\n"
45 }
46 }
47 me/help'>Help<>$name</a>\n"
48 }
49 }
50 me/timeline'>Timeline</a>$name</a>\n"
51 }
52 }
53 me/tree?ci=tip'>Filhas>$name</a>\n"
54 }
55 }
56 me/brlist'>Branches</a>\n"
57 >$name</a>\n"
58 }
59 }
60 hasaglist'>Tags</>$name</a>\n"
61 }
62 }
63 me/ticket'>Tickets</>$name</a>\n"
64 }
65 }
66 me/wikihashas name</a>\n"
67 }
68 }
69 me/setup_ulist'>Users</a>\n"<html>reportlisd>
70 <base href="$baseuse href="$baseurl/$c/login'>Logout</a>\n"
71 } else {
72 >$name</a>\n"
73 }
74 }
75 me
--- src/main.mk
+++ src/main.mk
@@ -137,10 +137,13 @@
137137
$(SRCDIR)/../skins/black_and_white/footer.txt \
138138
$(SRCDIR)/../skins/black_and_white/header.txt \
139139
$(SRCDIR)/../skins/default/css.txt \
140140
$(SRCDIR)/../skins/default/footer.txt \
141141
$(SRCDIR)/../skins/default/header.txt \
142
+ $(SRCDIR)/../skins/eagle/css.txt \
143
+ $(SRCDIR)/../skins/eagle/footer.txt \
144
+ $(SRCDIR)/../skins/eagle/header.txt \
142145
$(SRCDIR)/../skins/enhanced1/css.txt \
143146
$(SRCDIR)/../skins/enhanced1/footer.txt \
144147
$(SRCDIR)/../skins/enhanced1/header.txt \
145148
$(SRCDIR)/../skins/etienne1/css.txt \
146149
$(SRCDIR)/../skins/etienne1/footer.txt \
147150
--- src/main.mk
+++ src/main.mk
@@ -137,10 +137,13 @@
137 $(SRCDIR)/../skins/black_and_white/footer.txt \
138 $(SRCDIR)/../skins/black_and_white/header.txt \
139 $(SRCDIR)/../skins/default/css.txt \
140 $(SRCDIR)/../skins/default/footer.txt \
141 $(SRCDIR)/../skins/default/header.txt \
 
 
 
142 $(SRCDIR)/../skins/enhanced1/css.txt \
143 $(SRCDIR)/../skins/enhanced1/footer.txt \
144 $(SRCDIR)/../skins/enhanced1/header.txt \
145 $(SRCDIR)/../skins/etienne1/css.txt \
146 $(SRCDIR)/../skins/etienne1/footer.txt \
147
--- src/main.mk
+++ src/main.mk
@@ -137,10 +137,13 @@
137 $(SRCDIR)/../skins/black_and_white/footer.txt \
138 $(SRCDIR)/../skins/black_and_white/header.txt \
139 $(SRCDIR)/../skins/default/css.txt \
140 $(SRCDIR)/../skins/default/footer.txt \
141 $(SRCDIR)/../skins/default/header.txt \
142 $(SRCDIR)/../skins/eagle/css.txt \
143 $(SRCDIR)/../skins/eagle/footer.txt \
144 $(SRCDIR)/../skins/eagle/header.txt \
145 $(SRCDIR)/../skins/enhanced1/css.txt \
146 $(SRCDIR)/../skins/enhanced1/footer.txt \
147 $(SRCDIR)/../skins/enhanced1/header.txt \
148 $(SRCDIR)/../skins/etienne1/css.txt \
149 $(SRCDIR)/../skins/etienne1/footer.txt \
150
--- src/skins.c
+++ src/skins.c
@@ -46,10 +46,11 @@
4646
{ "Khaki, No Logo", "khaki", 0 },
4747
{ "Black & White, Menu on Left", "black_and_white", 0 },
4848
{ "Shadow boxes & Rounded Corners", "rounded1", 0 },
4949
{ "Enhanced Default", "enhanced1", 0 },
5050
{ "San Francisco Modern", "etienne1", 0 },
51
+ { "Eagle", "eagle", 0 },
5152
};
5253
5354
/*
5455
** For a skin named zSkinName, compute the name of the CONFIG table
5556
** entry where that skin is stored and return it.
5657
--- src/skins.c
+++ src/skins.c
@@ -46,10 +46,11 @@
46 { "Khaki, No Logo", "khaki", 0 },
47 { "Black & White, Menu on Left", "black_and_white", 0 },
48 { "Shadow boxes & Rounded Corners", "rounded1", 0 },
49 { "Enhanced Default", "enhanced1", 0 },
50 { "San Francisco Modern", "etienne1", 0 },
 
51 };
52
53 /*
54 ** For a skin named zSkinName, compute the name of the CONFIG table
55 ** entry where that skin is stored and return it.
56
--- src/skins.c
+++ src/skins.c
@@ -46,10 +46,11 @@
46 { "Khaki, No Logo", "khaki", 0 },
47 { "Black & White, Menu on Left", "black_and_white", 0 },
48 { "Shadow boxes & Rounded Corners", "rounded1", 0 },
49 { "Enhanced Default", "enhanced1", 0 },
50 { "San Francisco Modern", "etienne1", 0 },
51 { "Eagle", "eagle", 0 },
52 };
53
54 /*
55 ** For a skin named zSkinName, compute the name of the CONFIG table
56 ** entry where that skin is stored and return it.
57
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -490,10 +490,13 @@
490490
$(SRCDIR)/../skins/black_and_white/footer.txt \
491491
$(SRCDIR)/../skins/black_and_white/header.txt \
492492
$(SRCDIR)/../skins/default/css.txt \
493493
$(SRCDIR)/../skins/default/footer.txt \
494494
$(SRCDIR)/../skins/default/header.txt \
495
+ $(SRCDIR)/../skins/eagle/css.txt \
496
+ $(SRCDIR)/../skins/eagle/footer.txt \
497
+ $(SRCDIR)/../skins/eagle/header.txt \
495498
$(SRCDIR)/../skins/enhanced1/css.txt \
496499
$(SRCDIR)/../skins/enhanced1/footer.txt \
497500
$(SRCDIR)/../skins/enhanced1/header.txt \
498501
$(SRCDIR)/../skins/etienne1/css.txt \
499502
$(SRCDIR)/../skins/etienne1/footer.txt \
500503
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -490,10 +490,13 @@
490 $(SRCDIR)/../skins/black_and_white/footer.txt \
491 $(SRCDIR)/../skins/black_and_white/header.txt \
492 $(SRCDIR)/../skins/default/css.txt \
493 $(SRCDIR)/../skins/default/footer.txt \
494 $(SRCDIR)/../skins/default/header.txt \
 
 
 
495 $(SRCDIR)/../skins/enhanced1/css.txt \
496 $(SRCDIR)/../skins/enhanced1/footer.txt \
497 $(SRCDIR)/../skins/enhanced1/header.txt \
498 $(SRCDIR)/../skins/etienne1/css.txt \
499 $(SRCDIR)/../skins/etienne1/footer.txt \
500
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -490,10 +490,13 @@
490 $(SRCDIR)/../skins/black_and_white/footer.txt \
491 $(SRCDIR)/../skins/black_and_white/header.txt \
492 $(SRCDIR)/../skins/default/css.txt \
493 $(SRCDIR)/../skins/default/footer.txt \
494 $(SRCDIR)/../skins/default/header.txt \
495 $(SRCDIR)/../skins/eagle/css.txt \
496 $(SRCDIR)/../skins/eagle/footer.txt \
497 $(SRCDIR)/../skins/eagle/header.txt \
498 $(SRCDIR)/../skins/enhanced1/css.txt \
499 $(SRCDIR)/../skins/enhanced1/footer.txt \
500 $(SRCDIR)/../skins/enhanced1/header.txt \
501 $(SRCDIR)/../skins/etienne1/css.txt \
502 $(SRCDIR)/../skins/etienne1/footer.txt \
503
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -490,10 +490,13 @@
490490
$(SRCDIR)/../skins/black_and_white/footer.txt \
491491
$(SRCDIR)/../skins/black_and_white/header.txt \
492492
$(SRCDIR)/../skins/default/css.txt \
493493
$(SRCDIR)/../skins/default/footer.txt \
494494
$(SRCDIR)/../skins/default/header.txt \
495
+ $(SRCDIR)/../skins/eagle/css.txt \
496
+ $(SRCDIR)/../skins/eagle/footer.txt \
497
+ $(SRCDIR)/../skins/eagle/header.txt \
495498
$(SRCDIR)/../skins/enhanced1/css.txt \
496499
$(SRCDIR)/../skins/enhanced1/footer.txt \
497500
$(SRCDIR)/../skins/enhanced1/header.txt \
498501
$(SRCDIR)/../skins/khaki/css.txt \
499502
$(SRCDIR)/../skins/khaki/footer.txt \
500503
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -490,10 +490,13 @@
490 $(SRCDIR)/../skins/black_and_white/footer.txt \
491 $(SRCDIR)/../skins/black_and_white/header.txt \
492 $(SRCDIR)/../skins/default/css.txt \
493 $(SRCDIR)/../skins/default/footer.txt \
494 $(SRCDIR)/../skins/default/header.txt \
 
 
 
495 $(SRCDIR)/../skins/enhanced1/css.txt \
496 $(SRCDIR)/../skins/enhanced1/footer.txt \
497 $(SRCDIR)/../skins/enhanced1/header.txt \
498 $(SRCDIR)/../skins/khaki/css.txt \
499 $(SRCDIR)/../skins/khaki/footer.txt \
500
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -490,10 +490,13 @@
490 $(SRCDIR)/../skins/black_and_white/footer.txt \
491 $(SRCDIR)/../skins/black_and_white/header.txt \
492 $(SRCDIR)/../skins/default/css.txt \
493 $(SRCDIR)/../skins/default/footer.txt \
494 $(SRCDIR)/../skins/default/header.txt \
495 $(SRCDIR)/../skins/eagle/css.txt \
496 $(SRCDIR)/../skins/eagle/footer.txt \
497 $(SRCDIR)/../skins/eagle/header.txt \
498 $(SRCDIR)/../skins/enhanced1/css.txt \
499 $(SRCDIR)/../skins/enhanced1/footer.txt \
500 $(SRCDIR)/../skins/enhanced1/header.txt \
501 $(SRCDIR)/../skins/khaki/css.txt \
502 $(SRCDIR)/../skins/khaki/footer.txt \
503
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -328,10 +328,13 @@
328328
$(SRCDIR)\../skins/black_and_white/footer.txt \
329329
$(SRCDIR)\../skins/black_and_white/header.txt \
330330
$(SRCDIR)\../skins/default/css.txt \
331331
$(SRCDIR)\../skins/default/footer.txt \
332332
$(SRCDIR)\../skins/default/header.txt \
333
+ $(SRCDIR)\../skins/eagle/css.txt \
334
+ $(SRCDIR)\../skins/eagle/footer.txt \
335
+ $(SRCDIR)\../skins/eagle/header.txt \
333336
$(SRCDIR)\../skins/enhanced1/css.txt \
334337
$(SRCDIR)\../skins/enhanced1/footer.txt \
335338
$(SRCDIR)\../skins/enhanced1/header.txt \
336339
$(SRCDIR)\../skins/etienne1/css.txt \
337340
$(SRCDIR)\../skins/etienne1/footer.txt \
338341
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -328,10 +328,13 @@
328 $(SRCDIR)\../skins/black_and_white/footer.txt \
329 $(SRCDIR)\../skins/black_and_white/header.txt \
330 $(SRCDIR)\../skins/default/css.txt \
331 $(SRCDIR)\../skins/default/footer.txt \
332 $(SRCDIR)\../skins/default/header.txt \
 
 
 
333 $(SRCDIR)\../skins/enhanced1/css.txt \
334 $(SRCDIR)\../skins/enhanced1/footer.txt \
335 $(SRCDIR)\../skins/enhanced1/header.txt \
336 $(SRCDIR)\../skins/etienne1/css.txt \
337 $(SRCDIR)\../skins/etienne1/footer.txt \
338
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -328,10 +328,13 @@
328 $(SRCDIR)\../skins/black_and_white/footer.txt \
329 $(SRCDIR)\../skins/black_and_white/header.txt \
330 $(SRCDIR)\../skins/default/css.txt \
331 $(SRCDIR)\../skins/default/footer.txt \
332 $(SRCDIR)\../skins/default/header.txt \
333 $(SRCDIR)\../skins/eagle/css.txt \
334 $(SRCDIR)\../skins/eagle/footer.txt \
335 $(SRCDIR)\../skins/eagle/header.txt \
336 $(SRCDIR)\../skins/enhanced1/css.txt \
337 $(SRCDIR)\../skins/enhanced1/footer.txt \
338 $(SRCDIR)\../skins/enhanced1/header.txt \
339 $(SRCDIR)\../skins/etienne1/css.txt \
340 $(SRCDIR)\../skins/etienne1/footer.txt \
341

Keyboard Shortcuts

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