Update
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<p class="text-xs font-semibold uppercase tracking-[0.24em] text-amber-400">Forecourt</p>
|
||||
<h1 class="mt-1 text-2xl font-semibold text-white">Local admin console</h1>
|
||||
</div>
|
||||
<%= link_to "Back to advert", root_path, class: "inline-flex items-center rounded-full border border-white/15 px-4 py-2 text-sm font-medium text-zinc-200 transition hover:border-white/30 hover:text-white" %>
|
||||
<%= link_to "Back to vehicle", root_path, class: "inline-flex items-center rounded-full border border-white/15 px-4 py-2 text-sm font-medium text-zinc-200 transition hover:border-white/30 hover:text-white" %>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -35,19 +35,19 @@
|
||||
|
||||
<div class="mt-8 grid gap-4 md:grid-cols-2">
|
||||
<button class="rounded-2xl border border-rose-400/35 bg-rose-500/10 px-5 py-4 text-left transition hover:bg-rose-500/15">
|
||||
<p class="text-sm font-semibold text-rose-100">Delete adverts</p>
|
||||
<p class="text-sm font-semibold text-rose-100">Delete stock page</p>
|
||||
<p class="mt-1 text-sm text-rose-200/80">Soft-delete every draft older than 30 days.</p>
|
||||
</button>
|
||||
<button class="rounded-2xl border border-amber-400/35 bg-amber-500/10 px-5 py-4 text-left transition hover:bg-amber-500/15">
|
||||
<p class="text-sm font-semibold text-amber-100">Ban Seller</p>
|
||||
<p class="mt-1 text-sm text-amber-200/80">Suspend an account and freeze outbound messages.</p>
|
||||
<p class="text-sm font-semibold text-amber-100">Mark reserved</p>
|
||||
<p class="mt-1 text-sm text-amber-200/80">Hold a vehicle against inbound showroom enquiries.</p>
|
||||
</button>
|
||||
<button class="rounded-2xl border border-sky-400/35 bg-sky-500/10 px-5 py-4 text-left transition hover:bg-sky-500/15">
|
||||
<p class="text-sm font-semibold text-sky-100">Rewrite price cache</p>
|
||||
<p class="mt-1 text-sm text-sky-200/80">Force a fresh estimate against stale market comparables.</p>
|
||||
</button>
|
||||
<button class="rounded-2xl border border-fuchsia-400/35 bg-fuchsia-500/10 px-5 py-4 text-left transition hover:bg-fuchsia-500/15">
|
||||
<p class="text-sm font-semibold text-fuchsia-100">Feature advert</p>
|
||||
<p class="text-sm font-semibold text-fuchsia-100">Feature vehicle</p>
|
||||
<p class="mt-1 text-sm text-fuchsia-200/80">Pin a vehicle to the top rail for 24 hours.</p>
|
||||
</button>
|
||||
</div>
|
||||
@@ -62,15 +62,15 @@
|
||||
</div>
|
||||
<div class="mt-5 grid gap-4 md:grid-cols-2">
|
||||
<label class="flex items-center justify-between rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-zinc-300">
|
||||
Spotlight seller badges
|
||||
Spotlight stock badges
|
||||
<input type="checkbox" checked disabled class="h-4 w-4 rounded border-zinc-700 bg-zinc-900 text-emerald-400">
|
||||
</label>
|
||||
<label class="flex items-center justify-between rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-zinc-300">
|
||||
Quiet suspicious offers
|
||||
Quiet duplicate enquiries
|
||||
<input type="checkbox" checked disabled class="h-4 w-4 rounded border-zinc-700 bg-zinc-900 text-emerald-400">
|
||||
</label>
|
||||
<label class="flex items-center justify-between rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-zinc-300">
|
||||
Auto-hide low-effort adverts
|
||||
Auto-hide thin stock pages
|
||||
<input type="checkbox" disabled class="h-4 w-4 rounded border-zinc-700 bg-zinc-900 text-emerald-400">
|
||||
</label>
|
||||
<label class="flex items-center justify-between rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-zinc-300">
|
||||
@@ -90,8 +90,8 @@
|
||||
<p class="mt-1 text-zinc-400">Ran 18 minutes ago by `ops-preview`.</p>
|
||||
</div>
|
||||
<div class="rounded-2xl border border-white/10 bg-zinc-950/50 p-4">
|
||||
<p class="font-medium text-white">Manual seller review</p>
|
||||
<p class="mt-1 text-zinc-400">Awaiting notes from trust-and-safety.</p>
|
||||
<p class="font-medium text-white">Manual stock review</p>
|
||||
<p class="mt-1 text-zinc-400">Awaiting sign-off from the prep team.</p>
|
||||
</div>
|
||||
<div class="rounded-2xl border border-white/10 bg-zinc-950/50 p-4">
|
||||
<p class="font-medium text-white">Homepage merchandising slot 02</p>
|
||||
@@ -114,9 +114,12 @@
|
||||
<p class="text-xs font-semibold uppercase tracking-[0.24em] text-zinc-400">Restricted access</p>
|
||||
<h2 class="mt-2 text-3xl font-semibold text-white">Admin login required</h2>
|
||||
<p class="mt-3 text-sm leading-6 text-zinc-300">
|
||||
Enter the four-word access phrase from the advert page in the format
|
||||
Enter the four-word access phrase from the stock page in the format
|
||||
<span class="rounded bg-white/10 px-2 py-1 font-mono text-xs text-zinc-100">WORD_1-WORD_2-WORD_3-WORD_4</span>.
|
||||
</p>
|
||||
<p class="mt-2 text-sm text-zinc-500">
|
||||
Use the words in page order.
|
||||
</p>
|
||||
|
||||
<%= form_with url: admin_path, method: :post, class: "mt-8 space-y-5" do |form| %>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user