git.iko.soy/typeable/oauth2-proxy
on master help sign in
Make it looks a little better in mobile browsers
commit78ad2f4106b17951114aa92e12d3f8980666e019 authorZHANG Cheng <czhang.oss@gmail.com> dateTue 22 Jul 2014, 11:59 (12 years ago) parent5205e9a
1 file changed+5−1
templates.go+5−1
templates.go+5−1
@@ -9,7 +9,11 @@ func getTemplates() *template.Template {
99 t, err := template.New("foo").Parse(`{{define "sign_in.html"}}
1010<!DOCTYPE html>
1111<html lang="en" charset="utf-8">
12−<head><title>Sign In</title></head>
12+<head><title>Sign In</title>
13+<!-- Optimized mobile viewport -->
14+<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes"/>
15+<meta name="apple-mobile-web-app-capable" content="yes">
16+</head>
1317<body>
1418 <form method="GET" action="/oauth2/start">
1519 <input type="hidden" name="rd" value="{{.Redirect}}">