From d047c4637b90e7ccc2085465f5024ea98432153f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 19 Mar 2012 20:16:23 -0400 Subject: [PATCH] Remove the initial display of Messages, Tasks, and Calendar in the summary view, since PeriodicalUpdater is going to immediately refresh them anyway. Display throbbers in the empty boxes, which will conveniently display themselves if one section (such as the calendar) is taking a long time to load. --- webcit/static/t/summary/page.html | 18 +++++++----------- webcit/summary.c | 3 --- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/webcit/static/t/summary/page.html b/webcit/static/t/summary/page.html index ad56f39b0..afe80323d 100644 --- a/webcit/static/t/summary/page.html +++ b/webcit/static/t/summary/page.html @@ -21,7 +21,7 @@
- +
@@ -30,7 +30,7 @@
- +
@@ -39,7 +39,7 @@
- +
@@ -73,12 +73,8 @@ diff --git a/webcit/summary.c b/webcit/summary.c index 332971ff4..904f1db26 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -214,9 +214,6 @@ InitModule_SUMMARY (void) { RegisterNamespace("TIME:NOW", 0, 0, tmplput_output_date, NULL, CTX_NONE); - RegisterNamespace("SUMMARY:NEWMESSAGES_SELECTION", 0, 0, tmplput_new_messages_section, NULL, CTX_NONE); - RegisterNamespace("SUMMARY:TASKSSECTION", 0, 0, tmplput_tasks_section, NULL, CTX_NONE); - RegisterNamespace("SUMMARY:CALENDAR_SECTION", 0, 0, tmplput_calendar_section, NULL, CTX_NONE); WebcitAddUrlHandler(HKEY("summary"), "", 0, display_summary_page, ANONYMOUS); WebcitAddUrlHandler(HKEY("new_messages_html"), "", 0, new_messages_section, AJAX); -- 2.39.2