Move all CSS to styles.css, improve CSS for code snippets, add PGP verify how-to

parent 573b1325
This diff is collapsed.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFwXF+sBEAC5qmR2Lw8gz3oUvC9heSJq6FcsVF7UpUMri6B3XdWovz+xeHw8
8HOr4FduhM568G//lqbLSMbDR5LnGvpWTjYxZkZKpI1znzh0ASRbaZcpb8xac+j4
6jL0uMlL3mF4zxGHhd8MluHFEr+NQpyz9TQqmFMEXJuTPcXmYRQWXLvIzZaUBZc2
Bthh192OAAQDry1v3wvqumnXMXh0dO1qAklFzWwJB9Iinw4q8M4q/xPfXEzwNZ9Y
5pfHT7iWL8gfJUMJQb6DhKOOQFEf5RJ+7JX0NQYlOYdVNWr1/GhtRTGn0qQqvxg7
M3g0Odske2SNqVqd4zxyz77J9q5J0NuyfkQ4fpJ2QK8T9RAAdwfklw4r7jxvB4xs
L9l6ZbjZx4TOUF4Q22GjgmZr+W/hnqGBICosAqYSHzZIkBXVZlKhio7aK7ey9Jzt
gKZHAKiZYRPOUJiiqpsirQEfAXDNae+ZVtVMNqE1Abk66IRE1TCQwr7S7XHGZWfn
mHfEuJbGZZGNEpdwXd1G1+leEC3aTnHG+jxlurJr5NP74zHjA8CGbGPPunzsCmcA
ZLfGAtpGT/acXY5f8OnQUisutgaoypWAbeDelNeMedNOfhcCI/MmK45jXZA5foXP
JAXiELTnPNoLMyHMUPodYDoBLPL15yPTJSVsIGWcOSjUrZIw4ktmPGEUowARAQAB
tDZCb3JnIEJpbmFyeSBCdWlsZGVyIDxib3JnLWJpbmFyeS1idWlsZGVyQG5vcGxh
bm1hbi5jaD6JAk4EEwEKADgWIQTGnOhh36S9776cJAEQr8vJqWpFyQUCXBcX6wIb
AwULCQgHAwUVCgkICwUWAwIBAAIeAQIXgAAKCRAQr8vJqWpFyVFwEACdL6ynwkyy
5Tg1xEE+yVpbeZf2tkLdD+7ufs99nFGWgP/Q/8YKM1bNc+Aun1pLx00aRnlNo25D
jsJ3/uJ56638uUfB6Dtw3bRbqOkD5YW8K94G9pTnmWRmWlsvOTWoiCF8RIRDFhvR
6jfvFV2eHGfDG41heGF6BLMpohPbiRJ9g5gsehT7Tw5ocQDsW6zyhd80oOpNeoJb
/izexr2db6pFTNp8lXOHFoKobVlhKeoQ3FMvF0ay/sAVfe/WyRkfcS+lnMI4YEsp
zPoKQvRVEmQG3Y1vEbh3hYxIe2hVHBAzR7XCW9dbc0W/J8ADwSxHpZIYmw5FEKXC
giflt428Rli5n8pBLI7wlp+0bEye6+ub2sFkTm23CcbZYtMLEqobTswdpAmcQD5z
VqSE5T8PqvJoqps8l14sds0WFdXIC5TdDjsFSy7kILKOWSZC4dUr0iduhxT2iNzi
m7eRPwq7da0m1OPS0khtyujRXI0aBIar1Vb3Wpvw8nyDSK+qq7GKDY7k+mSw3K1z
sdZhP26BRktRqAAUdgvEklyOt6aZTBd27yEGG0ZVdzwRYR+1F2olXQjfHkg0hkH8
vdioNEJmMrZv189vbOHz6q1F/O27rIkYYhfK/OT0tLc6Lu93X6O31IakSe6UTWQP
UmqAZmCXFolkzzIyAUf7/mJrI6mVxLsTFQ==
=/qdu
-----END PGP PUBLIC KEY BLOCK-----
......@@ -108,22 +108,6 @@ save_binaries_json($files, $stable);
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Borg ARM binaries</title>
<link rel="stylesheet" type="text/css" href="_assets/styles.css">
<style>
@font-face {
font-family: 'EncodeSans';
font-style: normal;
font-weight: 700;
src: local('Encode Sans'), url(_assets/EncodeSans-Regular.woff) format('woff');
}
body {
font-family: 'EncodeSans', sans-serif;
}
.container {
padding: 25px;
}
</style>
</head>
<body>
<div id="content">
......@@ -139,10 +123,10 @@ save_binaries_json($files, $stable);
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>
<span class="code">
<b style="color:#2aa198">wget</b> <b style="color:#d33682"><?php echo get_dl_link('armv5', $stable); ?></b> -O /usr/bin/borg<br>
<b style="color:#2aa198">chmod</b> a+x /usr/bin/borg
</span>
<code>
<b class="command">wget</b> <b class="url"><?php echo get_dl_link('armv5', $stable); ?></b> -O <b class="file">/usr/bin/borg</b><br>
<b class="command">chmod</b> a+x <b class="file">/usr/bin/borg</b>
</code>
</span>
</div>
......@@ -155,10 +139,10 @@ save_binaries_json($files, $stable);
This version is built for 32Bit-ARM CPUs with a Floating-Point-Unit (ARM v6 and v7).<br>
<br>A lot of modern ARM boards and devices ship with a floating-point unit (FPU).
This includes Raspberry Pis and some powerful NAS devices.<br>
<span class="code">
<b style="color:#2aa198">wget</b> <b style="color:#d33682"><?php echo get_dl_link('armv6', $stable); ?></b> -O /usr/bin/borg<br>
<b style="color:#2aa198">chmod</b> a+x /usr/bin/borg
</span>
<code>
<b class="command">wget</b> <b class="url"><?php echo get_dl_link('armv6', $stable); ?></b> -O <b class="file">/usr/bin/borg</b><br>
<b class="command">chmod</b> a+x <b class="file">/usr/bin/borg</b>
</code>
</span>
</div>
......@@ -170,10 +154,10 @@ save_binaries_json($files, $stable);
<span class="description">
This version is built for modern 64Bit-ARM CPUs (ARM v8).<br>
Examples include modern smartphones or the Pine64.<br>
<span class="code">
<b style="color:#2aa198">wget</b> <b style="color:#d33682"><?php echo get_dl_link('arm64', $stable); ?></b> -O /usr/bin/borg<br>
<b style="color:#2aa198">chmod</b> a+x /usr/bin/borg
</span>
<code>
<b class="command">wget</b> <b class="url"><?php echo get_dl_link('arm64', $stable); ?></b> -O <b class="file">/usr/bin/borg</b><br>
<b class="command">chmod</b> a+x <b class="file">/usr/bin/borg</b>
</code>
</span>
</div>
</div>
......@@ -181,7 +165,7 @@ save_binaries_json($files, $stable);
<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.
There is probably only one version that's going to run on your device. Run <code><b class="command">uname</b> -m</code> and choose the version that's named similar to the output.
</div>
<div class="container">
<h3>Which dependencies do I need?</h3>
......@@ -190,7 +174,14 @@ save_binaries_json($files, $stable);
</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>.
All binaries are signed with PGP key <a href="/borg-binary-builder.asc"><i>A96A45C9</i></a>.<br>
<code class="pgp-verify">
# Import public key:<br>
<b class="command">gpg</b> --import <b class="file">borg-binary-builder.asc</b><br>
<br>
# Verify the downloaded binary with it's signature file:<br>
<b class="command">gpg</b> --verify <b class="file">&lt;borg-binary.asc&gt;</b> <b class="file">&lt;borg-binary&gt;</b>
</code>
</div>
<div class="container">
<h3>Where can I submit bug reports or feature requests?</h3>
......
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