1640 lines
46 KiB
HTML
1640 lines
46 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Custom Pages - Sky Art Shop Admin</title>
|
|
<link
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
|
|
rel="stylesheet"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.snow.css"
|
|
/>
|
|
<link rel="stylesheet" href="/admin/css/admin-style.css" />
|
|
<link rel="stylesheet" href="/admin/css/media-library.css" />
|
|
<style>
|
|
:root {
|
|
--accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
--card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
|
--hover-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
|
|
--border-radius: 16px;
|
|
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* Page Cards Grid */
|
|
.pages-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 24px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.page-card {
|
|
background: white;
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--card-shadow);
|
|
overflow: hidden;
|
|
transition: var(--transition);
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.page-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--hover-shadow);
|
|
border-color: #667eea;
|
|
}
|
|
|
|
.page-card-header {
|
|
background: var(--accent-gradient);
|
|
padding: 20px 24px;
|
|
color: white;
|
|
}
|
|
|
|
.page-card-header h4 {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.page-card-header .page-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.page-card-body {
|
|
padding: 20px 24px;
|
|
}
|
|
|
|
.page-slug {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: #f1f5f9;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
font-family: "Monaco", "Consolas", monospace;
|
|
font-size: 0.85rem;
|
|
color: #64748b;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.page-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.page-status.published {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.page-status.draft {
|
|
background: #fef3c7;
|
|
color: #92400e;
|
|
}
|
|
|
|
.page-card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 16px 24px;
|
|
border-top: 1px solid #e2e8f0;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.page-card-actions .btn {
|
|
flex: 1;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-edit {
|
|
background: #667eea;
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
.btn-edit:hover {
|
|
background: #5a6fd6;
|
|
color: white;
|
|
}
|
|
|
|
.btn-delete {
|
|
background: white;
|
|
color: #dc2626;
|
|
border: 2px solid #dc2626;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
}
|
|
|
|
/* Editor Modal Styles */
|
|
.editor-modal .modal-dialog {
|
|
max-width: 1200px;
|
|
margin: 30px auto;
|
|
}
|
|
|
|
.editor-modal .modal-content {
|
|
border-radius: var(--border-radius);
|
|
border: none;
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
|
|
max-height: 90vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.editor-modal .modal-header {
|
|
background: var(--accent-gradient);
|
|
color: white;
|
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
padding: 20px 30px;
|
|
border: none;
|
|
}
|
|
|
|
.editor-modal .modal-header .btn-close {
|
|
filter: brightness(0) invert(1);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.editor-modal .modal-header .btn-close:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.editor-modal .modal-body {
|
|
padding: 30px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
max-height: calc(90vh - 160px);
|
|
}
|
|
|
|
.editor-modal .modal-footer {
|
|
padding: 20px 30px;
|
|
border-top: 1px solid #e2e8f0;
|
|
background: #f8fafc;
|
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
}
|
|
|
|
/* Form Sections */
|
|
.form-section {
|
|
background: #f8fafc;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
margin-bottom: 24px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.form-section-title {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: #334155;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.form-section-title i {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: var(--accent-gradient);
|
|
color: white;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.form-label {
|
|
font-weight: 500;
|
|
color: #475569;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
border-radius: 10px;
|
|
border: 2px solid #e2e8f0;
|
|
padding: 12px 16px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
/* Quill Editor Styling */
|
|
.editor-wrapper {
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
background: white;
|
|
}
|
|
|
|
.editor-wrapper:focus-within {
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.ql-toolbar {
|
|
border: none !important;
|
|
border-bottom: 1px solid #e2e8f0 !important;
|
|
background: #f8fafc;
|
|
padding: 12px !important;
|
|
}
|
|
|
|
.ql-container {
|
|
border: none !important;
|
|
font-size: 16px;
|
|
min-height: 300px;
|
|
}
|
|
|
|
.ql-editor {
|
|
min-height: 300px;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Team Members Grid */
|
|
.team-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.team-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
border: 2px solid #e2e8f0;
|
|
transition: var(--transition);
|
|
position: relative;
|
|
}
|
|
|
|
.team-card:hover {
|
|
border-color: #667eea;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.team-card-avatar {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
margin: 0 auto 16px;
|
|
overflow: hidden;
|
|
border: 3px solid #667eea;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #f1f5f9;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.team-card-avatar:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.team-card-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.team-card-avatar i {
|
|
font-size: 2rem;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.team-card-delete {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.team-card-delete:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
}
|
|
|
|
.team-card input,
|
|
.team-card textarea {
|
|
width: 100%;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
margin-bottom: 12px;
|
|
font-size: 0.9rem;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.team-card input:focus,
|
|
.team-card textarea:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.team-card textarea {
|
|
resize: none;
|
|
min-height: 80px;
|
|
}
|
|
|
|
.add-team-btn {
|
|
border: 2px dashed #cbd5e1;
|
|
border-radius: 12px;
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
background: transparent;
|
|
color: #64748b;
|
|
min-height: 200px;
|
|
width: 100%;
|
|
}
|
|
|
|
.add-team-btn:hover {
|
|
border-color: #667eea;
|
|
background: rgba(102, 126, 234, 0.05);
|
|
color: #667eea;
|
|
}
|
|
|
|
.add-team-btn i {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
/* Save Button */
|
|
.btn-save {
|
|
background: var(--accent-gradient);
|
|
border: none;
|
|
color: white;
|
|
padding: 12px 32px;
|
|
border-radius: 10px;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.btn-save:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
|
color: white;
|
|
}
|
|
|
|
.btn-save:disabled {
|
|
opacity: 0.7;
|
|
transform: none;
|
|
}
|
|
|
|
/* Toggle Switch */
|
|
.toggle-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 16px 20px;
|
|
background: #f1f5f9;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.form-switch .form-check-input {
|
|
width: 48px;
|
|
height: 26px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-switch .form-check-input:checked {
|
|
background-color: #667eea;
|
|
border-color: #667eea;
|
|
}
|
|
|
|
/* Empty State */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
}
|
|
|
|
.empty-state i {
|
|
font-size: 4rem;
|
|
color: #cbd5e1;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.empty-state h5 {
|
|
color: #64748b;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.empty-state p {
|
|
color: #94a3b8;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* Confirmation Modal Styles */
|
|
.confirm-modal-overlay,
|
|
.result-modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.confirm-modal-overlay.active,
|
|
.result-modal-overlay.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.confirm-modal,
|
|
.result-modal {
|
|
background: white;
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
text-align: center;
|
|
max-width: 400px;
|
|
width: 90%;
|
|
transform: scale(0.8);
|
|
transition: transform 0.3s ease;
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.confirm-modal-overlay.active .confirm-modal,
|
|
.result-modal-overlay.active .result-modal {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.confirm-modal-icon,
|
|
.result-modal-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 20px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.confirm-modal-icon {
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.confirm-modal-icon.warning {
|
|
background: #fef3c7;
|
|
color: #d97706;
|
|
}
|
|
|
|
.result-modal-icon.success {
|
|
background: #dcfce7;
|
|
color: #16a34a;
|
|
}
|
|
|
|
.result-modal-icon.error {
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.confirm-modal h4,
|
|
.result-modal h4 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.confirm-modal p,
|
|
.result-modal p {
|
|
color: #64748b;
|
|
font-size: 1rem;
|
|
margin-bottom: 28px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.confirm-modal-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.confirm-modal-actions .btn,
|
|
.result-modal .btn {
|
|
padding: 12px 28px;
|
|
border-radius: 10px;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
transition: all 0.2s ease;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.btn-cancel {
|
|
background: #f1f5f9;
|
|
color: #475569;
|
|
border: none;
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
background: #e2e8f0;
|
|
color: #334155;
|
|
}
|
|
|
|
.btn-confirm-delete {
|
|
background: #dc2626;
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
.btn-confirm-delete:hover {
|
|
background: #b91c1c;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
|
|
}
|
|
|
|
.btn-ok {
|
|
background: var(--accent-gradient);
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
.btn-ok:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
/* Scrollbar */
|
|
.modal-body::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.modal-body::-webkit-scrollbar-track {
|
|
background: #f1f5f9;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.modal-body::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.modal-body::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8;
|
|
}
|
|
|
|
/* Contact Form Fields */
|
|
.contact-field-group {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.contact-field-group h6 {
|
|
color: #334155;
|
|
font-weight: 600;
|
|
margin-bottom: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.contact-field-group h6 i {
|
|
color: #667eea;
|
|
}
|
|
|
|
/* Business Hours */
|
|
.hours-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.hours-row input {
|
|
flex: 1;
|
|
}
|
|
|
|
.hours-row .btn-remove-hour {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hours-row .btn-remove-hour:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
}
|
|
|
|
/* Loading Overlay */
|
|
.saving-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9999;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.saving-overlay.active {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.saving-spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid #e2e8f0;
|
|
border-top-color: #667eea;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* FAQ Item Styles */
|
|
.faq-item-card {
|
|
background: white;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.faq-item-card:hover {
|
|
border-color: #667eea;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.faq-item-card .item-number {
|
|
position: absolute;
|
|
top: -10px;
|
|
left: 16px;
|
|
background: var(--accent-gradient);
|
|
color: white;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.faq-item-card .btn-remove-item {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.faq-item-card .btn-remove-item:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
}
|
|
|
|
.faq-item-card .form-label {
|
|
font-weight: 600;
|
|
color: #475569;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.faq-item-card textarea {
|
|
min-height: 80px;
|
|
resize: vertical;
|
|
}
|
|
|
|
/* Section Item Styles (for Returns, Shipping, Privacy) */
|
|
.section-item-card {
|
|
background: white;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 16px;
|
|
position: relative;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.section-item-card:hover {
|
|
border-color: #667eea;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
.section-item-card .section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-item-card .section-number {
|
|
background: var(--accent-gradient);
|
|
color: white;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.section-item-card .btn-remove-section {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.section-item-card .btn-remove-section:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
}
|
|
|
|
.section-item-card textarea {
|
|
min-height: 120px;
|
|
resize: vertical;
|
|
}
|
|
|
|
/* List Items Editor */
|
|
.list-items-container {
|
|
background: #f8fafc;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.list-item-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.list-item-row input {
|
|
flex: 1;
|
|
}
|
|
|
|
.list-item-row .btn-remove-list-item {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
background: #fee2e2;
|
|
color: #dc2626;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.list-item-row .btn-remove-list-item:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
}
|
|
|
|
/* Page ID Display */
|
|
.page-id-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.pages-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.team-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.editor-modal .modal-dialog {
|
|
margin: 10px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="sidebar">
|
|
<div class="sidebar-brand">Sky Art Shop</div>
|
|
<ul class="sidebar-menu">
|
|
<li>
|
|
<a href="/admin/dashboard"
|
|
><i class="bi bi-speedometer2"></i> Dashboard</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/homepage"
|
|
><i class="bi bi-house"></i> Homepage Editor</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/products"><i class="bi bi-box"></i> Products</a>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/portfolio"><i class="bi bi-easel"></i> Portfolio</a>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/blog"><i class="bi bi-newspaper"></i> Blog</a>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/pages" class="active"
|
|
><i class="bi bi-file-text"></i> Custom Pages</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/media-library"
|
|
><i class="bi bi-images"></i> Media Library</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/menu"><i class="bi bi-list"></i> Menu</a>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/settings"><i class="bi bi-gear"></i> Settings</a>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/users"><i class="bi bi-people"></i> Users</a>
|
|
</li>
|
|
<li>
|
|
<a href="/admin/customers"
|
|
><i class="bi bi-person-hearts"></i> Customers</a
|
|
>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="main-content">
|
|
<div class="top-bar">
|
|
<div>
|
|
<h3><i class="bi bi-file-text me-2"></i>Custom Pages</h3>
|
|
<p class="mb-0 text-muted">Manage your website's custom pages</p>
|
|
</div>
|
|
<div>
|
|
<button
|
|
class="btn btn-outline-secondary me-2"
|
|
onclick="refreshPages()"
|
|
>
|
|
<i class="bi bi-arrow-clockwise"></i>
|
|
</button>
|
|
<button class="btn-logout" onclick="logout()">
|
|
<i class="bi bi-box-arrow-right"></i> Logout
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="actions-bar mb-4">
|
|
<button class="btn btn-primary" onclick="showCreatePage()">
|
|
<i class="bi bi-plus-circle me-2"></i>Create New Page
|
|
</button>
|
|
<div class="search-box">
|
|
<i class="bi bi-search"></i>
|
|
<input
|
|
type="text"
|
|
placeholder="Search pages..."
|
|
id="searchInput"
|
|
oninput="filterPages()"
|
|
/>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Pages Grid -->
|
|
<div class="pages-grid" id="pagesContainer">
|
|
<div class="text-center p-5">
|
|
<div class="saving-spinner mx-auto mb-3"></div>
|
|
<p class="text-muted">Loading pages...</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Page Editor Modal -->
|
|
<div class="modal fade editor-modal" id="pageModal" tabindex="-1">
|
|
<div class="modal-dialog modal-xl">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title" id="modalTitle">
|
|
<i class="bi bi-file-earmark-plus me-2"></i>
|
|
<span id="modalTitleText">Create Page</span>
|
|
</h5>
|
|
<span class="page-id-badge" id="pageIdBadge" style="display: none">
|
|
<i class="bi bi-hash"></i>
|
|
<span id="pageIdDisplay"></span>
|
|
</span>
|
|
<button
|
|
type="button"
|
|
class="btn-close"
|
|
data-bs-dismiss="modal"
|
|
></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<form id="pageForm">
|
|
<input type="hidden" id="pageId" />
|
|
<input type="hidden" id="pageSlugOriginal" />
|
|
|
|
<!-- Basic Info Section -->
|
|
<div class="form-section">
|
|
<div class="form-section-title">
|
|
<i class="bi bi-info-circle"></i>
|
|
Basic Information
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="pageTitle" class="form-label"
|
|
>Page Title *</label
|
|
>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="pageTitle"
|
|
placeholder="Enter page title"
|
|
required
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="pageSlug" class="form-label">URL Slug *</label>
|
|
<div class="input-group">
|
|
<span
|
|
class="input-group-text"
|
|
style="border-radius: 10px 0 0 10px"
|
|
>/</span
|
|
>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="pageSlug"
|
|
placeholder="page-url"
|
|
required
|
|
style="border-radius: 0 10px 10px 0"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content Section - Regular Editor -->
|
|
<div class="form-section" id="regularContentSection">
|
|
<div class="form-section-title">
|
|
<i class="bi bi-file-richtext"></i>
|
|
Page Content
|
|
</div>
|
|
<div class="editor-wrapper">
|
|
<div id="pageContentEditor"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content Section - About Page -->
|
|
<div
|
|
class="form-section"
|
|
id="aboutContentSection"
|
|
style="display: none"
|
|
>
|
|
<div class="form-section-title">
|
|
<i class="bi bi-file-richtext"></i>
|
|
About Content
|
|
</div>
|
|
<div class="editor-wrapper mb-4">
|
|
<div id="aboutContentEditor"></div>
|
|
</div>
|
|
|
|
<div class="form-section-title mt-4">
|
|
<i class="bi bi-people"></i>
|
|
Team Members
|
|
</div>
|
|
<div class="team-grid" id="teamMembersGrid">
|
|
<!-- Team members will be loaded here -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content Section - Contact Page -->
|
|
<div
|
|
class="form-section"
|
|
id="contactContentSection"
|
|
style="display: none"
|
|
>
|
|
<div class="form-section-title">
|
|
<i class="bi bi-envelope"></i>
|
|
Contact Information
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-card-heading"></i> Page Header</h6>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Title</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="contactHeaderTitle"
|
|
placeholder="Contact Us"
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Subtitle</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="contactHeaderSubtitle"
|
|
placeholder="We'd love to hear from you"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-geo-alt"></i> Contact Details</h6>
|
|
<div class="row">
|
|
<div class="col-md-4 mb-3">
|
|
<label class="form-label">Phone</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="contactPhone"
|
|
placeholder="+1 (555) 123-4567"
|
|
/>
|
|
</div>
|
|
<div class="col-md-4 mb-3">
|
|
<label class="form-label">Email</label>
|
|
<input
|
|
type="email"
|
|
class="form-control"
|
|
id="contactEmail"
|
|
placeholder="hello@example.com"
|
|
/>
|
|
</div>
|
|
<div class="col-md-4 mb-3">
|
|
<label class="form-label">Address</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="contactAddress"
|
|
placeholder="123 Main St, City"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-clock"></i> Business Hours</h6>
|
|
<div id="businessHoursContainer">
|
|
<!-- Hours rows will be added here -->
|
|
</div>
|
|
<button
|
|
type="button"
|
|
class="btn btn-outline-primary btn-sm mt-2"
|
|
onclick="addBusinessHour()"
|
|
>
|
|
<i class="bi bi-plus-circle me-1"></i>Add Hours
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Content Section - FAQ Page -->
|
|
<div
|
|
class="form-section"
|
|
id="faqContentSection"
|
|
style="display: none"
|
|
>
|
|
<div class="form-section-title">
|
|
<i class="bi bi-question-circle"></i>
|
|
FAQ Questions & Answers
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-card-heading"></i> Page Header</h6>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Title</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="faqHeaderTitle"
|
|
placeholder="Frequently Asked Questions"
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Subtitle</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="faqHeaderSubtitle"
|
|
placeholder="Quick answers to common questions"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="faqItemsContainer">
|
|
<!-- FAQ items will be dynamically added here -->
|
|
</div>
|
|
<button
|
|
type="button"
|
|
class="btn btn-outline-primary mt-3"
|
|
onclick="addFaqItem()"
|
|
>
|
|
<i class="bi bi-plus-circle me-1"></i>Add Question
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Content Section - Returns & Refunds Page -->
|
|
<div
|
|
class="form-section"
|
|
id="returnsContentSection"
|
|
style="display: none"
|
|
>
|
|
<div class="form-section-title">
|
|
<i class="bi bi-arrow-return-left"></i>
|
|
Returns & Refunds Policy
|
|
</div>
|
|
|
|
<div
|
|
class="alert alert-info mb-3"
|
|
style="
|
|
font-size: 0.9rem;
|
|
padding: 0.75rem;
|
|
background-color: #e7f3ff;
|
|
border: 1px solid #b3d9ff;
|
|
color: #004085;
|
|
"
|
|
>
|
|
<i class="bi bi-info-circle me-2"></i>
|
|
<strong>Frontend Display:</strong> Highlight message at top,
|
|
then each section shows Title (as heading), Content (formatted
|
|
text), and optional List Items (bullet points).
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-card-heading"></i> Page Header</h6>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Title</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="returnsHeaderTitle"
|
|
placeholder="Returns & Refunds"
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Subtitle</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="returnsHeaderSubtitle"
|
|
placeholder="Our hassle-free return policy"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-info-circle"></i> Highlight Box</h6>
|
|
<div class="mb-3">
|
|
<label class="form-label">Highlight Text</label>
|
|
<textarea
|
|
class="form-control"
|
|
id="returnsHighlight"
|
|
rows="2"
|
|
placeholder="We want you to love your purchase! If you're not completely satisfied..."
|
|
></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="returnsSectionsContainer">
|
|
<!-- Policy sections will be dynamically added here -->
|
|
</div>
|
|
<button
|
|
type="button"
|
|
class="btn btn-outline-primary mt-3"
|
|
onclick="addReturnsSection()"
|
|
>
|
|
<i class="bi bi-plus-circle me-1"></i>Add Section
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Content Section - Shipping Info Page -->
|
|
<div
|
|
class="form-section"
|
|
id="shippingContentSection"
|
|
style="display: none"
|
|
>
|
|
<div class="form-section-title">
|
|
<i class="bi bi-truck"></i>
|
|
Shipping Information
|
|
</div>
|
|
|
|
<div
|
|
class="alert alert-info mb-3"
|
|
style="
|
|
font-size: 0.9rem;
|
|
padding: 0.75rem;
|
|
background-color: #e7f3ff;
|
|
border: 1px solid #b3d9ff;
|
|
color: #004085;
|
|
"
|
|
>
|
|
<i class="bi bi-info-circle me-2"></i>
|
|
<strong>Frontend Display:</strong> Each section shows Title
|
|
(as heading), Content (formatted text), and optional List
|
|
Items (bullet points).
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-card-heading"></i> Page Header</h6>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Title</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="shippingHeaderTitle"
|
|
placeholder="Shipping Information"
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Subtitle</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="shippingHeaderSubtitle"
|
|
placeholder="Fast, reliable delivery to your door"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="shippingSectionsContainer">
|
|
<!-- Shipping sections will be dynamically added here -->
|
|
</div>
|
|
<button
|
|
type="button"
|
|
class="btn btn-outline-primary mt-3"
|
|
onclick="addShippingSection()"
|
|
>
|
|
<i class="bi bi-plus-circle me-1"></i>Add Section
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Content Section - Privacy Policy Page -->
|
|
<div
|
|
class="form-section"
|
|
id="privacyContentSection"
|
|
style="display: none"
|
|
>
|
|
<div class="form-section-title">
|
|
<i class="bi bi-shield-lock"></i>
|
|
Privacy Policy
|
|
</div>
|
|
|
|
<div
|
|
class="alert alert-info mb-3"
|
|
style="
|
|
font-size: 0.9rem;
|
|
padding: 0.75rem;
|
|
background-color: #e7f3ff;
|
|
border: 1px solid #b3d9ff;
|
|
color: #004085;
|
|
"
|
|
>
|
|
<i class="bi bi-info-circle me-2"></i>
|
|
<strong>Simplified Editor:</strong> One main content editor
|
|
for all your privacy policy text (with formatting), plus a
|
|
separate contact box at the bottom.
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-card-heading"></i> Page Header</h6>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Title</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyHeaderTitle"
|
|
placeholder="Privacy Policy"
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label class="form-label">Subtitle</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyHeaderSubtitle"
|
|
placeholder="How we protect and use your information"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label class="form-label">Last Updated</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyLastUpdated"
|
|
placeholder="January 18, 2026"
|
|
/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6><i class="bi bi-file-text"></i> Main Content</h6>
|
|
<p class="text-muted small mb-2">
|
|
Add all your privacy policy content here with formatting
|
|
(headings, bold, lists, etc.)
|
|
</p>
|
|
<div class="editor-wrapper">
|
|
<div
|
|
id="privacyMainContentEditor"
|
|
style="min-height: 400px"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-field-group">
|
|
<h6>
|
|
<i class="bi bi-envelope"></i> Contact Information Box
|
|
</h6>
|
|
<p class="text-muted small mb-2">
|
|
This appears at the bottom of the privacy policy page
|
|
</p>
|
|
<div class="mb-3">
|
|
<label class="form-label">Box Title</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyContactTitle"
|
|
placeholder="Privacy Questions?"
|
|
/>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label class="form-label">Box Message</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyContactMessage"
|
|
placeholder="If you have any questions about this Privacy Policy, please contact us:"
|
|
/>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-4 mb-3">
|
|
<label class="form-label">Email</label>
|
|
<input
|
|
type="email"
|
|
class="form-control"
|
|
id="privacyContactEmail"
|
|
placeholder="privacy@skyartshop.com"
|
|
/>
|
|
</div>
|
|
<div class="col-md-4 mb-3">
|
|
<label class="form-label">Phone</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyContactPhone"
|
|
placeholder="(555) 123-4567"
|
|
/>
|
|
</div>
|
|
<div class="col-md-4 mb-3">
|
|
<label class="form-label">Address</label>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="privacyContactAddress"
|
|
placeholder="123 Creative Lane, City, ST 12345"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- SEO Section -->
|
|
<div class="form-section">
|
|
<div class="form-section-title">
|
|
<i class="bi bi-search"></i>
|
|
SEO Settings
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-3">
|
|
<label for="pageMetaTitle" class="form-label"
|
|
>Meta Title</label
|
|
>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="pageMetaTitle"
|
|
placeholder="SEO page title"
|
|
/>
|
|
</div>
|
|
<div class="col-md-6 mb-3">
|
|
<label for="pageMetaDescription" class="form-label"
|
|
>Meta Description</label
|
|
>
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
id="pageMetaDescription"
|
|
placeholder="Brief description for search engines"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Publish Settings -->
|
|
<div class="form-section">
|
|
<div class="form-section-title">
|
|
<i class="bi bi-globe"></i>
|
|
Publish Settings
|
|
</div>
|
|
<div class="toggle-wrapper">
|
|
<div class="form-check form-switch mb-0">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
id="pagePublished"
|
|
checked
|
|
/>
|
|
<label class="form-check-label" for="pagePublished">
|
|
<strong>Published</strong>
|
|
<span class="text-muted ms-2"
|
|
>Page is visible on website</span
|
|
>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-light" data-bs-dismiss="modal">
|
|
<i class="bi bi-x-lg me-1"></i>Cancel
|
|
</button>
|
|
<button
|
|
type="button"
|
|
class="btn btn-save"
|
|
onclick="savePage()"
|
|
id="savePageBtn"
|
|
>
|
|
<i class="bi bi-check-lg"></i>
|
|
<span id="saveButtonText">Save Page</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Media Library Modal -->
|
|
<div id="mediaLibraryModal"></div>
|
|
|
|
<!-- Confirmation Modal -->
|
|
<div class="confirm-modal-overlay" id="confirmModalOverlay">
|
|
<div class="confirm-modal">
|
|
<div class="confirm-modal-icon" id="confirmModalIcon">
|
|
<i class="bi bi-exclamation-triangle"></i>
|
|
</div>
|
|
<h4 id="confirmModalTitle">Confirm Delete</h4>
|
|
<p id="confirmModalMessage">
|
|
Are you sure you want to delete this page?
|
|
</p>
|
|
<div class="confirm-modal-actions">
|
|
<button class="btn btn-cancel" id="confirmCancelBtn">Cancel</button>
|
|
<button class="btn btn-confirm-delete" id="confirmDeleteBtn">
|
|
Delete
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Success/Error Popup Modal -->
|
|
<div class="result-modal-overlay" id="resultModalOverlay">
|
|
<div class="result-modal">
|
|
<div class="result-modal-icon" id="resultModalIcon">
|
|
<i class="bi bi-check-circle"></i>
|
|
</div>
|
|
<h4 id="resultModalTitle">Success!</h4>
|
|
<p id="resultModalMessage">Operation completed successfully.</p>
|
|
<button class="btn btn-ok" id="resultOkBtn">OK</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Saving Overlay -->
|
|
<div class="saving-overlay" id="savingOverlay">
|
|
<div class="saving-spinner mb-3"></div>
|
|
<p class="text-muted">Saving changes...</p>
|
|
</div>
|
|
|
|
<!-- Toast Container -->
|
|
<div
|
|
class="toast-container position-fixed bottom-0 end-0 p-3"
|
|
id="toastContainer"
|
|
></div>
|
|
|
|
<!-- Scripts -->
|
|
<script src="https://cdn.jsdelivr.net/npm/quill@1.3.7/dist/quill.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="/admin/js/auth.js?v=20260117b"></script>
|
|
<script src="/admin/js/media-library.js?v=20260117b"></script>
|
|
<script src="/admin/js/pages-new.js?v=20260119fixed"></script>
|
|
</body>
|
|
</html>
|