Make it looks a little better in mobile browsers
This commit is contained in:
parent
5205e9ad68
commit
78ad2f4106
@ -9,7 +9,11 @@ func getTemplates() *template.Template {
|
|||||||
t, err := template.New("foo").Parse(`{{define "sign_in.html"}}
|
t, err := template.New("foo").Parse(`{{define "sign_in.html"}}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" charset="utf-8">
|
<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>
|
<body>
|
||||||
<form method="GET" action="/oauth2/start">
|
<form method="GET" action="/oauth2/start">
|
||||||
<input type="hidden" name="rd" value="{{.Redirect}}">
|
<input type="hidden" name="rd" value="{{.Redirect}}">
|
||||||
|
Loading…
Reference in New Issue
Block a user