1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-27 01:28:28 +08:00
2018-06-23 18:57:34 +08:00

44 lines
616 B
HTML

{{define "head"}}
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>{{meta .title}}</title>
<style>
legend {
font-size:16px;
font-weight:bold;
}
th {
cursor:pointer;
background-color:lightgray;
padding-left: 10px;
padding-right: 10px;
}
code {
font-size:14px;
}
</style>
</head>
<body>
{{end}}
{{define "message"}}
<fieldset class="message"><legend>message</legend>
<pre>{{meta .message}}</pre>
</fieldset>
<style>
.message {
color:red;
}
</style>
{{end}}
{{define "main"}}
welcome to context world!
{{end}}
{{define "tail"}}
<script src="library/context.js"></script>
</body>
{{end}}