Use the standard picker for the last 78 plain dropdowns in agent and admin windows, with the picker keeping w-auto, flex-grow-0 and max-width from the select so narrow ones stay narrow

This commit is contained in:
johnnyq
2026-11-20 23:57:43 -05:00
parent df64d82f3a
commit 31c34fd92a
49 changed files with 89 additions and 79 deletions

View File

@@ -149,7 +149,7 @@ if (!managerEnabled()) { ?>
<label class="form-label">Updates</label>
<div class="input-group">
<span class="input-group-text"><i class="fas fa-fw fa-download"></i></span>
<select class="form-select" name="update_policy">
<select class="form-select select2" name="update_policy">
<option value="manual" <?= $form['managed_instance_update_policy'] !== 'auto' ? 'selected' : '' ?>>By hand, from here</option>
<option value="auto" <?= $form['managed_instance_update_policy'] === 'auto' ? 'selected' : '' ?>>Automatically</option>
</select>