App, server helpers
This commit is contained in:
@@ -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 |
@@ -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;
|
||||
}
|
||||
@@ -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}}
|
||||
Reference in New Issue
Block a user