UI changes

This commit is contained in:
Dobromir Popov
2024-03-02 21:31:50 +02:00
parent 32a713420e
commit 5998371222
11 changed files with 17 additions and 17 deletions

View File

@ -509,7 +509,7 @@ export default function AvailabilityForm({ publisherId, existingItem, inline, on
{/* <input type="hidden" name="isactive" value={availability.isactive} /> */}
<div className="panel-actions">
<button className="action-button" onClick={() => handleCompletion()}> обратно </button>
<button className="action-button" onClick={() => handleCompletion()}> Отмени </button>
{availability.id && (
<><button className="button bg-red-500 hover:bg-red-700 focus:outline-none focus:shadow-outline" type="button" onClick={handleDelete}>
Изтрий

View File

@ -561,7 +561,7 @@ export default function AvailabilityForm({ publisherId, existingItem, inline, on
{/* <input type="hidden" name="isactive" value={availability.isactive} /> */}
<div className="panel-actions">
<button className="action-button" onClick={() => handleCompletion()}> обратно </button>
<button className="action-button" onClick={() => handleCompletion()}> Отмени </button>
{availability.id && (
<><button className="button bg-red-500 hover:bg-red-700 focus:outline-none focus:shadow-outline" type="button" onClick={handleDelete}>
Изтрий

View File

@ -87,7 +87,7 @@ export default function AvailabilityList({ publisher, showNew }) {
{<div className="flex justify-center mt-2">
<button className="btn bg-blue-500 hover:bg-blue-600 text-white font-semibold py-2 px-4 rounded transition duration-300"
onClick={() => { setSelectedItem(null); setShowAv(true) }}>Ново разположение</button>
onClick={() => { setSelectedItem(null); setShowAv(true) }}>Нова възможност</button>
</div>
}
<div className="h-4 p-10">