-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WD-11512 Refresh /download/risc-v page (#725)
WD-11512 refresh /risc-v * Formating and added button for the dowload link * Added alt labels and removed brackets * Added dropdown for mobile version * Fixed linting * added static js * Added config for djlint (.djlintrc) * Added workflow to check for Jinja lint * added djlint to requirements.txt * fix for bottom highlight bar * fixed scss linting * added paragraph to a section Co-authored-by: Carlos Wu <[email protected]> * Fixed the link to ubuntu image Co-authored-by: Carlos Wu <[email protected]> --------- Co-authored-by: Carlos Wu <[email protected]>
- Loading branch information
1 parent
252b151
commit dbec4ea
Showing
11 changed files
with
445 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,32 @@ | ||
<div tabindex="0" role="tabpanel" id="quemu-sifive-image-tab" aria-labelledby="quemu-sifive-image"> | ||
<div class="row u-vertically-center u-no-padding"> | ||
<div class="col-6"> | ||
<h2>SiFive Unmatched</h2> | ||
<h3 class="p-heading--4">Ubuntu Server预安装镜像</h3> | ||
<div class="p-notification--information is-inline"> | ||
<div class="p-notification__content"> | ||
<h4 class="p-notification__title">注意:</h4> | ||
<p class="p-notification__message">如果您拥有一块NVMe驱动器,我们建议您使用 Ubuntu Server 在线安装器。</p> | ||
</div> | ||
</div> | ||
<p> | ||
<a class="p-button--positive" href="https://cdimage.ubuntu.com/releases/{{ releases.latest.full_version }}/release/ubuntu-{{ releases.latest.full_version }}-preinstalled-server-riscv64+unmatched.img.xz">下载 {{ releases.latest.full_version }}</a> | ||
<a class="p-button" href="https://cdimage.ubuntu.com/releases/{{ releases.lts.full_version }}/release/ubuntu-{{ releases.lts.full_version }}-preinstalled-server-riscv64+unmatched.img.xz">下载 {{ releases.lts.full_version }}</a> | ||
</p> | ||
<p>适用于:</p> | ||
<ul class="p-list"> | ||
<li class="p-list__item is-ticked">Unmatched开发板</li> | ||
<li class="p-list__item is-ticked">QEMU</li> | ||
</ul> | ||
</div> | ||
<div class="col-2 u-hide--medium u-hide--small"> </div> | ||
<div class="col-4 u-hide--medium u-hide--small u-align--center"> | ||
{{ image ( | ||
url="https://assets.ubuntu.com/v1/37c094a9-SiFive+Unmatched+Board.jpg", | ||
alt="", | ||
width="720", | ||
height="480", | ||
hi_def=True, | ||
loading="auto" | ||
) | safe | ||
}} | ||
</div> | ||
</div> | ||
<div class="u-fixed-width"> | ||
<h4>第一次在QEMU/Unmatched上安装Ubuntu?</h4> | ||
<p>请阅读<a href="https://wiki.ubuntu.com/RISC-V/SiFive%20HiFive%20Unmatched">如何在SiFive HiFive Unmatched上安装Ubuntu</a>以获得更多信息</p> | ||
</div> | ||
</div> | ||
<div tabindex="0" | ||
role="tabpanel" | ||
id="allwinner-nezha-tab" | ||
aria-labelledby="allwinner-nezha" | ||
aria-hidden="true"> | ||
<div class="row u-vertically-center u-no-padding"> | ||
<div class="col-4"> | ||
<h2>AllWinner Nezha</h2> | ||
<h3 class="p-heading--4">Ubuntu Server预安装镜像</h3> | ||
<p> | ||
<a class="p-button--positive" | ||
href="https://cdimage.ubuntu.com/releases/{{ releases.lts.full_version }}/release/ubuntu-{{ releases.lts.full_version }}-preinstalled-server-riscv64+nezha.img.xz">下载 {{ releases.lts.full_version }}</a> | ||
</p> | ||
</div> | ||
<div class="col-4 u-hide--medium u-hide--small u-align--center"> | ||
{{ image ( | ||
url="https://assets.ubuntu.com/v1/0cc9bac3-Allwinner+Nezha+Board.png", | ||
alt="AllWinner Nezha", | ||
width="500", | ||
height="300", | ||
hi_def=True, | ||
loading="auto" | ||
) | safe | ||
}} | ||
</div> | ||
</div> | ||
<div class="u-fixed-width"> | ||
<p> | ||
<a href="https://wiki.ubuntu.com/RISC-V/Nezha%20D1">如何在哪吒开发板上安装 Ubuntu</a> | ||
</p> | ||
</div> | ||
</div> |
Oops, something went wrong.