Quellcode durchsuchen

Updated Activate Email Template #19

Yoginth vor 7 Jahren
Ursprung
Commit
4d1b23659a
1 geänderte Dateien mit 17 neuen und 12 gelöschten Zeilen
  1. 17 12
      templates/mail/auth/activate.tmpl

+ 17 - 12
templates/mail/auth/activate.tmpl

@@ -1,15 +1,20 @@
 <!DOCTYPE html>
 <html>
-<head>
-	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-	<title>{{.Username}}, please activate your account</title>
-</head>
-
-<body>
-	<p>Hi <b>{{.Username}}</b>, thanks for registering at Gitote!</p>
-	<p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p>
-	<p><a href="{{AppURL}}user/activate?code={{.Code}}">{{AppURL}}user/activate?code={{.Code}}</a></p>
-	<p>Not working? Try copying and pasting it to your browser.</p>
-	<p>© 2018 <a target="_blank" rel="noopener noreferrer" href="{{AppURL}}">Gitote</a></p>
-</body>
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+		<title>{{.Username}}, please activate your account</title>
+		<link rel="stylesheet" href="css/style.css">
+	</head>
+	<body>
+		<div class="mail">
+			<div class="body">
+				<h2>Hi {{.Username}}, thanks for registering at Gitote!</h2>
+				<p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p>
+				<a class="button" href="{{AppURL}}user/activate?code={{.Code}}">Confirm</a>
+				<h5>{{AppURL}}user/activate?code={{.Code}}</h5>
+				<p>Not working? Try copying and pasting it to your browser.</p>
+				<p>© 2018 <a target="_blank" rel="noopener noreferrer" href="{{AppURL}}">Gitote</a></p>
+			</div>
+		</div>
+	</body>
 </html>