aboutsummaryrefslogtreecommitdiff
path: root/id/server/data/deploy/conf/moa-id/SLTemplates
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2018-01-23 14:23:39 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2018-01-23 14:23:39 +0100
commit731ab39b8ef05a4e84b72fb4243d59c9f6dd48cb (patch)
tree52ce23ebe8191f99a187b9ff90af8cef01d63030 /id/server/data/deploy/conf/moa-id/SLTemplates
parent869a07573fb6295174fd57aced1ba888f3015910 (diff)
downloadmoa-id-spss-731ab39b8ef05a4e84b72fb4243d59c9f6dd48cb.tar.gz
moa-id-spss-731ab39b8ef05a4e84b72fb4243d59c9f6dd48cb.tar.bz2
moa-id-spss-731ab39b8ef05a4e84b72fb4243d59c9f6dd48cb.zip
update mostly all GUI forms to split JavaScript and CSS from html code to support "Content Security-Policy" http headers
Diffstat (limited to 'id/server/data/deploy/conf/moa-id/SLTemplates')
-rw-r--r--id/server/data/deploy/conf/moa-id/SLTemplates/template_handyBKU.html9
-rw-r--r--id/server/data/deploy/conf/moa-id/SLTemplates/template_localBKU.html9
-rw-r--r--id/server/data/deploy/conf/moa-id/SLTemplates/template_thirdBKU.html9
3 files changed, 6 insertions, 21 deletions
diff --git a/id/server/data/deploy/conf/moa-id/SLTemplates/template_handyBKU.html b/id/server/data/deploy/conf/moa-id/SLTemplates/template_handyBKU.html
index 5a335f9a1..e62921efa 100644
--- a/id/server/data/deploy/conf/moa-id/SLTemplates/template_handyBKU.html
+++ b/id/server/data/deploy/conf/moa-id/SLTemplates/template_handyBKU.html
@@ -3,14 +3,9 @@
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <script language="javascript" type="text/javascript">
- function onAnmeldeSubmit() {
- document.CustomizedForm.submit();
- document.CustomizedForm.Senden.disabled=true;
- }
- </script>
+ <script src="<ContextURL>/autocommit.js"></script>
</head>
- <body onLoad="onAnmeldeSubmit()">
+ <body>
<form name="CustomizedForm" action="<BKU>" method="post" enctype="multipart/form-data<>">
Falls Sie nicht automatisch weitergeleitet werden klicken Sie bitte hier:
<input class="button" type="submit" value="Starte Anmeldung" name="Senden">
diff --git a/id/server/data/deploy/conf/moa-id/SLTemplates/template_localBKU.html b/id/server/data/deploy/conf/moa-id/SLTemplates/template_localBKU.html
index 329fe6f8d..80d33ff85 100644
--- a/id/server/data/deploy/conf/moa-id/SLTemplates/template_localBKU.html
+++ b/id/server/data/deploy/conf/moa-id/SLTemplates/template_localBKU.html
@@ -3,14 +3,9 @@
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <script language="javascript" type="text/javascript">
- function onAnmeldeSubmit() {
- document.CustomizedForm.submit();
- document.CustomizedForm.Senden.disabled=true;
- }
- </script>
+ <script src="<ContextURL>/autocommit.js"></script>
</head>
- <body onLoad="onAnmeldeSubmit()">
+ <body>
<form name="CustomizedForm" action="<BKU>" method="post" enctype="multipart/form-data<>">
Falls Sie nicht automatisch weitergeleitet werden klicken Sie bitte hier:
<input class="button" type="submit" value="Starte Anmeldung" name="Senden">
diff --git a/id/server/data/deploy/conf/moa-id/SLTemplates/template_thirdBKU.html b/id/server/data/deploy/conf/moa-id/SLTemplates/template_thirdBKU.html
index 52abf83fb..928c9f17b 100644
--- a/id/server/data/deploy/conf/moa-id/SLTemplates/template_thirdBKU.html
+++ b/id/server/data/deploy/conf/moa-id/SLTemplates/template_thirdBKU.html
@@ -3,14 +3,9 @@
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <script language="javascript" type="text/javascript">
- function onAnmeldeSubmit() {
- document.CustomizedForm.submit();
- document.CustomizedForm.Senden.disabled=true;
- }
- </script>
+ <script src="<ContextURL>/autocommit.js"></script>
</head>
- <body onLoad="onAnmeldeSubmit()">
+ <body>
<form name="CustomizedForm" action="<BKU>" method="post" enctype="multipart/form-data<>">
Falls Sie nicht automatisch weitergeleitet werden klicken Sie bitte hier:
<input class="button" type="hidden" value="Starte Anmeldung" name="Senden">