1
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
ssww23
2026-03-17 01:59:00 +03:00
parent 93a655235a
commit 0ee9f05416
48 changed files with 1193 additions and 413 deletions

View File

@@ -4,32 +4,34 @@
data-fetch-url="{{ route('chat.messages') }}"
data-send-url="{{ route('chat.send') }}"
data-csrf="{{ csrf_token() }}"
data-send-label="{{ __('Отправить') }}"
data-restart-label="{{ __('Начать новый чат') }}"
>
<button class="pc-chat-toggle" type="button" data-chat-toggle>
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M4 5h16v10H8l-4 4V5zm2 2v7.17L7.17 13H18V7H6z"></path>
</svg>
<span>Чат</span>
<span>{{ __('Чат') }}</span>
</button>
<section class="pc-chat-panel" data-chat-panel hidden>
<header class="pc-chat-header">
<h3>Онлайн-чат</h3>
<button class="pc-chat-close" type="button" data-chat-close aria-label="Свернуть чат">×</button>
<h3>{{ __('Онлайн-чат') }}</h3>
<button class="pc-chat-close" type="button" data-chat-close aria-label="{{ __('Свернуть чат') }}">×</button>
</header>
<p class="pc-chat-note" data-chat-note>Задайте вопрос администратор ответит в этом окне.</p>
<p class="pc-chat-note" data-chat-note>{{ __('Задайте вопросадминистратор ответит в этом окне.') }}</p>
<div class="pc-chat-messages" data-chat-messages></div>
<form class="pc-chat-form" data-chat-form>
<textarea
name="message"
placeholder="Введите сообщение..."
placeholder="{{ __('Введите сообщение...') }}"
maxlength="2000"
rows="3"
required
></textarea>
<button class="pc-btn primary" type="submit">Отправить</button>
<button class="pc-btn primary" type="submit">{{ __('Отправить') }}</button>
</form>
</section>
</div>