added telegram UI on user form (admins)

This commit is contained in:
Dobromir Popov
2024-02-28 15:51:05 +02:00
parent 0816b176a0
commit 349c2ca24c
3 changed files with 12 additions and 2 deletions

View File

@ -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">

View File

@ -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>

View File

Before

Width:  |  Height:  |  Size: 920 B

After

Width:  |  Height:  |  Size: 920 B