Skip to content

Commit 583b8a1

Browse files
authored
Merge pull request #2567 from unraid/feat/onboarding-button
feat: Add 'Show Onboarding Wizard' button to the ArrayOperation page.
2 parents 741fb8a + f8c0701 commit 583b8a1

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Menu="UserPreferences:z"
2+
Type="xmenu"
3+
Title="Onboarding Wizard"
4+
Icon="magic"
5+
Tag="map-signs"
6+
---
7+
<?php
8+
/* Copyright 2005-2025, Lime Technology
9+
* Copyright 2012-2025, Bergware International.
10+
*
11+
* This program is free software; you can redistribute it and/or
12+
* modify it under the terms of the GNU General Public License version 2,
13+
* as published by the Free Software Foundation.
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*/
18+
?>
19+
<script>
20+
function openOnboardingWizard() {
21+
window.location.href = window.location.pathname + '?onboarding=open';
22+
}
23+
</script>
24+
25+
<form markdown="1" name="user_onboarding_settings">
26+
_(Onboarding Wizard)_:
27+
: <span class="inline-block">
28+
<input type="button" value="_(Show Onboarding Wizard)_" onclick="openOnboardingWizard()" <?if (_var($var,'fsState')=="Started"):?>disabled<?endif;?>>
29+
<input type="button" value="_(Done)_" onclick="done()">
30+
</span>
31+
32+
: _(Launch the onboarding wizard to customize your server and set up an internal boot drive)_.
33+
34+
<?if (_var($var,'fsState')=="Started"):?>
35+
: <small>_(Array must be stopped to open the onboarding wizard)_.</small>
36+
<?endif;?>
37+
38+
</form>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Menu="Settings:3"
22
Type="menu"
33
Title="User Preferences"
4-
Tag="star"
4+
Tag="star"

0 commit comments

Comments
 (0)