UI changes
This commit is contained in:
@ -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}>
|
||||
Изтрий
|
||||
|
@ -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}>
|
||||
Изтрий
|
||||
|
@ -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">
|
||||
|
Reference in New Issue
Block a user