helpdesk form added

This commit is contained in:
Thekindbull 2025-09-02 11:25:16 +08:00
parent 068c8f0fbc
commit 08d682ddf2

View File

@ -67,6 +67,11 @@
document.getElementById('logout-form').submit();">
Выйти
</a>
<hr class="dropdown-divider">
<a class="dropdown-item" href="#" data-bs-toggle="modal"
data-bs-target="#helpDeleteContract">
<i class="bi bi-question-diamond"></i> Помощь
</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
@csrf
@ -79,6 +84,37 @@
</div>
</nav>
<!-- Modal -->
<div class="modal fade" id="helpDeleteContract" tabindex="-1" aria-labelledby="helpDeleteContractlLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="helpDeleteContractLabel">Заявка в техническую поддержку</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="form-floating">
<select class="form-select" id="floatingSelect" aria-label="Выберите тему обращения">
<option value="1">Изменить данные профиля</option>
<option value="2">Удалить сделку</option>
<option value="3">Другое</option>
</select>
<label for="floatingSelect">Выберите тему обращения</label>
</div>
<div class="form-floating mt-3">
<textarea rows="4" class="form-control" placeholder="Оставьте текст обращения в этом поле" id="floatingTextarea"></textarea>
<label for="floatingTextarea">Текст обращения</label>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Закрыть</button>
<button type="button" class="btn btn-primary">Отправить</button>
</div>
</div>
</div>
</div>
<main class="py-4">
<div class="container">
<div class="row justify-content-center">