добавил виджет ТП

This commit is contained in:
developer 2026-05-06 14:00:06 +08:00
parent f93d23f31f
commit a9bb1cd9ca
2 changed files with 18 additions and 8 deletions

View File

@ -73,7 +73,7 @@
if (file.size > maxSize) { if (file.size > maxSize) {
alert('Файл больше 1 МБ! Пожалуйста, выберите другой файл.'); alert('Файл больше 1 МБ! Пожалуйста, выберите другой файл.');
this.value = ''; // очищаем input this.value = '';
} }
} }
}); });

View File

@ -25,16 +25,16 @@
<div class=" text-center"> <div class=" text-center">
<a class="navbar-brand"> <a class="navbar-brand">
@if(array_key_exists('logo', DESIGN_PARAMETERS)) @if(array_key_exists('logo', DESIGN_PARAMETERS))
<img src="{{ url('/storage/' . DESIGN_PARAMETERS['logo']) }}" alt="Logo" height="70"> <img src="{{ url('/storage/' . DESIGN_PARAMETERS['logo']) }}" alt="Logo" height="70">
@else @else
<img src={{ url('/images/logo.png') }} alt="Logo" height="70"> <img src={{ url('/images/logo.png') }} alt="Logo" height="70">
@endif @endif
</a> </a>
</div> </div>
<div class="flex-fill px-0 px-md-4 text-start text-truncate fw-light fs-4 text-secondary text-uppercase" <div class="flex-fill px-0 px-md-4 text-start text-truncate fw-light fs-4 text-secondary text-uppercase"
id="pageTitle"> id="pageTitle">
@isset($title) @isset($title)
{{ $title }} {{ $title }}
@endisset @endisset
</div> </div>
<!-- Right Side Of Navbar --> <!-- Right Side Of Navbar -->
@ -116,12 +116,12 @@
</div> </div>
<div class="px-0 px-md-4 w-100"> <div class="px-0 px-md-4 w-100">
@if (session('success')) @if (session('success'))
<div class="alert alert-success"> <div class="alert alert-success">
{{ session('success') }} {{ session('success') }}
</div> </div>
@endif @endif
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
{{ $error }} {{ $error }}
@endforeach @endforeach
@yield('content') @yield('content')
</div> </div>
@ -157,6 +157,16 @@
</div> </div>
@endif @endif
@include('notice::index') @include('notice::index')
<script>
(function(w, d, u) {
var s = d.createElement('script');
s.async = true;
s.src = u + '?' + (Date.now() / 60000 | 0);
var h = d.getElementsByTagName('script')[0];
h.parentNode.insertBefore(s, h);
})(window, document, 'https://bx.zachem.info/upload/crm/site_button/loader_1_wnj4gb.js');
</script>
</body> </body>
</html> </html>