diff --git a/pages/login.tmpl b/pages/login.tmpl index 6c1b3ed..345b171 100644 --- a/pages/login.tmpl +++ b/pages/login.tmpl @@ -1,40 +1,77 @@ {{define "head"}}Log in — {{.SiteName}} - + {{end}} {{define "content"}}

Log in to {{.SiteName}}

{{if .Flashes}}{{end}} + {{ if or .OauthSlack .OauthWriteAs }} +
+ {{ if .OauthSlack }} + Sign in with Slack + {{ end }} + {{ if .OauthWriteAs }} + Sign in with Write.as + {{ end }} +
+ +
+

or

+
+
+ {{ end }} +


{{if .To}}{{end}}
{{if and (not .SingleUser) .OpenRegistration}}

{{if .Message}}{{.Message}}{{else}}No account yet? Sign up to start a blog.{{end}}

{{end}} - {{ if .OauthSlack }} -

- Sign-in with Slack. -

- {{ end }} - {{ if .OauthWriteAs }} -

- Sign-in with Write.As. -

- {{ end }} {{end}} diff --git a/static/img/sign_in_with_slack.png b/static/img/sign_in_with_slack.png new file mode 100644 index 0000000..66e4298 Binary files /dev/null and b/static/img/sign_in_with_slack.png differ diff --git a/static/img/sign_in_with_slack@2x.png b/static/img/sign_in_with_slack@2x.png new file mode 100644 index 0000000..14a674a Binary files /dev/null and b/static/img/sign_in_with_slack@2x.png differ