Gallery front
This commit is contained in:
39
src/webui/index.html
Normal file
39
src/webui/index.html
Normal file
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Photo WebUI</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='style/style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Photo WebUI</h1>
|
||||
|
||||
<div class="toolbar">
|
||||
<button onclick="refreshGallery()">🔄 Refresh Gallery</button>
|
||||
<button onclick="refreshHero()">🔄 Refresh Hero</button>
|
||||
<button onclick="saveChanges()">💾 Save Changes</button>
|
||||
</div>
|
||||
|
||||
<!-- Gallery Upload Section -->
|
||||
<div class="upload-section">
|
||||
<h2>Gallery</h2>
|
||||
<label>
|
||||
Upload Image:
|
||||
<input type="file" id="upload-gallery" accept=".png,.jpg,.jpeg,.webp">
|
||||
</label>
|
||||
<div id="gallery"></div>
|
||||
</div>
|
||||
|
||||
<!-- Hero Upload Section -->
|
||||
<div class="upload-section">
|
||||
<h2>Hero</h2>
|
||||
<label>
|
||||
Upload Image:
|
||||
<input type="file" id="upload-hero" accept=".png,.jpg,.jpeg,.webp">
|
||||
</label>
|
||||
<div id="hero"></div>
|
||||
</div>
|
||||
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/upload.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user