Skip to content

Commit

Permalink
Downloads: Updates for v0.10.0
Browse files Browse the repository at this point in the history
* Set filenames once in the download page

* Edit download page for new or updated files

* Add link to the source code, GitHub and torrent download

* Replace long sync instructions by short instructions to run a full node on the download page

Commit originated by Saïvann Carignan and updated by Dave Harding.
  • Loading branch information
saivann authored and harding committed Feb 16, 2015
1 parent e04cd9c commit 9ac6bdd
Show file tree
Hide file tree
Showing 10 changed files with 991 additions and 35 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ Bitcoin Core v0.9.0 is now available for download at
...
```
* `VERSION` is used to define the version and construct the URL. It should adhere to this format: `v0.3.24`.
* `title: ...` will be used as the title
* `title: ...` will be used as the title.
* `magnetlink: ...` (optional) the urlencoded torrent magnet link on the download page.

### Alerts

Expand Down
9 changes: 9 additions & 0 deletions _less/ie.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,18 @@ body{
.downloadbox div div{
display:block;
}
.downloadbox div div span{
zoom:1;
display:inline;
}
.download span{
zoom:1;
display:inline;
vertical-align:top;
}
.downloadbox .magnetlink{
zoom:1;
display:inline;
}

.listtable div div{
Expand Down
4 changes: 4 additions & 0 deletions _less/rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ h2 .rssicon{
text-align:right;
font-family:Arial, sans-serif;
}
.downloadbox div div span{
margin-left:0;
margin-right:6px;
}

.mainlist>div:first-child{
text-align:right;
Expand Down
24 changes: 22 additions & 2 deletions _less/screen.less
Original file line number Diff line number Diff line change
Expand Up @@ -1809,13 +1809,33 @@ h2 .rssicon{
.downloadbox div div{
display:block;
width:190px;
height:46px;
margin:25px 0;
text-align:left;
}
.downloadbox div div span{
display:inline-block;
margin-left:6px;
}
.downloadbox div div span span{
display:block;
margin:6px 0 0 0;
font-size:80%;
}
.downloadbox img{
width:32px;
height:32px;
vertical-align:middle;
vertical-align:top;
position:relative;
top:4px;
}
.downloadbox .magnetlink{
display:inline-block;
width:16px;
height:16px;
position:relative;
bottom:-1px;
background:url(/img/icons/mini_ico_magnet.svg) no-repeat;
}

.eventmap{
Expand Down Expand Up @@ -2461,7 +2481,7 @@ h2 .rssicon{
text-align:left;
}
.downloadbox div div{
margin:10px 0;
margin:15px 0;
width:auto;
}
.downloadbox div{
Expand Down
2 changes: 2 additions & 0 deletions _plugins/releases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def initialize(site, base, lang, srcdir, src, dstdir, dst, year, month, day)
if !site.config.has_key?('DOWNLOAD_VERSION') or site.config['DOWNLOAD_VERSIONINT'] < self.data['versionint']
site.config['DOWNLOAD_VERSIONINT'] = self.data['versionint']
site.config['DOWNLOAD_VERSION'] = self.data['version']
site.config.delete('DOWNLOAD_MAGNETLINK') if site.config.has_key?('DOWNLOAD_MAGNETLINK')
site.config['DOWNLOAD_MAGNETLINK'] = self.data['magnetlink'] if self.data.has_key?('magnetlink')
end
site.pages << ReleasePage.new(site, base, lang, srcdir, src, '/releases/' + year + '/' + month + '/' + day, dst, year, month, day)
end
Expand Down
Loading

0 comments on commit 9ac6bdd

Please sign in to comment.