Fossil SCM

Updates to the homepage (move the "Download" link first) and improvements to the download page generator.

drh 2011-03-03 13:39 trunk
Commit 7834ca9133b0960624b5522cda292f771588e533
2 files changed +1 -2 +9 -10
+1 -2
--- www/index.wiki
+++ www/index.wiki
@@ -13,14 +13,13 @@
1313
1414
<table border="0" cellpadding="1" bgcolor="#558195" align="right" hspace="10">
1515
<tr><td>
1616
<table border="0" cellpadding="10" bgcolor="white">
1717
<tr><td>
18
-<h3>Quick Links</h3>
1918
<ul>
20
-<li> [./quickstart.wiki | Quick Start]
2119
<li> [http://www.fossil-scm.org/download.html | Download]
20
+<li> [./quickstart.wiki | Quick Start]
2221
<li> [./build.wiki | Install]
2322
<li> [../COPYRIGHT-BSD2.txt | License]
2423
<li> [/timeline | Recent changes]
2524
<li> [./faq.wiki | FAQ]
2625
<li> [./permutedindex.wiki | Doc Index]
2726
--- www/index.wiki
+++ www/index.wiki
@@ -13,14 +13,13 @@
13
14 <table border="0" cellpadding="1" bgcolor="#558195" align="right" hspace="10">
15 <tr><td>
16 <table border="0" cellpadding="10" bgcolor="white">
17 <tr><td>
18 <h3>Quick Links</h3>
19 <ul>
20 <li> [./quickstart.wiki | Quick Start]
21 <li> [http://www.fossil-scm.org/download.html | Download]
 
22 <li> [./build.wiki | Install]
23 <li> [../COPYRIGHT-BSD2.txt | License]
24 <li> [/timeline | Recent changes]
25 <li> [./faq.wiki | FAQ]
26 <li> [./permutedindex.wiki | Doc Index]
27
--- www/index.wiki
+++ www/index.wiki
@@ -13,14 +13,13 @@
13
14 <table border="0" cellpadding="1" bgcolor="#558195" align="right" hspace="10">
15 <tr><td>
16 <table border="0" cellpadding="10" bgcolor="white">
17 <tr><td>
 
18 <ul>
 
19 <li> [http://www.fossil-scm.org/download.html | Download]
20 <li> [./quickstart.wiki | Quick Start]
21 <li> [./build.wiki | Install]
22 <li> [../COPYRIGHT-BSD2.txt | License]
23 <li> [/timeline | Recent changes]
24 <li> [./faq.wiki | FAQ]
25 <li> [./permutedindex.wiki | Doc Index]
26
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -20,15 +20,12 @@
2020
<div class="mainmenu"><a href='/fossil/doc/tip/www/index.wiki'>Home</a><a href='/fossil/timeline'>Timeline</a><a href='/fossil/brlist'>Branches</a><a href='/fossil/taglist'>Tags</a><a href='/fossil/reportlist'>Tickets</a><a href='/fossil/wiki'>Wiki</a><a href='/fossil/login'>Login</a></div>
2121
<div class="content">
2222
<p>
2323
2424
<p>
25
-Click on links below to download prebuilt binaries and source tarballs for
26
-recent versions of <a href="/fossil">Fossil</a>.
27
-The historical source code is also available in the
28
-<a href="/fossil/doc/tip/www/selfhost.wiki">self-hosting
29
-Fossil repositories</a>.
25
+To install Fossil, simply download one of the stand-alone executables
26
+below and put it on your $PATH.
3027
</p>
3128
3229
<table cellpadding="10">
3330
}
3431
@@ -50,15 +47,10 @@
5047
append dt "[string range $datetime 12 13]"
5148
set link [string map {{ } +} $dt]
5249
set hr http://www.fossil-scm.org/fossil/timeline?c=$link&y=ci
5350
puts "<tr><td colspan=6 align=left><hr>"
5451
puts "<center><b><a href=\"$hr\">$dt</a></b></center>"
55
- if {[file exists download/releasenotes-$datetime.html]} {
56
- set rn [open download/releasenotes-$datetime.html]
57
- puts "[read $rn]"
58
- close $rn
59
- }
6052
puts "</td></tr>"
6153
6254
foreach {prefix suffix img desc} {
6355
fossil-linux-x86 zip linux.gif {Linux x86}
6456
fossil-linux-amd64 zip linux64.gif {Linux x86_64}
@@ -84,12 +76,19 @@
8476
} else {
8577
puts "<td>&nbsp;</td>"
8678
}
8779
}
8880
puts "</tr>"
81
+ if {[file exists download/releasenotes-$datetime.html]} {
82
+ puts "<tr><td colspan=6 align=left>"
83
+ set rn [open download/releasenotes-$datetime.html]
84
+ puts "[read $rn]"
85
+ close $rn
86
+ puts "</td></tr>"
87
+ }
8988
}
9089
puts "<tr><td colspan=5><hr></td></tr>"
9190
9291
puts {</table>
9392
</body>
9493
</html>
9594
}
9695
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -20,15 +20,12 @@
20 <div class="mainmenu"><a href='/fossil/doc/tip/www/index.wiki'>Home</a><a href='/fossil/timeline'>Timeline</a><a href='/fossil/brlist'>Branches</a><a href='/fossil/taglist'>Tags</a><a href='/fossil/reportlist'>Tickets</a><a href='/fossil/wiki'>Wiki</a><a href='/fossil/login'>Login</a></div>
21 <div class="content">
22 <p>
23
24 <p>
25 Click on links below to download prebuilt binaries and source tarballs for
26 recent versions of <a href="/fossil">Fossil</a>.
27 The historical source code is also available in the
28 <a href="/fossil/doc/tip/www/selfhost.wiki">self-hosting
29 Fossil repositories</a>.
30 </p>
31
32 <table cellpadding="10">
33 }
34
@@ -50,15 +47,10 @@
50 append dt "[string range $datetime 12 13]"
51 set link [string map {{ } +} $dt]
52 set hr http://www.fossil-scm.org/fossil/timeline?c=$link&y=ci
53 puts "<tr><td colspan=6 align=left><hr>"
54 puts "<center><b><a href=\"$hr\">$dt</a></b></center>"
55 if {[file exists download/releasenotes-$datetime.html]} {
56 set rn [open download/releasenotes-$datetime.html]
57 puts "[read $rn]"
58 close $rn
59 }
60 puts "</td></tr>"
61
62 foreach {prefix suffix img desc} {
63 fossil-linux-x86 zip linux.gif {Linux x86}
64 fossil-linux-amd64 zip linux64.gif {Linux x86_64}
@@ -84,12 +76,19 @@
84 } else {
85 puts "<td>&nbsp;</td>"
86 }
87 }
88 puts "</tr>"
 
 
 
 
 
 
 
