| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This has a bug -- it seems long polling can only wait on one page at a
time. Need to re-unify the notifiers.
|
|
|
|
|
| |
Needs to use a different NotificationBroadcaster, and not replace the
whole sidebar div, but instead add in new content. However, it's 3:30 am.
|
| |
|
| |
|
|
|
|
|
|
| |
This may be customised differently than the main page later on, but
for now the important thing is that this constantly refreshed page does not
allocate a new NotificationHandle each time it's loaded.
|
|
|
|
|
|
| |
Also fixed a bug; the ident for the div was regnerated each time
/status was called. This only was the same as the original ident due to
luck.
|
| |
|
|
|
|
| |
use julius's nice #id and .class things
|
| |
|
|
|
|
| |
yowza!!!
|
|
|
|
| |
mocked up the main screen, and am actually pretty happy with it!
|
| |
|
|
|
|
|
| |
It's unlikely an error would occur unless the server is stopped. But
retrying a few times seems like a good idea anyway.
|
|
|
|
|
|
|
|
|
|
|
| |
Very happy to have a reusable autoUpdate widget that can make any Yesod
widget automatically refresh!
Also added support for non-javascript browsers, falling back to meta
refresh.
Also, the home page is now rendered with the webapp status on it, before
any refreshing is done.
|
|
|
|
|
|
|
|
| |
The webapp is now a constantly updating clock! I accomplished this amazing
feat using "long polling", with some jquery and a little custom java
script.
There are more modern techniques, but this one works everywhere.
|
| |
|
|
Broke hamlet out into standalone files.
I don't like the favicon display; it should be served from /favicon.ico,
but I could only get the static site to serve /static/favicon.ico, so
I had to use a <link rel=icon> to pull it in. I looked at
Yesod.Default.Handlers.getFaviconR, but it doesn't seem to embed
the favicon into the binary?
|