From afe567010141867daf868a70142730c9e47abcd3 Mon Sep 17 00:00:00 2001 From: Julian Ospald <hasufell@posteo.de> Date: Sat, 23 Mar 2019 11:44:05 +0800 Subject: [PATCH] [www] Add note for people who don't like curl | sh --- www/ghcup.css | 2 +- www/index.html | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/www/ghcup.css b/www/ghcup.css index e8e8d27..a2737f6 100644 --- a/www/ghcup.css +++ b/www/ghcup.css @@ -80,7 +80,7 @@ body#idx p { margin-bottom: 2em; } -body#idx p.other-platforms-help { +body#idx p.other-help { font-size: 0.6em; } diff --git a/www/index.html b/www/index.html index b6439a0..b4e62d1 100644 --- a/www/index.html +++ b/www/index.html @@ -27,19 +27,19 @@ <div id="platform-instructions-linux" class="instructions" style="display: none;"> <p>Run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-platforms-help">You appear to be running Linux. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.<br/>You appear to be running Linux. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-mac" class="instructions" style="display: none;"> <p>Run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-platforms-help">You appear to be running Mac OS X. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.<br/>You appear to be running Mac OS X. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-freebsd" class="instructions" style="display: none;"> <p>Run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> - <p class="other-platforms-help">You appear to be running FreeBSD. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.<br/>You appear to be running FreeBSD. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-win32" class="instructions"> @@ -47,7 +47,7 @@ To install Haskell, follow the instructions on <a class="windows-download" href="https://www.haskell.org/platform/#windows">Haskell Platform</a> </p> - <p class="other-platforms-help">You appear to be running Windows 32-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">You appear to be running Windows 32-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-win64" class="instructions" style="display: none;"> @@ -55,7 +55,7 @@ To install Haskell, follow the instructions on <a class="windows-download" href="https://www.haskell.org/platform/#windows">Haskell Platform</a> </p> - <p class="other-platforms-help">You appear to be running Windows 64-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> + <p class="other-help">You appear to be running Windows 64-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p> </div> <div id="platform-instructions-unknown" class="instructions" style="display: none;"> @@ -79,6 +79,7 @@ <div> <p>If you are running Linux, Mac OS X or FreeBSD,<br/>run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> + <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.</p> </div> <hr/> @@ -97,6 +98,7 @@ <p>To install Haskell, if you are running Linux, Mac OS X or FreeBSD,<br/>run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> + <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.</p> </div> <hr/> @@ -141,6 +143,7 @@ <p>To install Haskell, if you are running Linux, Mac OS X or FreeBSD,<br/>run the following in your terminal, then follow the onscreen instructions.</p> <pre>curl https://get-ghcup.haskell.org -sSf | sh</pre> + <p class="other-help">If you don't like curl | sh, see <a href="https://github.com/haskell/ghcup#manual-install">other installation methods</a>.</p> </div> <hr/> -- GitLab