web: add template files I forgot

This commit is contained in:
Simon Michael 2010-09-12 02:29:25 +00:00
parent 8740fec8aa
commit dc915edb9a
5 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,2 @@
body
font-family: sans-serif

View File

@ -0,0 +1,9 @@
!!!
%html
%head
%title $pageTitle.pc$
^pageHead.pc^
%body
$maybe mmsg msg
#message $msg$
^pageBody.pc^

View File

@ -0,0 +1,6 @@
body
font-family: sans-serif
h1
text-align: center
h2#$h2id$
color: red

View File

@ -0,0 +1,12 @@
%h1 Hello
%h2#$h2id$ You do not have Javascript enabled.
$maybe mu u
%p
You are logged in as $userIdent.snd.u$. $
%a!href=@AuthR.LogoutR@ Logout
\.
$nothing
%p
You are not logged in. $
%a!href=@AuthR.LoginR@ Login now
\.

View File

@ -0,0 +1,3 @@
window.onload = function(){
document.getElementById("%h2id%").innerHTML = "<i>Added from JavaScript.</i>";
}