-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (30 loc) · 1.65 KB
/
Copy pathindex.html
File metadata and controls
32 lines (30 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html><html lang="de"><head><meta charset="UTF-8"><title>maais registration</title><style>
body {
font-family: Arial, sans-serif; /* Setze eine ansprechende Schriftart */
text-align: center; /* Zentriere den Text und Inhalte */
margin: 20px; /* Füge einen Rand um den Inhalt */
}
header {
margin-bottom: 20px; /* Abstand unter dem Kopfbereich */
}
#logo {
width: 200px; /* Breite des Logos */
height: 200px; /* Höhe des Logos */
}
iframe {
border: none; /* Entfernt den Rahmen um den iFrame */
}
</style></head><body><header><img id="logo" src="https://maaisde.github.io/maais/email_header.png" alt="maais Logo"><h1>Welcome to maais</h1> <!-- Hauptüberschrift für den Namen der Seite --></header><iframe id="appsScriptIframe" width="100%" height="500px">
Ihr Browser unterstützt keine iFrames.
</iframe><script>
// Funktion zum Extrahieren von URL-Parametern
function getUrlParameters() {
var params = new URLSearchParams(window.location.search);
return params.toString(); // Gibt die Parameter als Query-String zurück
}
// Die URL deines Google Apps Scripts, füge die URL-Parameter hinzu
var scriptUrl = "https://script.google.com/macros/s/AKfycbzY2zNjnW1ErHSHZ2APM11EhDXEyafOB4zoKoFRDE6mxyc1X9GTYthWnJ_p9lGb-3NASQ/exec";
var fullUrl = scriptUrl + "?" + getUrlParameters();
// Setze die volle URL mit Parametern als src für den iFrame
document.getElementById('appsScriptIframe').src = fullUrl;
</script></body></html>