From 92cfa3991dc64a8510ba7dcab3b4dedacd1c7368 Mon Sep 17 00:00:00 2001 From: Michael W Date: Mon, 20 Jan 2025 22:55:01 +0100 Subject: [PATCH] wiki: Add a download icon next to downloads * Sometimes, despite the links being visible, people still ask where various downloads are * Add a download icon next to such links (like glossary) Change-Id: I55f28abbc475c2136443f8955554cab061b2e629 --- .../device_specific/before_lineage_install_flox.md | 2 +- .../device_specific/before_lineage_install_m1s1.md | 2 +- _includes/templates/recovery_install_heimdall.md | 6 +++--- _sass/lineage/_main.scss | 6 ++++++ 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/_includes/templates/device_specific/before_lineage_install_flox.md b/_includes/templates/device_specific/before_lineage_install_flox.md index 15a042c5b7..3ba041c63c 100644 --- a/_includes/templates/device_specific/before_lineage_install_flox.md +++ b/_includes/templates/device_specific/before_lineage_install_flox.md @@ -18,7 +18,7 @@ ## Repartition {% include alerts/warning.html content="This step is not optional, the device will not boot LineageOS without repartitioning first!" %} {% include alerts/warning.html content="This process will wipe all data on the device, including your internal storage!" %} -1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/flo-deb_clamor_repartition_20201203.zip). +1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/flo-deb_clamor_repartition_20201203.zip){: .download}. 2. On your device's screen, choose "Apply Update", then "From ADB". 3. From your Terminal/PowerShell, run `adb -d sideload /path/to/flo-deb_clamor_repartition.zip`, filling `/path/to/` in with the path you downloaded the repartition zip to. {% include alerts/note.html content="The repartition script package in question isn't signed with LineageOS's official key, and therefore when it is sideloaded, Lineage Recovery will present a screen that says `Signature verification failed`, this is expected, please click `Yes`." %} diff --git a/_includes/templates/device_specific/before_lineage_install_m1s1.md b/_includes/templates/device_specific/before_lineage_install_m1s1.md index 6fe7b05a18..80f7b1c629 100644 --- a/_includes/templates/device_specific/before_lineage_install_m1s1.md +++ b/_includes/templates/device_specific/before_lineage_install_m1s1.md @@ -20,7 +20,7 @@ ## Repartition {% include alerts/warning.html content="This step is not optional, the device will not boot LineageOS without repartitioning first!" %} {% include alerts/warning.html content="This process will wipe all data on the device, including your internal storage!" %} -1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/repartition-ogpixel-32gb.zip) for 32 GB models, and [here](https://blob.lineageos.org/downloads/repartition-ogpixel-128gb.zip) for 128 GB models. +1. Download the flashable repartition script from [here](https://blob.lineageos.org/downloads/repartition-ogpixel-32gb.zip){: .download} for 32 GB models, and [here](https://blob.lineageos.org/downloads/repartition-ogpixel-128gb.zip){: .download} for 128 GB models. 2. Rename the downloaded zip file to `repartition.zip`. 3. On your device's screen, choose "Apply Update", then "From ADB". 4. From your Terminal/PowerShell, run `adb -d sideload /path/to/repartition.zip`, filling `/path/to/` in with the path you downloaded the repartition zip to. diff --git a/_includes/templates/recovery_install_heimdall.md b/_includes/templates/recovery_install_heimdall.md index 74bd7e476c..259e41f2c2 100644 --- a/_includes/templates/recovery_install_heimdall.md +++ b/_includes/templates/recovery_install_heimdall.md @@ -18,10 +18,10 @@ The preferred method of installing a custom recovery is through Download Mode{% * From within the Developer options menu, enable OEM unlock. {% endunless %} 2. Download and install the appropriate version of the Heimdall suite for your machine's OS - * [Windows](https://blob.lineageos.org/downloads/heimdall/Heimdall-Windows-master-012220.zip): Extract the Heimdall suite zip and take note of the new directory containing `heimdall.exe`. You can verify Heimdall is functioning by opening a Command Prompt or PowerShell in that directory and running `heimdall version`. + * [Windows](https://blob.lineageos.org/downloads/heimdall/Heimdall-Windows-master-012220.zip){: .download}: Extract the Heimdall suite zip and take note of the new directory containing `heimdall.exe`. You can verify Heimdall is functioning by opening a Command Prompt or PowerShell in that directory and running `heimdall version`. * If you receive an error, install the [Microsoft Visual C++ 2015-2019 Redistributable Package (x86)](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) on your computer. - * [Linux](https://blob.lineageos.org/downloads/heimdall/Heimdall-linux-master-012220.zip): Extract the Heimdall suite zip and take note of the new directory containing `heimdall`. Now copy `heimdall` into a directory in $PATH, a common one on most distros will be /usr/local/bin. For example `cp heimdall /usr/local/bin`. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`. - * [macOS](https://blob.lineageos.org/downloads/heimdall/Heimdall-macOS-master-012220.dmg): Mount the Heimdall suite DMG. Now drag `heimdall` down into the `/usr/local/bin` symlink provided in the DMG. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`. + * [Linux](https://blob.lineageos.org/downloads/heimdall/Heimdall-linux-master-012220.zip){: .download}: Extract the Heimdall suite zip and take note of the new directory containing `heimdall`. Now copy `heimdall` into a directory in $PATH, a common one on most distros will be /usr/local/bin. For example `cp heimdall /usr/local/bin`. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`. + * [macOS](https://blob.lineageos.org/downloads/heimdall/Heimdall-macOS-master-012220.dmg){: .download}: Mount the Heimdall suite DMG. Now drag `heimdall` down into the `/usr/local/bin` symlink provided in the DMG. You can verify Heimdall is functioning by opening a Terminal and running `heimdall version`. {% include alerts/note.html content="These Heimdall suite distributions were built by LineageOS Developers Nolen Johnson (npjohnson) and Jan Altensen (Stricted), as the Heimdall suite executables distributed on the official Heimdall website were outdated and the repo mostly abandoned. Modifications were made to make it build and function on modern OSes." %} 4. Power off the device, and boot it into download mode: * {{ device.download_boot }} diff --git a/_sass/lineage/_main.scss b/_sass/lineage/_main.scss index fd12a7cb3c..29f6d32d19 100644 --- a/_sass/lineage/_main.scss +++ b/_sass/lineage/_main.scss @@ -771,3 +771,9 @@ span.codename { content: 'help_outline'; vertical-align: middle; } + +.download::after { + font-family: "Material Icons"; + content: 'download'; + vertical-align: middle; +}