You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2023/05/24 16:06:42 UTC

[openmeetings] 06/07: fixes #188 - removed head tags fixed the style

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit a2e5b63729be89c5f5241bd61e8521d6d169d94f
Author: Geoffrey Logovi <52...@users.noreply.github.com>
AuthorDate: Wed May 24 09:34:10 2023 +0000

    fixes #188 - removed head tags fixed the style
---
 .../service/mail/template/AbstractTemplatePage.html | 21 +++++++++++----------
 .../service/mail/template/InvitationTemplate.html   |  1 -
 .../service/mail/template/RegisterUserTemplate.html |  6 ------
 .../mail/template/ResetPasswordTemplate.html        |  6 ------
 4 files changed, 11 insertions(+), 23 deletions(-)

diff --git a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/AbstractTemplatePage.html b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/AbstractTemplatePage.html
index 8ce1c3252..d726837c7 100644
--- a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/AbstractTemplatePage.html
+++ b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/AbstractTemplatePage.html
@@ -86,20 +86,21 @@
 			}
 
 			.wrapper {
-				max-width: 560px;
+				max-width: 540px;
 				margin: 0 auto;
 				padding: 10px;
+			}
 
-				.action {
-					text-align: center;
-					margin-top: 25px;
-				}
+			.wrapper .action {
+				text-align: center;
+				margin-top: 25px;
+				padding: 0 15px;
+			}
 
-				.action a {
-					display: block;
-					margin: 0;
-					padding: 12px 25px;
-				}
+			.wrapper .action a {
+				display: block;
+				margin: 0;
+				padding: 12px 25px;
 			}
 		}
 	</style>
diff --git a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.html b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.html
index 887264c0a..804984767 100644
--- a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.html
+++ b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/InvitationTemplate.html
@@ -20,7 +20,6 @@
 <!DOCTYPE html>
 <html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-9.xsd">
 
-<head>
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 </head>
diff --git a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/RegisterUserTemplate.html b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/RegisterUserTemplate.html
index 46a03057d..8707592a8 100644
--- a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/RegisterUserTemplate.html
+++ b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/RegisterUserTemplate.html
@@ -19,12 +19,6 @@
 -->
 <!DOCTYPE html>
 <html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-9.xsd">
-
-<head>
-	<meta name="viewport" content="width=device-width, initial-scale=1.0">
-	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-
 <wicket:extend>
 
 	<h2>
diff --git a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/ResetPasswordTemplate.html b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/ResetPasswordTemplate.html
index 4b288b6c3..92baebd97 100644
--- a/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/ResetPasswordTemplate.html
+++ b/openmeetings-service/src/main/java/org/apache/openmeetings/service/mail/template/ResetPasswordTemplate.html
@@ -19,12 +19,6 @@
 -->
 <!DOCTYPE html>
 <html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-9.xsd">
-
-<head>
-	<meta name="viewport" content="width=device-width, initial-scale=1.0">
-	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-
 <wicket:extend>
 
 	<h2>