Skip to content

Commit a3dba96

Browse files
author
jokob-sk
committed
docs, css fixes
1 parent 5676b50 commit a3dba96

7 files changed

Lines changed: 10 additions & 7 deletions

File tree

docs/MIGRATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Migration form PiAlert to NetAlertX
22

33
> [!WARNING]
4-
> Follow this guide only after you you downloaded and started NetAlert X at least once after previously using the PiAlert image.
4+
> Follow this guide only after you you downloaded and started a version of NetAlertX prior to v25.6.7 (e.g. `docker pull ghcr.io/jokob-sk/netalertx:25.5.24`) at least once after previously using the PiAlert image. Later versions don't support migration and devices and settings will have to migrated manually, e.g. via [CSV import](./DEVICES_BULK_EDITING.md).
55
66
## STEPS:
77

docs/UPDATES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Docker Update Strategies to upgrade NetAlertX
22

3+
> [!WARNING]
4+
> For versions prior to `v25.6.7` upgrade to version `v25.5.24` first (`docker pull ghcr.io/jokob-sk/netalertx:25.5.24`) as later versions don't support a full upgrade. Alternatovelly, devices and settings can be migrated manually, e.g. via [CSV import](./DEVICES_BULK_EDITING.md).
5+
36
This guide outlines approaches for updating Docker containers, usually when upgrading to a newer version of NetAlertX. Each method offers different benefits depending on the situation. Here are the methods:
47

58
- Manual: Direct commands to stop, remove, and rebuild containers.

front/js/settings_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ function initListInteractionOptions(element) {
433433
if (clickCounter === 1) {
434434
// Single-click action
435435
showModalFieldInput(
436-
`<i class="fa-regular fa-pen-to-square"></i> ${getString(
436+
`<i class="fa fa-pen-to-square"></i> ${getString(
437437
"Gen_Update_Value"
438438
)}`,
439439
getString("settings_update_item_warning"),

front/js/ui_components.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ function validateRegex(elem) {
200200

201201
// Validate against regex
202202
if (regex.test(value)) {
203-
iconSpan.html("<i class='fa-regular fa-check'></i>");
203+
iconSpan.html("<i class='fa fa-check'></i>");
204204
} else {
205-
iconSpan.html("<i class='fa-regular fa-xmark'></i>");
205+
iconSpan.html("<i class='fa fa-xmark'></i>");
206206
}
207207
}
208208

front/php/templates/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<!-- To the right -->
3030
<div class="pull-right no-hidden-xs">
31-
| <a href="https://gurubase.io/g/netalertx" class="pointer" target="_blank" title="Ask AI"><i class="fa-regular fa-comment-dots fa-flip-horizontal"></i></a>
31+
| <a href="https://gurubase.io/g/netalertx" class="pointer" target="_blank" title="Ask AI"><i class="fa fa-comment-dots fa-flip-horizontal"></i></a>
3232
| <a href="https://jokob-sk.github.io/NetAlertX/" class="pointer" target="_blank" title="Documentation"><i class="fa fa-book"></i></a>
3333
| <a href="https://github.com/jokob-sk/NetAlertX/issues" class="pointer" target="_blank"><i class="fa fa-bug" title="Report a bug"></i></a>
3434
| <a href="https://discord.com/invite/NczTUTWyRr" class="pointer" target="_blank"><i class="fa-brands fa-discord" title="Join Discord"></i></a>

front/settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function initSettingsPage(settingsData, pluginsData){
354354

355355
enabledHtml = `
356356
<div class="enabled-disabled-icon">
357-
<i class="fa-regular fa-${onOff}"></i>
357+
<i class="fa fa-${onOff}"></i>
358358
</div>
359359
`
360360
}

front/workflowsCore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class: " ",
144144
)
145145

146146
let $wfEnabledIcon = $("<i>", {
147-
class: `alignRight fa-regular ${wfEnabled ? "fa-dot-circle" : "fa-circle" }`
147+
class: `alignRight fa ${wfEnabled ? "fa-dot-circle" : "fa-circle" }`
148148
});
149149

150150

0 commit comments

Comments
 (0)