diff --git a/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js b/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js index 6555744f..6c833371 100644 --- a/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js +++ b/zefie_wtvp_minisrv/ServiceVault/wtv-home/home.js @@ -20,17 +20,393 @@ switch (comp_type) { break; } +var unread_mailcount = session_data.mailstore.countUnreadMessages(0) +var mailbox_gif_num = 0; // no messages +if (unread_mailcount > 0) { + if (unread_mailcount == 1) mailbox_gif_num = 1; + else mailbox_gif_num = 2; +} + + +data = ` +
+ +|
+ + + +
+
+
+
+ | ||||||
+
| ||||||
+
| ||||||
+
| ||||||
+
| ||||||
+
| ||||||
+
| ||||||
+
| ||||||
+
| ||||||
+
+
| ||||||
| +`; +} + +data += ` + + + + | ||||||
| + + | ||||||
|
+ | ||||||
| + + |
| + + | |||||||||||||||||||||||||||||
+
| |||||||||||||||||||||||||||||
| + | |||||||||||||||||||||||||||||
+
+
+
| |||||||||||||||||||||||||||||
| + | |||||||||||||||||||||||||||||
| + | |||||||||||||||||||||||||||||
| +Connection Speed: &rate; + | |||||||||||||||||||||||||||||
| + | |||||||||||||||||||||||||||||
|
+minisrv v${minisrv_config.version}${(minisrv_config.config.git_commit) ? ' git-' + minisrv_config.config.git_commit : ''}, hosted by ${minisrv_config.config.service_owner} + | |||||||||||||||||||||||||||||
| + |