fix; delete button

This commit is contained in:
Damien Ostler 2024-06-02 04:46:21 -04:00
parent 451bdd1106
commit ea3a14a6e4
2 changed files with 8 additions and 3 deletions

View File

@ -66,7 +66,7 @@ function PageComponent() {
<td className="px-4 py-2">{item.imageCount}</td>
<td className="px-4 py-2">{item.tier.replace("Tier","")}</td>
<td className="px-4 py-2">
<a href="/gallery/admin/view" className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded float-right">
<a href="/gallery/admin/view" className="bg-secondary hover:bg-secondary-light text-white font-bold py-2 px-4 rounded float-right">
View
</a>
</td>

View File

@ -56,13 +56,18 @@ function PageComponent() {
className="mb-8 mr-2 rounded-md bg-secondary p-2 w-1/2 text-white"
placeholder="Gallery Name"
/>
<div className="w-1/4">
<div className="w-1/6">
<button onClick={() => window.location.href = "/gallery/admin"} className="w-full bg-error hover:bg-error-light text-white rounded-md p-2">
Delete
</button>
</div>
<div className="w-1/6">
<button onClick={() => window.location.href = "/gallery/admin"} className="w-full bg-error-dark hover:bg-error text-white rounded-md p-2 ml-2">
Back
</button>
</div>
<div className="w-1/4">
<button className="w-full bg-success hover:bg-success-light text-white rounded-md p-2 ml-2">
<button className="w-full bg-success hover:bg-success-light text-white rounded-md p-2 ml-4">
Save Gallery
</button>
</div>