blog-rekahsoft-ca/templates
Collin J. Doering 5bbacb1725 Added initial implementation of error messages
Cleans up error reporting when an ajax call fails, and thus
the #page-content div can't be filled. This is accomplished by using
a #status which has a p.message element that can be populated for text
displaying status messages. By adding either .error or .success
to #status causes it to be highlighted as either a error or success message
respectively.

When its the first load of the page, and #page-content hasn't yet been
populated with content, an error message is shown in the #page-content
div.

Removed the /posts/ and /tags/ fallbacks in the generated
manifest.appcache because even when online, ajax calls for invalid URLs
under those paths return the respective fallback page instead of an
error message, and populate the #page-content div with the fallback. So
from this point forward the fact that the website is offline will be
handled from JavaScript.

When a page is not accessible in the application cache and the user is
offline, an error message is displayed using the mechanism mentioned
above.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00
..
pages Paginate tag pages 2015-01-14 04:50:28 -05:00
partials Added site-wide rss link icon 2015-01-14 04:50:28 -05:00
archive.haml Major changes! See full log. 2013-12-10 23:31:48 -05:00
default-nojs.haml Major changes! See full log. 2013-12-10 23:31:48 -05:00
default.haml Added initial implementation of error messages 2015-01-14 04:50:29 -05:00
recent-posts.haml Major changes! See full log. 2013-12-10 23:31:48 -05:00
tag-page.haml Paginate tag pages 2015-01-14 04:50:28 -05:00