m
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
||||||
<p class="text-slate-500 text-sm leading-relaxed">{{ $message }}</p>
|
<p class="text-slate-500 text-sm leading-relaxed whitespace-pre-line">{{ $message }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
||||||
<button type="button" onclick="{{ $onclick ?? "closeModal('{$id}')" }}" class="w-full sm:w-auto px-6 py-2 bg-red-600 hover:bg-red-700 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
<button type="button" onclick="{{ $onclick ?? "closeModal('{$id}')" }}" class="w-full sm:w-auto px-6 py-2 bg-red-600 hover:bg-red-700 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
||||||
<p class="text-slate-500 text-sm leading-relaxed">{{ $message }}</p>
|
<p class="text-slate-500 text-sm leading-relaxed whitespace-pre-line">{{ $message }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
||||||
<button type="button" onclick="{{ $onclick ?? "closeModal('{$id}')" }}" class="w-full sm:w-auto px-6 py-2 bg-blue-600 hover:bg-blue-700 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
<button type="button" onclick="{{ $onclick ?? "closeModal('{$id}')" }}" class="w-full sm:w-auto px-6 py-2 bg-blue-600 hover:bg-blue-700 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
||||||
<p class="text-slate-500 text-sm leading-relaxed">{{ $message }}</p>
|
<p class="text-slate-500 text-sm leading-relaxed whitespace-pre-line">{{ $message }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
||||||
<button type="button" onclick="closeModal('{{ $id }}')" class="w-full sm:w-auto px-6 py-2 bg-emerald-600 hover:bg-emerald-700 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
<button type="button" onclick="closeModal('{{ $id }}')" class="w-full sm:w-auto px-6 py-2 bg-emerald-600 hover:bg-emerald-700 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if($mode !== 'edit')
|
@if($mode !== 'edit')
|
||||||
<x-error-dialog id="modal-avatar-size-error" title="Ảnh quá lớn" message="Ảnh đại diện không được vượt quá 2MB. Vui lòng chọn ảnh nhẹ hơn!" buttonText="Đã hiểu" />
|
<x-error-dialog id="modal-avatar-size-error" title="Ảnh quá lớn" :message="'Ảnh đại diện không được vượt quá 2MB.\nVui lòng chọn ảnh nhẹ hơn!'" buttonText="Đã hiểu" />
|
||||||
|
|
||||||
@once
|
@once
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
<h3 id="modal-title-{{ $id }}" class="text-xl font-bold text-slate-800 mb-2">{{ $title }}</h3>
|
||||||
<p class="text-slate-500 text-sm leading-relaxed">{{ $message }}</p>
|
<p class="text-slate-500 text-sm leading-relaxed whitespace-pre-line">{{ $message }}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
<div class="px-6 py-4 bg-slate-50 flex justify-center border-t border-slate-100">
|
||||||
<button type="button" onclick="{{ $onclick ?? "closeModal('{$id}')" }}" class="w-full sm:w-auto px-6 py-2 bg-amber-500 hover:bg-amber-600 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
<button type="button" onclick="{{ $onclick ?? "closeModal('{$id}')" }}" class="w-full sm:w-auto px-6 py-2 bg-amber-500 hover:bg-amber-600 text-white text-sm font-semibold rounded-lg shadow-sm transition-all duration-200 cursor-pointer text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user