Verified Commit 158f8293 authored by noplanman's avatar noplanman

Fix up HTML and make W3 validator happy 馃帀

parent fea75dbb
......@@ -94,25 +94,26 @@ file_put_contents('binaries.json', json_encode($binaries));
<div id="content-header">
<h1>Borg ARM builds</h1> <br>Currently there are automated builds for three different versions of ARM hardware:
<span class="flavor">
<div class="flavor">
<a class="download" href="<?= get_dl_link('armv5', $stable) ?>">
<h2>ARMv5 / ARMv4t</h2><br>
<b class="download-link">Borg <?= $stable ?><br><br><?= human_filesize($files["borg-{$stable}-armv5"]->size) ?></b>
<h2>ARMv5 / ARMv4t</h2><br>
<b class="download-link">Borg <?= $stable ?><br><br><?= human_filesize($files["borg-{$stable}-armv5"]->size) ?></b>
</a>
<span class="description">
This version is built for 32Bit-ARM CPUs without a Floating-Point-Unit (ARM v4t and v5).<br>
<br>A lot of NAS devices are using this type of hardware.<br>
<br>
A lot of NAS devices are using this type of hardware.<br>
<span class="code">
<b style="color:#2aa198">wget</b> <b style="color:#d33682"><?= get_dl_link('armv5', $stable) ?></b> -O /usr/bin/borg<br>
<b style="color:#2aa198">chmod</b> a+x /usr/bin/borg
</span>
</span>
</span>
</div>
<span class="flavor">
<div class="flavor">
<a class="download" href="<?= get_dl_link('armv6', $stable) ?>">
<h2>ARMv7 / ARMv6</h2><br>
<b class="download-link">Borg <?= $stable ?><br><br><?= human_filesize($files["borg-{$stable}-armv6"]->size) ?></b>
<h2>ARMv7 / ARMv6</h2><br>
<b class="download-link">Borg <?= $stable ?><br><br><?= human_filesize($files["borg-{$stable}-armv6"]->size) ?></b>
</a>
<span class="description">
This version is built for 32Bit-ARM CPUs with a Floating-Point-Unit (ARM v6 and v7).<br>
......@@ -123,12 +124,12 @@ file_put_contents('binaries.json', json_encode($binaries));
<b style="color:#2aa198">chmod</b> a+x /usr/bin/borg
</span>
</span>
</span>
</div>
<span class="flavor">
<div class="flavor">
<a class="download" href="<?= get_dl_link('arm64', $stable) ?>">
<h2>ARMv8 (or ARM64)</h2><br>
<b class="download-link">Borg <?= $stable ?><br><br><?= human_filesize($files["borg-{$stable}-arm64"]->size) ?></b>
<h2>ARMv8 (or ARM64)</h2><br>
<b class="download-link">Borg <?= $stable ?><br><br><?= human_filesize($files["borg-{$stable}-arm64"]->size) ?></b>
</a>
<span class="description">
This version is built for modern 64Bit-ARM CPUs (ARM v8).<br>
......@@ -138,52 +139,51 @@ file_put_contents('binaries.json', json_encode($binaries));
<b style="color:#2aa198">chmod</b> a+x /usr/bin/borg
</span>
</span>
</span>
<h2>Frequently Asked Questions</h2>
<div class="container">
<h3>Which version should I choose?</h3>
There is probably only one version that's going to run on your device. Run <span class="code">uname -m</span> and choose the version that's named similar to the output.
</div>
</div>
<div class="container">
<h3>Which dependencies do I need?</h3>
These binaries should work on the specified platform without installing any dependencies except for libc.<br> You can find more
information about how to use them in the <a href="https://borgbackup.readthedocs.io/en/stable/installation.html#standalone-binary">borg documentation</a>.
</div>
<div class="container">
<h3>How can I check the authenticity of the binaries?</h3>
All binaries are signed with PGP key <a href="/borg-binary-builder.asc"><i>A96A45C9</i></a>.
</div>
<div class="container">
<h3>Where can I submit bug reports or feature requests?</h3>
Please open an issue <a href="https://git.feneas.org/borg-binary-builder/borg-binaries">here</a>.
</div>
<div class="container">
<h3>Can I use a script to check this website for updates?</h3>
Yes, but please use <a href="/binaries.json">this JSON representation</a> in stead of this website. Also, please note that excessive polling might get you banned.
</div>
<h2>Archive</h2>
<h2>Frequently Asked Questions</h2>
<div class="container">
<h3>Which version should I choose?</h3>
There is probably only one version that's going to run on your device. Run <span class="code">uname -m</span> and choose the version that's named similar to the output.
</div>
<div class="container">
<h3>Which dependencies do I need?</h3>
These binaries should work on the specified platform without installing any dependencies except for libc.<br> You can find more
information about how to use them in the <a href="https://borgbackup.readthedocs.io/en/stable/installation.html#standalone-binary">borg documentation</a>.
</div>
<div class="container">
<h3>How can I check the authenticity of the binaries?</h3>
All binaries are signed with PGP key <a href="/borg-binary-builder.asc"><i>A96A45C9</i></a>.
</div>
<div class="container">
<h3>Where can I submit bug reports or feature requests?</h3>
Please open an issue <a href="https://git.feneas.org/borg-binary-builder/borg-binaries">here</a>.
</div>
<div class="container">
<h3>Can I use a script to check this website for updates?</h3>
Yes, but please use <a href="/binaries.json">this JSON representation</a> in stead of this website. Also, please note that excessive polling might get you banned.
</div>
<div id="view" class="view-details view-size-20">
<h2>Archive</h2>
<div id="view" class="view-details view-size-20">
<ul id="items" class="clearfix">
<li class="header">
<a class="label"><span class="l10n-name">Name</span></a>
<a class="date descending"><span class="l10n-lastModified">Changed</span></a>
<a class="size"><span class="l10n-size">Size</span></a>
</li>
<?php foreach ($files as $f) : ?>
<li class="item file">
<a href="<?= get_dl_link(null, null, $f->name) ?>">
<span class="label" title="<?= $f->name ?>"><?= $f->name ?></span>
<span class="date" data-time="<?= $f->created ?>"><?= $f->created ?></span>
<span class="size" data-bytes="<?= $f->size ?>"><?= human_filesize($f->size) ?></span>
</a>
</li>
<?php endforeach; ?>
<?php foreach ($files as $f) : ?>
<li class="item file">
<a href="<?= get_dl_link(null, null, $f->name) ?>">
<span class="label" title="<?= $f->name ?>"><?= $f->name ?></span>
<span class="date" data-time="<?= $f->created ?>"><?= $f->created ?></span>
<span class="size" data-bytes="<?= $f->size ?>"><?= human_filesize($f->size) ?></span>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment