-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
209 lines (186 loc) · 8.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://getbootstrap.com/docs/5.3/assets/css/docs.css" rel="stylesheet">
<title>Hudade | Lent</title>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body class="p-3 m-0 border-0 bd-example m-0 border-0">
<header class="tm-site-header-box tm-bg-dark">
<h1>Hudade | Lent</h1>
<hr>
<h6 class="tm-site-subtitle"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar-week" viewBox="0 0 16 16">
<path d="M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm-3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm-5 3a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5z"/>
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"/>
</svg> 55 days | 8 weeks</h6>
<span id="cur_week" class="badge text-bg-warning text-dark"></span>
</header>
<div class="container py-5 timeline position-relative">
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle">First Week</p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Ze'Worde | Hirkal</h2>
<div editable="rich">
<p>Heb 13:6-17 | Jam 4:6-finish | Act 24:13-finish | Ps 2:11,12 | Jn 3:10-25</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle">Second Week</p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Qidist | Holiness as a goal</h2>
<div editable="rich">
<p>1 Thess. 4:1-13. 1 Pet 1:13-f. | Act 10:16-30. Ps. 96:5.6. | Matthew 6:16-25
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle">Third Week</p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Mikurab | Synagogue</h2>
<div editable="rich">
<p>Col 2:16-f. Jam 2:14.f. | Act 10:1-9. Ps. 69:9,10 | John 2:12-f.
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle"> Fourth Week </p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Metsagw | Infirm</h2>
<div editable="rich">
<p>Gal 5:1-26. | Jam 5:14-f. | Act 3:1-12. Ps 41:3,4. | John 5:1-25
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle"> Fifith Week </p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Debre-Zeit | Mount Olives</h2>
<div editable="rich">
<p>1 Thess 4:13-f. | 2 Pet 3:7-15. | Act 24:1-22. | Ps 50:2,3 | Matthew 24:1-36
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle"> sixth Week </p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Gebir'her | Genuine Servant</h2>
<div editable="rich">
<p>2 Tim 2:1-16. | 1 Pet 5:1-12. |
Act 1:6-9. Ps 40:8,9 | Matthew 25:14-31
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle"> Seventh Week </p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Nikodimus | Nicodemus
</h2>
<div editable="rich">
<p>Rom 7:1-19. | 1 John 4:18-f. | Act 5:34-f. | Ps 17:3,4 | John 3:1-15
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle"> Eighth Week </p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Hosanna | Palm Sunday</h2>
<div editable="rich">
<p>Heb 9:11-f. | Heb 8:1-13 | 1 Pet 4:1-11 | 1 pet 1:11-13. | Act 28:11-f. | Act 8:26-40. | ps 6:2 |
Ps 81:3,4 | John 12:1-50
</p>
</div>
</div>
</div>
<div class="timeline-item w-100 mb-4 py-4 text-dark lc-block">
<div class="timeline-img"></div>
<div class="timeline-content">
<p editable="inline" class="lead tm-site-subtitle"> Holiday Week </p>
<hr>
<h2 editable="inline" class="fw-bold rfs-12">Easter | Fasika | Tinsae | Resurrection</h2>
<div editable="rich">
<p>1 Cor 15:23-49. |
1 Pet 3:15-f. & 1 Pet 4:1-6 |
Act 2:22-35. | Ps 118; 24,25,27 |
John 20:1-50
</p>
</div>
</div>
</div>
</div>
<!-- Button trigger modal (remove this button since we're triggering the modal automatically) -->
<!--<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
Launch demo modal
</button>-->
<!-- Modal -->
<!-- <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content tm-bg-dark">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">reminder</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<span id="cur_week" class="display-6" text-dark"></span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
-->
<!-- JavaScript to trigger the modal automatically -->
<script>
// Wait for the DOM content to be fully loaded
document.addEventListener("DOMContentLoaded", function() {
// Get the modal element
var myModal = new bootstrap.Modal(document.getElementById('exampleModal'));
// Show the modal
myModal.show();
});
</script>
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<!-- calculate current week -->
<script>
function getCurrentWeekNumber() {
const currentDate = new Date();
const firstDayOfYear = new Date(currentDate.getFullYear(), 0, 1);
const daysPassed = Math.floor((currentDate - firstDayOfYear) / (24 * 3600 * 1000));
const weekNumber = Math.ceil((daysPassed + firstDayOfYear.getDay() + 1) / 7);
return weekNumber;
}
const weekNumber = getCurrentWeekNumber();
let outputValue = (weekNumber >= 11 && weekNumber <= 19) ? weekNumber - 10 : "Invalid hour";
document.querySelectorAll("#cur_week").innerHTML = "It's week " + outputValue + " now."
</script>
</body>
</html>