broadfield-dev commited on
Commit
bc986bc
·
verified ·
1 Parent(s): 5be321a

Create chapter.html

Browse files
Files changed (1) hide show
  1. templates/chapter.html +34 -0
templates/chapter.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- templates/chapter.html -->
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <title>{{ book_name }} {{ chapter_num }} - Bible App</title>
7
+ <style>
8
+ body { font-family: sans-serif; margin: 2em; background-color: #f4f4f9; color: #333; }
9
+ .container { max-width: 800px; margin: auto; background: #fff; padding: 2em; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
10
+ h1, h2 { color: #4a4a4a; }
11
+ p { line-height: 1.6; }
12
+ .verse-num { font-weight: bold; color: #5c67f2; vertical-align: super; font-size: 0.8em; margin-left: 4px; }
13
+ .nav-links { margin-bottom: 2em; font-size: 1.1em; }
14
+ a { color: #5c67f2; text-decoration: none; }
15
+ a:hover { text-decoration: underline; }
16
+ </style>
17
+ </head>
18
+ <body>
19
+ <div class="container">
20
+ <div class="nav-links">
21
+ <a href="/">← Back to Search</a> |
22
+ <a href="{{ url_for('view_book', version=version, book_name=book_name) }}">View Full Book of {{ book_name }}</a>
23
+ </div>
24
+
25
+ <h1>{{ book_name }} Chapter {{ chapter_num }}</h1>
26
+ <hr>
27
+ <p>
28
+ {% for verse in verses %}
29
+ <span class="verse-num">{{ verse.verse }}</span> {{ verse.text }}
30
+ {% endfor %}
31
+ </p>
32
+ </div>
33
+ </body>
34
+ </html>