Add GitHub link, fix Settings page, direct users to setup on install

Plugin/varaverk.plg:
  - Add support="https://github.com/FailedProxy/Varaverk/issues"
  - Install completion log now says "open Varaverk to complete setup"
    with navigation hint — user lands on wizard automatically

Plugin/unraid/VaraverkSettings.page:
  - Fix stale SCRIPTS_DIR default (unraid_scripts → Varaverk)
  - Add GitHub / Issues / Changelog links at bottom of settings page

Plugin/unraid/Varaverk.page:
  - Small "⎋ GitHub" link right-aligned in the tab bar
    links to github.com/FailedProxy/Varaverk in a new tab
This commit is contained in:
Gmer4Lfe
2026-05-30 16:22:54 -04:00
parent d09ea11694
commit 10fc703e57
3 changed files with 47 additions and 1 deletions
+6
View File
@@ -40,6 +40,12 @@ $tabLabels = ['monitor' => 'Monitor', 'scheduler' => 'Scheduler', 'docker' => 'D
<?= $tabLabels[$t] ?? ucfirst($t) ?>
</a>
<?php endforeach; ?>
<a href="https://github.com/FailedProxy/Varaverk" target="_blank"
style="margin-left:auto;padding:0 10px;font-size:10px;color:#333;text-decoration:none;
display:flex;align-items:center;letter-spacing:.03em;"
title="GitHub — source, issues, changelog">
⎋ GitHub
</a>
</div>
<!-- Tab content -->
+38
View File
@@ -0,0 +1,38 @@
Menu="OtherSettings"
Title="Varaverk"
Icon="varaverk.png"
---
<?php
$cfg = parse_plugin_cfg('varaverk');
$scripts_dir = $cfg['SCRIPTS_DIR'] ?? '/mnt/user/appdata/Varaverk';
?>
<form markdown="1" name="varaverk_settings" method="POST" action="/update.php" target="progressFrame">
<input type="hidden" name="#file" value="varaverk/varaverk.cfg">
_(Scripts directory)_:
: <input type="text" name="SCRIPTS_DIR" maxlength="255" value="<?=htmlspecialchars($scripts_dir)?>">
> Path where Varaverk is installed. Changing this only affects the plugin UI — update any scripts that reference the old path manually.
&nbsp;
: <input type="submit" value="_(Apply)_">
</form>
<div style="margin-top:24px;padding-top:16px;border-top:1px solid #2a2a2a;font-family:monospace;font-size:11px;color:#444;">
<a href="https://github.com/FailedProxy/Varaverk" target="_blank"
style="color:#555;text-decoration:none;">
⎋ github.com/FailedProxy/Varaverk
</a>
&nbsp;·&nbsp;
<a href="https://github.com/FailedProxy/Varaverk/issues" target="_blank"
style="color:#555;text-decoration:none;">
Issues
</a>
&nbsp;·&nbsp;
<a href="https://github.com/FailedProxy/Varaverk/blob/main/CHANGELOG.md" target="_blank"
style="color:#555;text-decoration:none;">
Changelog
</a>
</div>