misc
This commit is contained in:
@ -85,6 +85,8 @@ function ShiftComponent({ shift, onShiftSelect, isSelected, onPublisherSelect, a
|
||||
// if (onPublisherSelect) {
|
||||
// onPublisherSelect(publisher);
|
||||
// }
|
||||
|
||||
common.copyToClipboard(null, publisher.firstName + ' ' + publisher.lastName);
|
||||
}
|
||||
|
||||
const removeAssignment = async (id) => {
|
||||
@ -124,6 +126,8 @@ function ShiftComponent({ shift, onShiftSelect, isSelected, onPublisherSelect, a
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<div className={`flow w-full p-4 py-2 border-2 border-gray-300 rounded-md my-1 ${isSelected ? 'bg-gray-200' : ''}`}
|
||||
onClick={handleShiftClick} onDoubleClick={copyAllPublisherNames}>
|
||||
|
@ -108,28 +108,28 @@ export default function FeedbackForm({ publisherId, onDone }) {
|
||||
<div className="w-full max-w-md mx-auto">
|
||||
<form className="bg-white dark:bg-gray-800 shadow rounded-lg px-8 pt-6 pb-8 mb-4" onSubmit={handleSubmit} >
|
||||
|
||||
<h1 className="text-2xl font-bold mb-4">Отзив</h1>
|
||||
<h1 className="text-2xl font-bold mb-4">Намерих технически проблем:</h1>
|
||||
<div className="mb-4">
|
||||
|
||||
<label className='block text-gray-700 dark:text-gray-300 text-sm font-bold mb-2' htmlFor="location">Тип</label>
|
||||
{locations && (
|
||||
<select
|
||||
name="placementCount"
|
||||
id="placementCount"
|
||||
value={item.placementCount}
|
||||
onChange={(e) => {
|
||||
setItem(prevItem => ({
|
||||
...prevItem,
|
||||
placementCount: parseInt(e.target.value)
|
||||
}));
|
||||
}}
|
||||
className="block appearance-none w-full bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded py-2 px-3 text-gray-700 dark:text-gray-300 leading-tight focus:outline-none focus:bg-white focus:border-blue-500"
|
||||
>
|
||||
<option key={1} value={1}>Намерих проблем</option>
|
||||
<option key={2} value={2}>Предложение</option>
|
||||
<option key={3} value={3}>Друго</option>
|
||||
</select>
|
||||
)}
|
||||
|
||||
<select
|
||||
name="placementCount"
|
||||
id="placementCount"
|
||||
value={item.placementCount}
|
||||
onChange={(e) => {
|
||||
setItem(prevItem => ({
|
||||
...prevItem,
|
||||
placementCount: parseInt(e.target.value)
|
||||
}));
|
||||
}}
|
||||
className="block appearance-none w-full bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded py-2 px-3 text-gray-700 dark:text-gray-300 leading-tight focus:outline-none focus:bg-white focus:border-blue-500"
|
||||
>
|
||||
<option key={1} value={1}>Намерих проблем</option>
|
||||
<option key={2} value={2}>Предложение</option>
|
||||
<option key={3} value={3}>Друго</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
|
||||
<div className="mb-8"> {/* Increased bottom margin */}
|
||||
|
Reference in New Issue
Block a user