89 }
90 puts "<tr><td colspan=5><hr></td></tr>"
91
92 puts {</table>
93 </body>
94 </html>
95 }
96
--- www/mkdownload.tcl
+++ www/mkdownload.tcl
@@ -20,15 +20,12 @@
20 <div class="mainmenu"><a href='/fossil/doc/tip/www/index.wiki'>Home</a><a href='/fossil/timeline'>Timeline</a><a href='/fossil/brlist'>Branches</a><a href='/fossil/taglist'>Tags</a><a href='/fossil/reportlist'>Tickets</a><a href='/fossil/wiki'>Wiki</a><a href='/fossil/login'>Login</a></div>
21 <div class="content">
22 <p>
23
24 <p>
25 To install Fossil, simply download one of the stand-alone executables
26 below and put it on your $PATH.
 
 
 
27 </p>
28
29 <table cellpadding="10">
30 }
31
@@ -50,15 +47,10 @@
47 append dt "[string range $datetime 12 13]"
48 set link [string map {{ } +} $dt]
49 set hr http://www.fossil-scm.org/fossil/timeline?c=$link&y=ci
50 puts "<tr><td colspan=6 align=left><hr>"
51 puts "<center><b><a href=\"$hr\">$dt</a></b></center>"
 
 
 
 
 
52 puts "</td></tr>"
53
54 foreach {prefix suffix img desc} {
55 fossil-linux-x86 zip linux.gif {Linux x86}
56 fossil-linux-amd64 zip linux64.gif {Linux x86_64}
@@ -84,12 +76,19 @@
76 } else {
77 puts "<td>&nbsp;</td>"
78 }
79 }
80 puts "</tr>"
81 if {[file exists download/releasenotes-$datetime.html]} {
82 puts "<tr><td colspan=6 align=left>"
83 set rn [open download/releasenotes-$datetime.html]
84 puts "[read $rn]"
85 close $rn
86 puts "</td></tr>"
87 }
88 }
89 puts "<tr><td colspan=5><hr></td></tr>"
90
91 puts {</table>
92 </body>
93 </html>
94 }
95

Keyboard Shortcuts

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