Add header + footer

This commit is contained in:
Kload 2013-10-20 23:05:06 +02:00
parent b7743cbe45
commit 96067e62c8
2 changed files with 26 additions and 0 deletions

2
portal/footer.ms Normal file
View file

@ -0,0 +1,2 @@
</body>
</html>

24
portal/header.ms Normal file
View file

@ -0,0 +1,24 @@
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<head>
<title>{{title}}</title>
<link rel="stylesheet" href="assets/css/bootstrap.min.css" type="text/css"/>
</head>
<body>
<div class="row">
<div class="col-sm-4 col-sm-offset-4">
<h1>{{title}}</h1>
<hr>
{{#flash_win}}
<div class="alert alert-success">{{.}}</div>
{{/flash_win}}
{{#flash_fail}}
<div class="alert alert-danger">{{.}}</div>
{{/flash_fail}}
{{#flash_info}}
<div class="alert alert-info">{{.}}</div>
{{/flash_info}}