Prva verzija mini web serverja (flask). Hvala, Github Copilot.
This commit is contained in:
43
web/templates/index.html
Normal file
43
web/templates/index.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Projektor pesmi - Web sučelje</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Gornja vrstica -->
|
||||
<div class="top-bar">
|
||||
<label for="song-number">Pesem:</label>
|
||||
<input type="number" id="song-number" placeholder="Vpiši številko" min="0">
|
||||
<button id="load-btn">Naloži</button>
|
||||
|
||||
<!-- <label for="search-query">Iskanje:</label>
|
||||
<input type="text" id="search-query" placeholder="Naslovna beseda...">
|
||||
<button id="search-btn">Išči</button> -->
|
||||
|
||||
<button id="caps-btn" class="btn-dark">VELIKE črke</button>
|
||||
</div>
|
||||
|
||||
<!-- Sredenska vrstica - Prikaz -->
|
||||
<div class="content">
|
||||
<div id="display-area" class="lyrics-display">
|
||||
<span class="status-message">Pripravljeno. Vpiši številko pesmi.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Spodnja vrstica - Navigacija -->
|
||||
<div class="bottom-bar">
|
||||
<button id="prev-btn" class="btn-nav">◀ Nazaj</button>
|
||||
<span id="page-info" class="page-info"></span>
|
||||
<button id="dark-btn" class="btn-dark">Zatemni ekran</button>
|
||||
<span id="page-info-right" class="page-info"></span>
|
||||
<button id="next-btn" class="btn-nav">Naprej ▶</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{{ url_for('static', filename='script.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user