forked from fa/breadcrumb-the-shire
fix: standardize save buttons to use app-action-success class
Replace inconsistent `primary` class with `app-action-success` on all standalone save buttons so they match the green titlebar convention. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -353,7 +353,7 @@ $openOverrideCard = $detailsOpenAll;
|
||||
<small class="muted"><?php e(t('One option per line. Optional format: key|Label.')); ?></small>
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" class="primary" form="tenant-custom-field-create-form" <?php e($disabledAttr); ?>>
|
||||
<button type="submit" class="app-action-success" form="tenant-custom-field-create-form" <?php e($disabledAttr); ?>>
|
||||
<?php e(t('Add custom field')); ?>
|
||||
</button>
|
||||
</div>
|
||||
@@ -468,7 +468,7 @@ $openOverrideCard = $detailsOpenAll;
|
||||
</div>
|
||||
<hr>
|
||||
<div class="grid">
|
||||
<button type="submit" class="primary" form="<?php e($updateFormId); ?>" <?php e($disabledAttr); ?>>
|
||||
<button type="submit" class="app-action-success" form="<?php e($updateFormId); ?>" <?php e($disabledAttr); ?>>
|
||||
<?php e(t('Save')); ?>
|
||||
</button>
|
||||
<button type="submit" class="danger" form="<?php e($deleteFormId); ?>" <?php e($disabledAttr); ?>>
|
||||
|
||||
@@ -113,7 +113,7 @@ $hasFavicon = $avatarUuid !== '' && $tenantFaviconService->hasFavicon($avatarUui
|
||||
<input type="file" name="avatar" accept="image/*">
|
||||
</label>
|
||||
<div class="grid">
|
||||
<button type="submit" class="primary">
|
||||
<button type="submit" class="app-action-success">
|
||||
<?php e(t('Save')); ?>
|
||||
</button>
|
||||
<?php if ($hasAvatar): ?>
|
||||
@@ -152,7 +152,7 @@ $hasFavicon = $avatarUuid !== '' && $tenantFaviconService->hasFavicon($avatarUui
|
||||
<input type="file" name="favicon" accept="image/png">
|
||||
</label>
|
||||
<div class="grid">
|
||||
<button type="submit" class="primary">
|
||||
<button type="submit" class="app-action-success">
|
||||
<?php e(t('Save')); ?>
|
||||
</button>
|
||||
<?php if ($hasFavicon): ?>
|
||||
|
||||
@@ -265,7 +265,7 @@ if ($lastLoginAt !== '') {
|
||||
<input type="file" name="avatar" accept="image/*">
|
||||
</label>
|
||||
<div class="grid">
|
||||
<button type="submit" class="primary">
|
||||
<button type="submit" class="app-action-success">
|
||||
<?php e(t('Save')); ?>
|
||||
</button>
|
||||
<?php if ($hasAvatar): ?>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<i class="bi bi-pencil-square" data-editor-icon aria-hidden="true"></i>
|
||||
<?php endif; ?>
|
||||
</button>
|
||||
<button type="submit" form="page-editor" class="primary" data-editor-save>
|
||||
<button type="submit" form="page-editor" class="app-action-success" data-editor-save>
|
||||
<?php e(t('Save')); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<i class="bi bi-pencil-square" data-editor-icon aria-hidden="true"></i>
|
||||
<?php endif; ?>
|
||||
</button>
|
||||
<button type="submit" form="page-editor" class="primary" data-editor-save>
|
||||
<button type="submit" form="page-editor" class="app-action-success" data-editor-save>
|
||||
<?php e(t('Save')); ?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user