90 lines
3.1 KiB
HTML
90 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta charset="UTF-8">
|
|
<title>Lumeex</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style/style.css') }}">
|
|
</head>
|
|
<body>
|
|
<!-- Top bar -->
|
|
<div class="nav-bar">
|
|
<div class="content-inner nav">
|
|
<div class="nav-cta">
|
|
<div class="arrow">→</div>
|
|
<a class="button" href="#" target="_blank">
|
|
<span id="step">🚀 Build !<i class="fa-solid fa-envelope"></i></span>
|
|
</a>
|
|
</div>
|
|
<input type="checkbox" id="nav-check">
|
|
<div class="nav-header">
|
|
<div class="nav-title">
|
|
<img src="{{ url_for('static', filename='img/logo.svg') }}">
|
|
</div>
|
|
</div>
|
|
<div class="nav-btn">
|
|
<label for="nav-check">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</label>
|
|
</div>
|
|
<div class="nav-links">
|
|
<ul class="nav-list">
|
|
<li class="nav-item appear2"><a href="/site-info">Site info</a>
|
|
<li class="nav-item appear2"><a href="#">Theme info</a>
|
|
<li class="nav-item appear2"><a href="#">Gallery</a>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Toast container for notifications -->
|
|
<div class="content-inner">
|
|
<div id="toast-container"></div>
|
|
|
|
<h1>Gallery editor</h1>
|
|
|
|
<!-- Hero Upload Section -->
|
|
<div class="upload-section">
|
|
<h2>Title Carrousel</h2>
|
|
<p> Select photos to display in the Title Carrousel</p>
|
|
<div class="upload-actions-row">
|
|
<label for="upload-hero" class="up-btn">
|
|
📸 Upload photos
|
|
</label>
|
|
<button id="remove-all-hero" class="up-btn">🗑 Delete all</button>
|
|
</div>
|
|
<input type="file" id="upload-hero" accept=".png,.jpg,.jpeg,.webp" multiple hidden>
|
|
<div id="hero"></div>
|
|
</div>
|
|
|
|
<!-- Gallery Upload Section -->
|
|
<div class="upload-section">
|
|
<h2>Gallery</h2>
|
|
<p> Select and tags photos to display in the Gallery</p>
|
|
<div class="upload-actions-row">
|
|
<label for="upload-gallery" class="up-btn">
|
|
📸 Upload photos
|
|
</label>
|
|
<button id="remove-all-gallery" class="up-btn">🗑 Delete all</button>
|
|
</div>
|
|
<input type="file" id="upload-gallery" accept=".png,.jpg,.jpeg,.webp" multiple hidden>
|
|
<div id="gallery"></div>
|
|
</div>
|
|
<script src="{{ url_for('static', filename='js/main.js') }}" defer></script>
|
|
<script src="{{ url_for('static', filename='js/upload.js') }}" defer></script>
|
|
</div>
|
|
<!-- Delete confirmation modal -->
|
|
<div id="delete-modal" class="modal" style="display:none;">
|
|
<div class="modal-content">
|
|
<span id="delete-modal-close" class="modal-close">×</span>
|
|
<h3>Confirm Deletion</h3>
|
|
<p id="delete-modal-text">Are you sure you want to delete this image?</p>
|
|
<div class="modal-actions">
|
|
<button id="delete-modal-confirm" class="modal-btn danger">Delete</button>
|
|
<button id="delete-modal-cancel" class="modal-btn">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |