Starting Web Server work
Fixed some issues with stat adding.
This commit is contained in:
1
templates/footer.html
Normal file
1
templates/footer.html
Normal file
@@ -0,0 +1 @@
|
||||
</div>
|
8
templates/header.html
Normal file
8
templates/header.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="content">
|
||||
<aside class="center {{ .Flash.Status }}">
|
||||
{{ .Flash.Message }}
|
||||
</aside>
|
||||
<div class="header">
|
||||
<h1>{{.Title}}</h1>
|
||||
<h2>{{.SubTitle}}</h2>
|
||||
</div>
|
7
templates/htmlfooter.html
Normal file
7
templates/htmlfooter.html
Normal file
@@ -0,0 +1,7 @@
|
||||
</div>
|
||||
<!-- TODO: Add Dynamic Scripts -->
|
||||
{{ range $i, $v := .Scripts }}
|
||||
<script src="{{ $v }}"></script>
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
21
templates/htmlheader.html
Normal file
21
templates/htmlheader.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta http-equiv="Cache-control" content="No-Cache">
|
||||
|
||||
<title>{{.Title}}</title>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
{{ range $i, $v := .Stylesheets }}
|
||||
<link rel="stylesheet" href="{{ $v }}">
|
||||
{{ end }}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="layout">
|
24
templates/menu.html
Normal file
24
templates/menu.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!-- Menu Toggle -->
|
||||
<a id="menuLink" class="menu-link" href="#menu">
|
||||
<!-- Hamburger icon -->
|
||||
<span></span>
|
||||
</a>
|
||||
<div id="menu">
|
||||
<div class="pure-menu">
|
||||
<a class="pure-menu-heading" href="/">{{.Title}}</a>
|
||||
<ul class="pure-menu-list">
|
||||
{{ range $i, $v := .Menu }}
|
||||
<li class="pure-menu-item {{ if $v.Active }} pure-menu-selected {{ end }}">
|
||||
<a class="pure-menu-link" href="{{ $v.Link }}">{{ $v.Text }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<ul class="pure-menu-list menu-list-dropped">
|
||||
{{ range $i, $v := .BottomMenu }}
|
||||
<li class="pure-menu-item {{ if $v.Active }} pure-menu-selected {{ end }}">
|
||||
<a class="pure-menu-link" href="{{ $v.Link }}">{{ $v.Text }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
3
templates/stats.html
Normal file
3
templates/stats.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
devICT Slack Statistics!
|
||||
</div>
|
Reference in New Issue
Block a user