mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
web: add template files I forgot
This commit is contained in:
parent
8740fec8aa
commit
dc915edb9a
2
hledger-web/.hledger/web/default-layout.cassius
Normal file
2
hledger-web/.hledger/web/default-layout.cassius
Normal file
@ -0,0 +1,2 @@
|
||||
body
|
||||
font-family: sans-serif
|
9
hledger-web/.hledger/web/default-layout.hamlet
Normal file
9
hledger-web/.hledger/web/default-layout.hamlet
Normal file
@ -0,0 +1,9 @@
|
||||
!!!
|
||||
%html
|
||||
%head
|
||||
%title $pageTitle.pc$
|
||||
^pageHead.pc^
|
||||
%body
|
||||
$maybe mmsg msg
|
||||
#message $msg$
|
||||
^pageBody.pc^
|
6
hledger-web/.hledger/web/homepage.cassius
Normal file
6
hledger-web/.hledger/web/homepage.cassius
Normal file
@ -0,0 +1,6 @@
|
||||
body
|
||||
font-family: sans-serif
|
||||
h1
|
||||
text-align: center
|
||||
h2#$h2id$
|
||||
color: red
|
12
hledger-web/.hledger/web/homepage.hamlet
Normal file
12
hledger-web/.hledger/web/homepage.hamlet
Normal 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
|
||||
\.
|
3
hledger-web/.hledger/web/homepage.julius
Normal file
3
hledger-web/.hledger/web/homepage.julius
Normal file
@ -0,0 +1,3 @@
|
||||
window.onload = function(){
|
||||
document.getElementById("%h2id%").innerHTML = "<i>Added from JavaScript.</i>";
|
||||
}
|
Loading…
Reference in New Issue
Block a user