chore(admin): plans index remove inline styles for actions and status select
This commit is contained in:
@@ -252,14 +252,14 @@
|
|||||||
'back' => $selfWithoutBack,
|
'back' => $selfWithoutBack,
|
||||||
]);
|
]);
|
||||||
@endphp
|
@endphp
|
||||||
<div style="display:flex; gap:10px; flex-wrap:wrap;">
|
<div class="actions gap-10">
|
||||||
<a href="{!! $editPlanUrl !!}" class="link">编辑</a>
|
<a href="{!! $editPlanUrl !!}" class="link">编辑</a>
|
||||||
<a href="{!! $createOrderUrl !!}" class="link">创建订单</a>
|
<a href="{!! $createOrderUrl !!}" class="link">创建订单</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form method="post" action="/admin/plans/{{ $plan->id }}/set-status" style="margin-top:6px;">
|
<form method="post" action="/admin/plans/{{ $plan->id }}/set-status" class="mt-6">
|
||||||
@csrf
|
@csrf
|
||||||
<select name="status" onchange="this.form.submit()" style="width:140px;">
|
<select name="status" onchange="this.form.submit()" class="w-140">
|
||||||
@foreach(($filterOptions['statuses'] ?? []) as $value => $label)
|
@foreach(($filterOptions['statuses'] ?? []) as $value => $label)
|
||||||
<option value="{{ $value }}" @selected($plan->status === $value)>{{ $label }}</option>
|
<option value="{{ $value }}" @selected($plan->status === $value)>{{ $label }}</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
Reference in New Issue
Block a user