35 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Scripture Slide Generator for Foothill</title>
</head><style> body {
background-color: #2c5aa0; color: white;
}</style>
<body>
<h1>Scripture Slide Generator for Foothill</h1>
<h3>Enter scripture reference and version, then press the download button. A zip file with slides in it will be downloaded. Unzip the file and drop the folder into the ProPresenter play list.</h3>
<form method="post">
<label for="scripture_reference">Scripture Reference:</label><br>
<input type="text" id="scripture_reference" name="scripture_reference" value="{{ reference }}"><br><br>
<label for="version">Version:</label><br>
<select id="version" name="version">
<option value="NRSV" {% if version == 'NRSV' %}selected{% endif %}>New Revised Standard (NRSV)</option>
<option value="NIV" {% if version == 'NIV' %}selected{% endif %}>New International (NIV)</option>
<option value="MSG" {% if version == 'MSG' %}selected{% endif %}>The Message (MSG)</option>
<option value="NLT" {% if version == 'NLT' %}selected{% endif %}>New Living (NLT)</option>
</select><br><br>
<button type="submit">Download Slide Zip File</button>
</form>
{% if verse_html %}
<h2>Verse:</h2>
<p>{{ verse_html }}</p>
{% elif error %}
<h2>Error:</h2>
<p>{{ error }}</p>
{% endif %}
</body>
</html>