updated style

This commit is contained in:
Frank Harris 2026-01-18 18:58:28 -06:00
parent 894c79e42b
commit 8b176e9f47
3 changed files with 3 additions and 10 deletions

View file

@ -12,3 +12,4 @@
- Added the Steam Workshop mod picker, including search-backed UI, JSON state handling, and refreshed styling so customers can select mods without touching raw ID lists.
- Pointed the Workshop search endpoint at whichever panel script rendered the page so AJAX searches work in both the main panel and the customer Game Monitor.
- Removed the per-server install-strategy selector so that behavior is governed solely by the admin adapter configuration.
- Removed the per-server post-install script field so hook execution stays defined at the adapter level only.

View file

@ -245,7 +245,7 @@
border: 1px solid #dcdcdc;
border-radius: 8px;
padding: 1rem;
background: #fff;
background: #fafafa;
}
.sw-picker__header {

View file

@ -54,15 +54,7 @@ $currentAdapterName = $adapterOptions[$formConfig['adapter_key']] ?? strtoupper(
</select>
</label>
<?php if ($isAdmin): ?>
<label>
<span><?php echo htmlspecialchars($lang['label_post_install_script']); ?></span>
<input type="text" name="workshop[post_install_script]" value="<?php echo $postInstall; ?>" placeholder="/home/ogp_agent/scripts/workshop-hook.sh" />
</label>
<?php endif; ?>
<?php if (!$isAdmin): ?>
<input type="hidden" name="workshop[post_install_script]" value="<?php echo $postInstall; ?>" />
<?php endif; ?>
<input type="hidden" name="workshop[post_install_script]" value="<?php echo $postInstall; ?>" />
</div>
<?php if ($isAdmin): ?>