added telegram UI on user form (admins)
This commit is contained in:
@ -282,6 +282,10 @@ export default function PublisherForm({ item, me }) {
|
||||
|
||||
</select>
|
||||
</div>
|
||||
<a href="https://t.me/mwhitnessing_bot" className="inline-flex items-center ml-4" target="_blank">
|
||||
<img src="/content/icons/telegram-svgrepo-com.svg" alt="Телеграм" width="32" height="32" className="align-middle" />
|
||||
<span className="align-middle">Телеграм</span>
|
||||
</a>
|
||||
</ProtectedRoute>
|
||||
{/* ---------------------------- Actions --------------------------------- */}
|
||||
<div className="panel-actions">
|
||||
|
@ -117,6 +117,12 @@ export default function FeedbackForm({ publisherId, onDone }) {
|
||||
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>
|
||||
@ -143,8 +149,8 @@ export default function FeedbackForm({ publisherId, onDone }) {
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</form >
|
||||
</div >
|
||||
);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 920 B |
Reference in New Issue
Block a user