App, server helpers

This commit is contained in:
2015-03-06 19:15:11 +07:00
parent 13f971a731
commit 3f034017f2
6 changed files with 46 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
{{define "app"}}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Empact</title>
<link rel="stylesheet" href="/app/hello.css">
</head>
<body>
<h1>Please Sign in with your GitHub account</h1>
<a href="/auth/signin">
<img src="/app/github_mark_120.png">
</a>
<script src="/app/hello.js"></script>
</body>
</html>
{{end}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

+29
View File
@@ -0,0 +1,29 @@
* {
box-sizing: border-box;
font-family: 'Helvetica Neue', Helvetica, sans-serif;
font-weight: 400;
}
html, body {
margin: 0;
padding: 0;
}
h1 {
position: absolute;
left: 15%;
top: 20%;
width: 70%;
text-align: center;
color: #aaa;
}
a {
position: absolute;
top: 40%;
width: 100%;
text-align: center;
}
img {
width: 60px;
}
View File
+20
View File
@@ -0,0 +1,20 @@
{{define "hello"}}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Empact</title>
<link rel="stylesheet" href="/static/hello.css">
</head>
<body>
<h1>Please Sign in with your GitHub account</h1>
<a href="/auth/signin">
<img src="/static/github_mark_120.png">
</a>
<script src="/static/hello.js"></script>
</body>
</html>
{{end}}