From d7cdcf082fab6c0cb7c2fe4bed821bd1a8000e69 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Mon, 8 Feb 2016 07:26:10 -0500 Subject: Convering client to react-router. --- templates/authorize.html | 12 ++++ templates/email_change_body.html | 41 +++++++++++++ templates/email_change_subject.html | 1 + templates/email_change_verify_body.html | 44 ++++++++++++++ templates/email_change_verify_subject.html | 1 + templates/email_footer.html | 13 +++++ templates/email_info.html | 7 +++ templates/error.html | 24 ++++++++ templates/head.html | 92 ++++++++++++++++++++++++++++++ templates/invite_body.html | 46 +++++++++++++++ templates/invite_subject.html | 1 + templates/password_change_body.html | 43 ++++++++++++++ templates/password_change_subject.html | 1 + templates/post_body.html | 45 +++++++++++++++ templates/post_subject.html | 1 + templates/reset_body.html | 46 +++++++++++++++ templates/reset_subject.html | 1 + templates/root.html | 12 ++++ templates/signin_change_body.html | 43 ++++++++++++++ templates/signin_change_subject.html | 1 + templates/signup_team_body.html | 44 ++++++++++++++ templates/signup_team_subject.html | 1 + templates/verify_body.html | 44 ++++++++++++++ templates/verify_subject.html | 1 + templates/welcome_body.html | 51 +++++++++++++++++ templates/welcome_subject.html | 1 + 26 files changed, 617 insertions(+) create mode 100644 templates/authorize.html create mode 100644 templates/email_change_body.html create mode 100644 templates/email_change_subject.html create mode 100644 templates/email_change_verify_body.html create mode 100644 templates/email_change_verify_subject.html create mode 100644 templates/email_footer.html create mode 100644 templates/email_info.html create mode 100644 templates/error.html create mode 100644 templates/head.html create mode 100644 templates/invite_body.html create mode 100644 templates/invite_subject.html create mode 100644 templates/password_change_body.html create mode 100644 templates/password_change_subject.html create mode 100644 templates/post_body.html create mode 100644 templates/post_subject.html create mode 100644 templates/reset_body.html create mode 100644 templates/reset_subject.html create mode 100644 templates/root.html create mode 100644 templates/signin_change_body.html create mode 100644 templates/signin_change_subject.html create mode 100644 templates/signup_team_body.html create mode 100644 templates/signup_team_subject.html create mode 100644 templates/verify_body.html create mode 100644 templates/verify_subject.html create mode 100644 templates/welcome_body.html create mode 100644 templates/welcome_subject.html (limited to 'templates') diff --git a/templates/authorize.html b/templates/authorize.html new file mode 100644 index 000000000..0fa36b0ab --- /dev/null +++ b/templates/authorize.html @@ -0,0 +1,12 @@ +{{define "authorize"}} + +{{template "head" . }} + +
+
+ + + +{{end}} diff --git a/templates/email_change_body.html b/templates/email_change_body.html new file mode 100644 index 000000000..41b1bcd7d --- /dev/null +++ b/templates/email_change_body.html @@ -0,0 +1,41 @@ +{{define "email_change_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Html.Info}}

+
+
+
+
+ +{{end}} diff --git a/templates/email_change_subject.html b/templates/email_change_subject.html new file mode 100644 index 000000000..540bc6eab --- /dev/null +++ b/templates/email_change_subject.html @@ -0,0 +1 @@ +{{define "email_change_subject"}}[{{.Props.SiteName}}] {{.Props.Subject}}{{end}} diff --git a/templates/email_change_verify_body.html b/templates/email_change_verify_body.html new file mode 100644 index 000000000..0d0c0aaba --- /dev/null +++ b/templates/email_change_verify_body.html @@ -0,0 +1,44 @@ +{{define "email_change_verify_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Props.Info}}

+

+ {{.Props.VerifyButton}} +

+
+
+
+
+ +{{end}} diff --git a/templates/email_change_verify_subject.html b/templates/email_change_verify_subject.html new file mode 100644 index 000000000..04da7593c --- /dev/null +++ b/templates/email_change_verify_subject.html @@ -0,0 +1 @@ +{{define "email_change_verify_subject"}}[{{.Props.SiteName}}] {{.Props.Subject}}{{end}} diff --git a/templates/email_footer.html b/templates/email_footer.html new file mode 100644 index 000000000..6dc7fa483 --- /dev/null +++ b/templates/email_footer.html @@ -0,0 +1,13 @@ +{{define "email_footer"}} + + +

+ +

+

+ (c) 2015 Mattermost, Inc. 855 El Camino Real, 13A-168, Palo Alto, CA, 94301.
+ {{.Props.Footer}} +

+ + +{{end}} diff --git a/templates/email_info.html b/templates/email_info.html new file mode 100644 index 000000000..0a34f18a0 --- /dev/null +++ b/templates/email_info.html @@ -0,0 +1,7 @@ +{{define "email_info"}} + + + {{.Html.EmailInfo}} + + +{{end}} diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 000000000..b86039ca3 --- /dev/null +++ b/templates/error.html @@ -0,0 +1,24 @@ +{{define "error"}} + + +{{template "head" . }} + +
+
+
+ +
+

{{.Props.Title}}

+

{{ .Props.Message }}

+ {{.Props.Link}} +
+
+ + + +{{end}} diff --git a/templates/head.html b/templates/head.html new file mode 100644 index 000000000..a7eacc85f --- /dev/null +++ b/templates/head.html @@ -0,0 +1,92 @@ +{{define "head"}} + + + + + + {{ .Props.Title }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{{end}} diff --git a/templates/invite_body.html b/templates/invite_body.html new file mode 100644 index 000000000..2b6bde6d3 --- /dev/null +++ b/templates/invite_body.html @@ -0,0 +1,46 @@ +{{define "invite_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Html.Info}}

+

+ {{.Props.Button}} +

+
+

{{.Html.ExtraInfo}}

+
+
+
+
+ +{{end}} diff --git a/templates/invite_subject.html b/templates/invite_subject.html new file mode 100644 index 000000000..504915d50 --- /dev/null +++ b/templates/invite_subject.html @@ -0,0 +1 @@ +{{define "invite_subject"}}{{.Props.Subject}}{{end}} diff --git a/templates/password_change_body.html b/templates/password_change_body.html new file mode 100644 index 000000000..2c4ba10ca --- /dev/null +++ b/templates/password_change_body.html @@ -0,0 +1,43 @@ +{{define "password_change_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Html.Info}}

+
+
+
+
+ +{{end}} + + diff --git a/templates/password_change_subject.html b/templates/password_change_subject.html new file mode 100644 index 000000000..897f1210d --- /dev/null +++ b/templates/password_change_subject.html @@ -0,0 +1 @@ +{{define "password_change_subject"}}{{.Props.Subject}}{{end}} diff --git a/templates/post_body.html b/templates/post_body.html new file mode 100644 index 000000000..54f34d1dd --- /dev/null +++ b/templates/post_body.html @@ -0,0 +1,45 @@ +{{define "post_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.BodyText}}

+

{{.Html.Info}}

{{.Props.PostMessage}}

+

+ {{.Props.Button}} +

+
+
+
+
+ +{{end}} + diff --git a/templates/post_subject.html b/templates/post_subject.html new file mode 100644 index 000000000..9789d4142 --- /dev/null +++ b/templates/post_subject.html @@ -0,0 +1 @@ +{{define "post_subject"}}[{{.Props.SiteName}}] {{.Props.Subject}}{{end}} diff --git a/templates/reset_body.html b/templates/reset_body.html new file mode 100644 index 000000000..69cd44957 --- /dev/null +++ b/templates/reset_body.html @@ -0,0 +1,46 @@ +{{define "reset_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Html.Info}}

+

+ {{.Props.Button}} +

+
+
+
+
+ +{{end}} + + diff --git a/templates/reset_subject.html b/templates/reset_subject.html new file mode 100644 index 000000000..a2852d332 --- /dev/null +++ b/templates/reset_subject.html @@ -0,0 +1 @@ +{{define "reset_subject"}}{{.Props.Subject}}{{end}} diff --git a/templates/root.html b/templates/root.html new file mode 100644 index 000000000..560c7a4b0 --- /dev/null +++ b/templates/root.html @@ -0,0 +1,12 @@ +{{define "root"}} + + +{{template "head" . }} + +
+ + + +{{end}} diff --git a/templates/signin_change_body.html b/templates/signin_change_body.html new file mode 100644 index 000000000..af8577f0f --- /dev/null +++ b/templates/signin_change_body.html @@ -0,0 +1,43 @@ +{{define "signin_change_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Html.Info}}

+
+
+
+
+ +{{end}} + + diff --git a/templates/signin_change_subject.html b/templates/signin_change_subject.html new file mode 100644 index 000000000..606dc4df3 --- /dev/null +++ b/templates/signin_change_subject.html @@ -0,0 +1 @@ +{{define "signin_change_subject"}}{{.Props.Subject}}{{end}} diff --git a/templates/signup_team_body.html b/templates/signup_team_body.html new file mode 100644 index 000000000..683a9891e --- /dev/null +++ b/templates/signup_team_body.html @@ -0,0 +1,44 @@ +{{define "signup_team_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

+ {{.Props.Button}} +

+ {{.Html.Info}}

+
+
+
+
+ +{{end}} diff --git a/templates/signup_team_subject.html b/templates/signup_team_subject.html new file mode 100644 index 000000000..413a5c8c1 --- /dev/null +++ b/templates/signup_team_subject.html @@ -0,0 +1 @@ +{{define "signup_team_subject"}}{{.Props.Subject}}{{end}} \ No newline at end of file diff --git a/templates/verify_body.html b/templates/verify_body.html new file mode 100644 index 000000000..2b0d25f94 --- /dev/null +++ b/templates/verify_body.html @@ -0,0 +1,44 @@ +{{define "verify_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Props.Info}}

+

+ {{.Props.Button}} +

+
+
+
+
+ +{{end}} diff --git a/templates/verify_subject.html b/templates/verify_subject.html new file mode 100644 index 000000000..ad7fc2aaa --- /dev/null +++ b/templates/verify_subject.html @@ -0,0 +1 @@ +{{define "verify_subject"}}{{.Props.Subject}}{{end}} diff --git a/templates/welcome_body.html b/templates/welcome_body.html new file mode 100644 index 000000000..b5ca9beb3 --- /dev/null +++ b/templates/welcome_body.html @@ -0,0 +1,51 @@ +{{define "welcome_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + {{if .Props.VerifyUrl }} + + + + {{end}} + + + +
+

{{.Props.Title}}

+

{{.Props.Info}}

+

+ {{.Props.Button}} +

+
+

{{.Props.Info2}}

+ {{.Props.TeamURL}} +

{{.Props.Info3}}

+
+
+
+
+ +{{end}} + diff --git a/templates/welcome_subject.html b/templates/welcome_subject.html new file mode 100644 index 000000000..95189b900 --- /dev/null +++ b/templates/welcome_subject.html @@ -0,0 +1 @@ +{{define "welcome_subject"}}{{.Props.Subject}}{{end}} -- cgit v1.2.3-1-g7c22