diff --git a/static/js/src/static-forms.js b/static/js/src/static-forms.js index 57b1ab428ff..3184aa2e7f0 100644 --- a/static/js/src/static-forms.js +++ b/static/js/src/static-forms.js @@ -159,8 +159,10 @@ function setUpStaticForms(form, formId) { submitButton.appendChild(spinnerIcon); } const submitButton = form.querySelector('button[type="submit"]'); + // Exclude forms that don't need loader const cancelLoader = submitButton.classList.contains("no-loader"); + if (submitButton && !cancelLoader) { form.addEventListener("submit", () => attachLoadingSpinner(submitButton)); } diff --git a/static/sass/styles.scss b/static/sass/styles.scss index 57c658c5ff3..9f2ddf4b257 100644 --- a/static/sass/styles.scss +++ b/static/sass/styles.scss @@ -1538,3 +1538,18 @@ hr.is-extra-muted { background-color: rgba(0, 0, 0, 0.1); opacity: 0.5; } + +// Decimal number bug +// To be removed once is bug is fixed: https://github.com/canonical/vanilla-framework/issues/4998 +ol.p-list--divided .p-list__item::before { + content: counter(list-item) ". "; +} + +// Fix stepped list title grid bug +// To be removed once is bug is fixed: https://github.com/canonical/vanilla-framework/issues/5002 +@media screen and (max-width: $breakpoint-small - 1) { + .p-stepped-list--detailed .p-stepped-list__title { + grid-column-end: span 4; + margin-left: 0; + } +} diff --git a/templates/download/intel-iei-tank-870.html b/templates/download/intel-iei-tank-870.html index 16024f4ee9d..e5d707e9d59 100644 --- a/templates/download/intel-iei-tank-870.html +++ b/templates/download/intel-iei-tank-870.html @@ -85,32 +85,8 @@
At the end of the process, you will see your credentials to access your Ubuntu Core machine:
-This device is registered to <Ubuntu SSO email address>.
- Remote access was enabled via authentication with the SSO user <Ubuntu SSO user name>
- Public SSH keys were added to the device for remote access.
- Once setup is done, you can login with SSH into Ubuntu Core, from a machine on the same network, using the following command:
-ssh <Ubuntu SSO user name>@<device IP address>
- Your user name is your Ubuntu SSO user name, and the command should be displayed on the RPi.
-There are two install options for the Intel NUC: Ubuntu Core or Ubuntu Desktop This page is for Ubuntu Core.
+We will walk you through the steps of flashing Ubuntu Core on an Intel NUC. At the end of this process, you will have a board ready for production or testing snaps.
-There are two install options for the Intel NUC: Ubuntu Core or Ubuntu Desktop. This page is for Ubuntu Core.
+We will walk you through the steps of flashing Ubuntu Core on an Intel NUC. At the end of this process, you will have a board ready for production or testing snaps.
+Minimum requirements
+An Ubuntu SSO account is required to create the first user on an Ubuntu Core installation.
+md5sum
command on most Linux distributions.md5sum
command on most Linux distributions.sudo fdisk -l
+ <disk label>
is the label of the second USB flash drive:
+
+ xzcat /media/ubuntu/<disk label>/dawson-uc18-m7-20190122-10.img.xz | sudo dd of=/dev/<target disk device> bs=32M status=progress; sync
+ Open a terminal and use the following command to find out the target disk device to install the Ubuntu Core image to:
-sudo fdisk -l
Run the following command, where <disk label>
is the label of the second USB flash drive:
xzcat /media/ubuntu/<disk label>/dawson-uc18-m7-20190122-10.img.xz | sudo dd of=/dev/<target disk device> bs=32M status=progress; sync
console-conf
will download the SSH key registered with your Store account and configure it so you can log into the device via ssh <Ubuntu SSO account name>@<device IP address>
without a password.ubuntu
user on these images, but you can run sudo passwd <account name>
to set a password if you need a local console login.Your board is now ready to have snaps installed, it's time to use the snap command to install your first snap.
+The Snap Store is where you can find the best Linux apps packaged as snaps to install on your Ubuntu device and get started with your secure IoT journey.
+At the end of the process, you will see your credentials to access your Ubuntu Core machine:
+ At the end of the process, you will see your credentials to access your Ubuntu Core machine: +This device is registered to <Ubuntu SSO email address>.
Remote access was enabled via authentication with the SSO user <Ubuntu SSO user name>
Public SSH keys were added to the device for remote access.
diff --git a/templates/download/shared/_login.html b/templates/download/shared/_login.html
index 52702b4ac77..d370f526090 100644
--- a/templates/download/shared/_login.html
+++ b/templates/download/shared/_login.html
@@ -3,7 +3,7 @@
Once setup is done, you can login with SSH into Ubuntu Core, from a machine on the same network, using the following command:
-ssh <Ubuntu SSO user name>@<device IP address>
+ ssh <Ubuntu SSO user name>@<device IP address>
Your user name is your Ubuntu SSO user name, and the command should be displayed on the RPi.