89 lines
3.5 KiB
HTML
89 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Vibe Praying</title>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header class="header">
|
|
<h1><i class="fas fa-hands-praying"></i> Vibe Praying</h1>
|
|
<p>Create random prayer partnerships where each person is paired with two others</p>
|
|
</header>
|
|
|
|
<main class="main-content">
|
|
<!-- Input Section -->
|
|
<section class="input-section">
|
|
<h2>Enter Names</h2>
|
|
<div class="input-group">
|
|
<label for="sessionName">Session Name:</label>
|
|
<input type="text" id="sessionName" placeholder="Enter session name (optional)" value="Prayer Session">
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
<label for="namesInput">Names (one per line):</label>
|
|
<textarea id="namesInput" placeholder="Enter names, one per line Example: John Sarah Michael Emma" rows="8"></textarea>
|
|
</div>
|
|
|
|
<button id="createPairsBtn" class="btn btn-primary">
|
|
<i class="fas fa-random"></i> Create Vibes
|
|
</button>
|
|
</section>
|
|
|
|
<!-- Results Section -->
|
|
<section class="results-section" id="resultsSection" style="display: none;">
|
|
<h2>Prayer Vibes</h2>
|
|
<div class="session-info">
|
|
<h3 id="sessionTitle"></h3>
|
|
<p id="sessionDate"></p>
|
|
</div>
|
|
|
|
<div class="pairs-container" id="pairsContainer">
|
|
<!-- Pairs will be displayed here -->
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<button id="saveBtn" class="btn btn-secondary">
|
|
<i class="fas fa-save"></i> Save Session
|
|
</button>
|
|
<button id="newSessionBtn" class="btn btn-outline">
|
|
<i class="fas fa-plus"></i> New Session
|
|
</button>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Previous Sessions Section -->
|
|
<section class="sessions-section">
|
|
<h2>Previous Sessions</h2>
|
|
<div class="sessions-container" id="sessionsContainer">
|
|
<!-- Previous sessions will be loaded here -->
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
|
|
<!-- Loading Modal -->
|
|
<div id="loadingModal" class="modal">
|
|
<div class="modal-content">
|
|
<div class="spinner"></div>
|
|
<p>Creating prayer vibes...</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Success Modal -->
|
|
<div id="successModal" class="modal">
|
|
<div class="modal-content">
|
|
<i class="fas fa-check-circle success-icon"></i>
|
|
<h3>Success!</h3>
|
|
<p>Prayer vibes have been created and saved.</p>
|
|
<button class="btn btn-primary" onclick="closeModal('successModal')">OK</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/static/js/app.js"></script>
|
|
</body>
|
|
</html> |