
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.
10 lines
253 B
Text
10 lines
253 B
Text
$doctype 5
|
|
<html>
|
|
<head>
|
|
<title>#{baseTitle webapp} #{pageTitle page}
|
|
<link rel="icon" href=@{StaticR favicon_ico} type="image/x-icon">
|
|
^{pageHead page}
|
|
<body>
|
|
$maybe msg <- mmsg
|
|
<div #message>#{msg}
|
|
^{pageBody page}
|