Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
diff --git a/output/admin.html b/output/admin.html
new file mode 100755
index 0000000..91e72fa
--- /dev/null
+++ b/output/admin.html
@@ -0,0 +1 @@
+ Avraham Society Administration Page
This is the self-contained administration page for the Avraham Society website.
You cannot make changes until you are logged in.
Parsha Calendar
\ No newline at end of file
diff --git a/output/contact-us.html b/output/contact-us.html
index 07b6afd..1d51467 100755
--- a/output/contact-us.html
+++ b/output/contact-us.html
@@ -64,8 +64,7 @@
-
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
Culture
-
Text related to the cultural image.
Text related to the cultural image.
Text related to the cultural image.
Text related to the cultural image.
+
Saleh and Daoud Al-Kuwaiti were Kuwaiti born musicians that belonged to the Jewish Community of Kuwait and contributed to the Kuwaiti Sawt genre. The Al-Kuwaiti Brothers street in Tel Aviv is named after them.
David “Dudu” Tassa is the grandson of Daoud Al-Kuwaiti and is the leader of the band Dudu Tassa & the Kuwaitis. He is a successful musician in Israel and has songs in Arabic.
Text related to the cultural image.
Hussain Al-Failakawi is a local YouTuber in Kuwait. In this Arabic video he visited the Jewish Cemetery of Kuwait and has a message from Dudu Tassa.
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
diff --git a/output/main.css b/output/main.css
index f539e42..545d96b 100755
--- a/output/main.css
+++ b/output/main.css
@@ -193,7 +193,7 @@ div#banner {
}
#banner > a {
- height: 2em;
+ height: 3em;
float: left;
}
diff --git a/output/main.js b/output/main.js
index f0a5032..e3edf1d 100755
--- a/output/main.js
+++ b/output/main.js
@@ -10,4 +10,12 @@ if (localStorage.refered) {
document.getElementById("shape").scrollIntoView({
"behavior": "smooth"
});
-}
\ No newline at end of file
+}
+
+Array.from(document.getElementsByClassName("ytframe")).forEach(frame => { // resizes youtube videos to fit their containers
+ var w1 = frame.getBoundingClientRect().width;
+ frame.width = "100%";
+ var w2 = frame.getBoundingClientRect().width;
+ frame.width = w2 + "px";
+ frame.height = frame.getBoundingClientRect().height * w2 / w1;
+});
\ No newline at end of file
diff --git a/output/manifest.json b/output/manifest.json
index f503b18..09c32f1 100755
--- a/output/manifest.json
+++ b/output/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Avraham Society",
- "short_name": "AvrahamSociety",
+ "short_name": "Avraham Society",
"start_url": ".",
"display": "standalone",
"background_color": "#000000",
diff --git a/output/membership.html b/output/membership.html
index a1a14ff..eab64a8 100755
--- a/output/membership.html
+++ b/output/membership.html
@@ -64,8 +64,7 @@
-
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
diff --git a/output/torahstudy.js b/output/torahstudy.js
index df5ebc4..52498af 100755
--- a/output/torahstudy.js
+++ b/output/torahstudy.js
@@ -1,6 +1,6 @@
// Manages the Torah Study section of the Library
-var chocklyisrael = [ // 54 Torah sections, updates every sunday (or whatever day he wants really)
+const chocklyisrael = [ // 54 Torah sections, updates every sunday (or whatever day he wants really)
"Bereishit",
"Noach",
"Lech Lecha",
@@ -56,6 +56,43 @@ var chocklyisrael = [ // 54 Torah sections, updates every sunday (or whatever da
"Haazinu",
"Zot Haberakha"
];
+
+const tomerdevorah = [
+ "I & II",
+ "III",
+ "IV",
+ "V & VI",
+ "VII",
+ "VIII",
+ "IX & X"
+];
+
+function roman(num) { // roman numeral converter for numbers <10 (used for Bustan Al-Uqul)
+ if (num < 4) {
+ var ret = "";
+ for (var i = 0; i < num; i++) {
+ ret += 'I';
+ }
+ return ret;
+ }
+ else if (num == 4) {
+ return "IV";
+ }
+ else if (num >= 5 && num <= 8) {
+ var ret = "V";
+ for (var i = 0; i < num - 5; i++) {
+ ret += 'I';
+ }
+ return ret;
+ }
+ else if (num == 9) {
+ return "IX";
+ }
+ else {
+ return "X";
+ }
+}
+
const oneDay = 24 * 60 * 60 * 1000; // hours * minutes * seconds * milliseconds
const tripDay = 6; // saturday
@@ -74,4 +111,8 @@ if (now.getDay() == tripDay) {
tripsSince += 26; // Tazria
-document.getElementById("torahsection").innerText = chocklyisrael[tripsSince];
\ No newline at end of file
+var daysSinceSat = (now.getDay() + 1 + (now.getHours() > 12 ? 1 : 0)) % 7;
+
+document.getElementById("torahsection").innerText = chocklyisrael[tripsSince];
+document.getElementById("bustanaluqul").innerText = roman(daysSinceSat);
+document.getElementById("tomerdevorah").innerText = tomerdevorah[daysSinceSat];
\ No newline at end of file
diff --git a/site/admin.html b/site/admin.html
new file mode 100644
index 0000000..3d2e24f
--- /dev/null
+++ b/site/admin.html
@@ -0,0 +1,32 @@
+[!][@on minify]
+
+
+
+
+ Avraham Society Administration Page
+
+
+
+
+
This is the self-contained administration page for the Avraham Society website.
+ You cannot make changes until you are logged in.
+
+
+ Parsha Calendar
+
+
+
+
\ No newline at end of file
diff --git a/site/culturalstuff/culture2.html b/site/culturalstuff/culture2.html
deleted file mode 100644
index 95a9a79..0000000
--- a/site/culturalstuff/culture2.html
+++ /dev/null
@@ -1,5 +0,0 @@
-[?][@on minify]
-[=img "https://media.istockphoto.com/id/1337471900/vector/star-of-david-graphic-abstract-background-with-three-doves.webp?s=2048x2048&w=is&k=20&c=M47-JucDhH5TQs500koB-siTbCxce2DLUfQjC5Y9gKA="]
-[=text-]
- Text related to the cultural image.
-[/]
\ No newline at end of file
diff --git a/site/culturalstuff/culture3.html b/site/culturalstuff/culture3.html
deleted file mode 100644
index 95a9a79..0000000
--- a/site/culturalstuff/culture3.html
+++ /dev/null
@@ -1,5 +0,0 @@
-[?][@on minify]
-[=img "https://media.istockphoto.com/id/1337471900/vector/star-of-david-graphic-abstract-background-with-three-doves.webp?s=2048x2048&w=is&k=20&c=M47-JucDhH5TQs500koB-siTbCxce2DLUfQjC5Y9gKA="]
-[=text-]
- Text related to the cultural image.
-[/]
\ No newline at end of file
diff --git a/site/culturalstuff/cultureVideo.html b/site/culturalstuff/cultureVideo.html
deleted file mode 100644
index 57c143d..0000000
--- a/site/culturalstuff/cultureVideo.html
+++ /dev/null
@@ -1,10 +0,0 @@
-[?][@on minify]
-[=videoEmbed-]
-
-[/]
-[=text-]
-Text related to the cultural image.
-[/]
\ No newline at end of file
diff --git a/site/culturalstuff/daoudandsaleh.html b/site/culturalstuff/daoudandsaleh.html
new file mode 100644
index 0000000..a92b473
--- /dev/null
+++ b/site/culturalstuff/daoudandsaleh.html
@@ -0,0 +1,11 @@
+[?][@on minify]
+[=videoEmbed-]
+
+[/]
+[=text-]
+Saleh and Daoud Al-Kuwaiti were Kuwaiti born musicians that belonged to the Jewish Community of Kuwait and contributed
+to the Kuwaiti Sawt genre. The Al-Kuwaiti Brothers street in Tel Aviv is named after them.
+[/]
\ No newline at end of file
diff --git a/site/culturalstuff/video1.html b/site/culturalstuff/video1.html
new file mode 100644
index 0000000..c952446
--- /dev/null
+++ b/site/culturalstuff/video1.html
@@ -0,0 +1,11 @@
+[?][@on minify]
+[=videoEmbed-]
+
+[/]
+[=text-]
+David “Dudu” Tassa is the grandson of Daoud Al-Kuwaiti and is the leader of the band Dudu Tassa & the Kuwaitis. He is a
+successful musician in Israel and has songs in Arabic.
+[/]
\ No newline at end of file
diff --git a/site/culturalstuff/video2.html b/site/culturalstuff/video2.html
new file mode 100644
index 0000000..ec7aefa
--- /dev/null
+++ b/site/culturalstuff/video2.html
@@ -0,0 +1,11 @@
+[?][@on minify]
+[=videoEmbed-]
+
+[/]
+[=text-]
+Hussain Al-Failakawi is a local YouTuber in Kuwait. In this Arabic video he visited the Jewish Cemetery of Kuwait and
+has a message from Dudu Tassa.
+[/]
\ No newline at end of file
diff --git a/site/librarymain.html b/site/librarymain.html
index d7944af..eb196b5 100644
--- a/site/librarymain.html
+++ b/site/librarymain.html
@@ -18,6 +18,12 @@
Weekly Chok L'Yisrael Torah section:
+
+ Bustan Al Uqul:
+
+
+ Tomer Devorah:
+
diff --git a/site/main.css b/site/main.css
index f539e42..545d96b 100644
--- a/site/main.css
+++ b/site/main.css
@@ -193,7 +193,7 @@ div#banner {
}
#banner > a {
- height: 2em;
+ height: 3em;
float: left;
}
diff --git a/site/main.js b/site/main.js
index f0a5032..e3edf1d 100644
--- a/site/main.js
+++ b/site/main.js
@@ -10,4 +10,12 @@ if (localStorage.refered) {
document.getElementById("shape").scrollIntoView({
"behavior": "smooth"
});
-}
\ No newline at end of file
+}
+
+Array.from(document.getElementsByClassName("ytframe")).forEach(frame => { // resizes youtube videos to fit their containers
+ var w1 = frame.getBoundingClientRect().width;
+ frame.width = "100%";
+ var w2 = frame.getBoundingClientRect().width;
+ frame.width = w2 + "px";
+ frame.height = frame.getBoundingClientRect().height * w2 / w1;
+});
\ No newline at end of file
diff --git a/site/manifest.json b/site/manifest.json
index f503b18..09c32f1 100644
--- a/site/manifest.json
+++ b/site/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Avraham Society",
- "short_name": "AvrahamSociety",
+ "short_name": "Avraham Society",
"start_url": ".",
"display": "standalone",
"background_color": "#000000",
diff --git a/site/templates/default.html b/site/templates/default.html
index 6cb0453..f70adbf 100644
--- a/site/templates/default.html
+++ b/site/templates/default.html
@@ -64,8 +64,7 @@
-
Avraham Society
- May replace this space with a logo? the current logo would not look good there, but something like what Kabbalah has would. I can do the logo design if it's simple enough; my art talent is pretty weak though.
+
Avraham Society
diff --git a/site/torahstudy.js b/site/torahstudy.js
index df5ebc4..52498af 100644
--- a/site/torahstudy.js
+++ b/site/torahstudy.js
@@ -1,6 +1,6 @@
// Manages the Torah Study section of the Library
-var chocklyisrael = [ // 54 Torah sections, updates every sunday (or whatever day he wants really)
+const chocklyisrael = [ // 54 Torah sections, updates every sunday (or whatever day he wants really)
"Bereishit",
"Noach",
"Lech Lecha",
@@ -56,6 +56,43 @@ var chocklyisrael = [ // 54 Torah sections, updates every sunday (or whatever da
"Haazinu",
"Zot Haberakha"
];
+
+const tomerdevorah = [
+ "I & II",
+ "III",
+ "IV",
+ "V & VI",
+ "VII",
+ "VIII",
+ "IX & X"
+];
+
+function roman(num) { // roman numeral converter for numbers <10 (used for Bustan Al-Uqul)
+ if (num < 4) {
+ var ret = "";
+ for (var i = 0; i < num; i++) {
+ ret += 'I';
+ }
+ return ret;
+ }
+ else if (num == 4) {
+ return "IV";
+ }
+ else if (num >= 5 && num <= 8) {
+ var ret = "V";
+ for (var i = 0; i < num - 5; i++) {
+ ret += 'I';
+ }
+ return ret;
+ }
+ else if (num == 9) {
+ return "IX";
+ }
+ else {
+ return "X";
+ }
+}
+
const oneDay = 24 * 60 * 60 * 1000; // hours * minutes * seconds * milliseconds
const tripDay = 6; // saturday
@@ -74,4 +111,8 @@ if (now.getDay() == tripDay) {
tripsSince += 26; // Tazria
-document.getElementById("torahsection").innerText = chocklyisrael[tripsSince];
\ No newline at end of file
+var daysSinceSat = (now.getDay() + 1 + (now.getHours() > 12 ? 1 : 0)) % 7;
+
+document.getElementById("torahsection").innerText = chocklyisrael[tripsSince];
+document.getElementById("bustanaluqul").innerText = roman(daysSinceSat);
+document.getElementById("tomerdevorah").innerText = tomerdevorah[daysSinceSat];
\ No newline at end of file