more UI
This commit is contained in:
@ -441,7 +441,7 @@ export default function AvailabilityForm({ publisherId, existingItem, inline, on
|
||||
<ToastContainer></ToastContainer>
|
||||
<form id="formAv" className="form p-5 bg-white shadow-md rounded-lg p-8 pr-12" onSubmit={handleSubmit}>
|
||||
<h3 className="text-xl font-semibold mb-5 text-gray-800 border-b pb-2">
|
||||
{availability.id ? "Редактирай" : "Създай"} Достъпност
|
||||
{availability.id ? "Редактирай" : "Нова"} възможност
|
||||
</h3>
|
||||
|
||||
<LocalizationProvider dateAdapter={AdapterDateFns} localeText={bgBG} adapterLocale={bg}>
|
||||
|
@ -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