diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-15 10:53:33 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-15 10:53:33 +0200 |
commit | 02b4c3da9b9188eb6170c30657f47fb47975dc43 (patch) | |
tree | b856d0af432f3c9292fc820edd0e9a995b1b573f | |
parent | 97a8f4ef933b0099e9a61ef4930d9cca6a8b3228 (diff) |
fix styles
-rw-r--r-- | static/styles.css | 4 | ||||
-rw-r--r-- | template/install.html.j2 | 49 |
2 files changed, 29 insertions, 24 deletions
diff --git a/static/styles.css b/static/styles.css index 5979d21a..3806ac19 100644 --- a/static/styles.css +++ b/static/styles.css @@ -47,6 +47,10 @@ code { margin-bottom: 1em; word-wrap: break-word; } +code.block { + display: block; } + + a.btn { text-decoration: none !important; color: white !important; diff --git a/template/install.html.j2 b/template/install.html.j2 index bf28eff6..d8db15c3 100644 --- a/template/install.html.j2 +++ b/template/install.html.j2 @@ -26,30 +26,31 @@ If you have any queries about the installation or the usage, please <a href="eng </div> <h3>Binary packages</h3><br/> - <div class="row container justify-content-center"> - <div> - {% trans %} - We recommend to use binary packages provided by the package manager integrated - within your Operating System. GNUnet is reportedly available for at least: + <p> + {% trans %} + We recommend to use binary packages provided by the package manager integrated + within your Operating System. GNUnet is reportedly available for at least: - <a href="https://pkgs.alpinelinux.org/package/edge/testing/x86_64/gnunet">Alpine</a> - and <a href="https://copr.fedorainfracloud.org/coprs/yosl/gnunet/">Fedora (Copr)</a>. - There is also a <a href="https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnunet.rb">Homebrew</a> package available. + <a href="https://pkgs.alpinelinux.org/package/edge/testing/x86_64/gnunet">Alpine</a> + and <a href="https://copr.fedorainfracloud.org/coprs/yosl/gnunet/">Fedora (Copr)</a>. + There is also a <a href="https://github.com/Homebrew/homebrew-core/blob/master/Formula/gnunet.rb">Homebrew</a> package available. - If GNUnet is available for your Operating System and it is missing, - send us feedback so that we can add it to this list. Furthermore, if - you are interested in packaging GNUnet for your Operating System, - get in touch with us at gnunet-developers@gnu.org if you require - help with this job. + If GNUnet is available for your Operating System and it is missing, + send us feedback so that we can add it to this list. Furthermore, if + you are interested in packaging GNUnet for your Operating System, + get in touch with us at gnunet-developers@gnu.org if you require + help with this job. - If you were using an Operating System with the apt package manager, - GNUnet could be installed as simple as: - {% endtrans %} - <code> - $ apt-get install gnunet - </code> - </div> - </div> + If you were using an Operating System with the Alpine package manager, + GNUnet could be installed as simple as: + {% endtrans %} + </p> + <code class="block"> + $ apk add gnunet + </code> + <p> + Please beware that some distributions may include outdated GNUnet packages! + </p> <h3>From source</h3> <p> {% trans %} @@ -79,7 +80,7 @@ If you have any queries about the installation or the usage, please <a href="eng To compile GNUnet, execute: {% endtrans %} </p> - <code> + <code class="block"> $ export GNUNET_PREFIX=/usr/local/lib # or other directory of your choice<br> # addgroup gnunetdns <br> # adduser --system --home "/var/lib/gnunet" --group gnunet --shell /bin/sh<br> @@ -94,7 +95,7 @@ If you have any queries about the installation or the usage, please <a href="eng And finally install GNUnet with: {% endtrans %} </p> - <code> + <code class="block"> # make install </code> <p> @@ -102,7 +103,7 @@ If you have any queries about the installation or the usage, please <a href="eng You can now start GNUnet by running: {% endtrans %} </p> - <code> + <code class="block"> $ gnunet-arm -s </code> <p> |