Merge pull request #23 from zhangcheng/master

Make it looks a little better in mobile browsers
This commit is contained in:
Jehiah Czebotar 2014-07-22 06:12:00 +02:00
commit 715656de2a

View File

@ -9,7 +9,11 @@ func getTemplates() *template.Template {
t, err := template.New("foo").Parse(`{{define "sign_in.html"}}
<!DOCTYPE html>
<html lang="en" charset="utf-8">
<head><title>Sign In</title></head>
<head><title>Sign In</title>
<!-- Optimized mobile viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes"/>
<meta name="apple-mobile-web-app-capable" content="yes">
</head>
<body>
<form method="GET" action="/oauth2/start">
<input type="hidden" name="rd" value="{{.Redirect}}">