summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Klinger2016-06-15 17:18:20 +0200
committerChristian Klinger2016-06-15 17:18:20 +0200
commit98e6ef3df9c31cb5b9fb49c9d38fca4f9c2680f6 (patch)
tree6515e06b6c6ef6db5c9dded37a97b4143b22cd95
parentMerge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into mo... (diff)
downloadslx-admin-98e6ef3df9c31cb5b9fb49c9d38fca4f9c2680f6.tar.gz
slx-admin-98e6ef3df9c31cb5b9fb49c9d38fca4f9c2680f6.tar.xz
slx-admin-98e6ef3df9c31cb5b9fb49c9d38fca4f9c2680f6.zip
Updated the no-autofill-hack.
-rw-r--r--modules-available/adduser/templates/page-adduser.html6
-rw-r--r--modules-available/baseconfig/templates/_page.html4
-rw-r--r--modules-available/dozmod/templates/mailconfig.html6
-rw-r--r--modules-available/internetaccess/templates/_page.html4
-rw-r--r--modules-available/serversetup-bwlp/templates/ipxe.html4
-rw-r--r--modules-available/sysconfig/templates/ad-start.html4
-rw-r--r--modules-available/sysconfig/templates/ldap-start.html4
-rw-r--r--modules-available/vmstore/templates/page-vmstore.html4
8 files changed, 18 insertions, 18 deletions
diff --git a/modules-available/adduser/templates/page-adduser.html b/modules-available/adduser/templates/page-adduser.html
index 0b097890..93dccfd8 100644
--- a/modules-available/adduser/templates/page-adduser.html
+++ b/modules-available/adduser/templates/page-adduser.html
@@ -1,6 +1,6 @@
<form class="form-adduser" action="?do=AddUser" method="post">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<h2 class="form-signin-heading">{{lang_createUser}}</h2>
<div class="row">
<div class="col-md-4">{{lang_username}} *</div>
@@ -25,4 +25,4 @@
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">{{lang_createUser}}</button>
<input type="hidden" name="action" value="adduser">
-</form> \ No newline at end of file
+</form>
diff --git a/modules-available/baseconfig/templates/_page.html b/modules-available/baseconfig/templates/_page.html
index 4d4c05aa..49e8164c 100644
--- a/modules-available/baseconfig/templates/_page.html
+++ b/modules-available/baseconfig/templates/_page.html
@@ -10,8 +10,8 @@
<input name="module" type="hidden" value="{{target_module}}">
<input name="{{field}}" type="hidden" value="{{field_value}}">
{{/override}}
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
{{#categories}}
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading{{category_id}}">
diff --git a/modules-available/dozmod/templates/mailconfig.html b/modules-available/dozmod/templates/mailconfig.html
index b19776c0..56850637 100644
--- a/modules-available/dozmod/templates/mailconfig.html
+++ b/modules-available/dozmod/templates/mailconfig.html
@@ -9,8 +9,8 @@
<p>[BETA] Diese Funktionalität ist neu. Wir bitten um Nachsicht, falls es Situationen gibt, in denen zu viele
oder zu wenige Nachrichten verschickt werden.</p>
<form action="?do=DozMod" method="post" id="mailconf">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<div class="input-group">
<label class="input-group-addon slx-ga2" for="host-id">{{lang_host}} *</label>
<input type="text" name="host" id ="host-id" class="form-control" placeholder="smtp.example.com" value="{{host}}">
@@ -88,4 +88,4 @@ function slxTestConfig() {
function checkRes(text) {
$('#test-output').css('display', '').text(text);
}
-// --> </script> \ No newline at end of file
+// --> </script>
diff --git a/modules-available/internetaccess/templates/_page.html b/modules-available/internetaccess/templates/_page.html
index a2aaddac..ab6a1c0d 100644
--- a/modules-available/internetaccess/templates/_page.html
+++ b/modules-available/internetaccess/templates/_page.html
@@ -1,8 +1,8 @@
<h1>{{lang_internetAccess}}</h1>
<form action="?do=InternetAccess" method="post">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<input type="hidden" name="token" value="{{token}}">
<div class="panel panel-default">
<div class="panel-heading">{{lang_internetAccess}}</div>
diff --git a/modules-available/serversetup-bwlp/templates/ipxe.html b/modules-available/serversetup-bwlp/templates/ipxe.html
index bec9151a..7f142066 100644
--- a/modules-available/serversetup-bwlp/templates/ipxe.html
+++ b/modules-available/serversetup-bwlp/templates/ipxe.html
@@ -1,6 +1,6 @@
<form method="post" action="?do=ServerSetup">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<input type="hidden" name="action" value="ipxe">
<input type="hidden" name="token" value="{{token}}">
<div class="panel panel-default">
diff --git a/modules-available/sysconfig/templates/ad-start.html b/modules-available/sysconfig/templates/ad-start.html
index 98546140..9fe201ee 100644
--- a/modules-available/sysconfig/templates/ad-start.html
+++ b/modules-available/sysconfig/templates/ad-start.html
@@ -13,8 +13,8 @@
<i>{{lang_asteriskMandatory}}</i>
<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step={{step}}">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="edit" value="{{edit}}">
<div class="input-group">
diff --git a/modules-available/sysconfig/templates/ldap-start.html b/modules-available/sysconfig/templates/ldap-start.html
index 7892b63f..21b5cfe9 100644
--- a/modules-available/sysconfig/templates/ldap-start.html
+++ b/modules-available/sysconfig/templates/ldap-start.html
@@ -5,8 +5,8 @@
</p>
<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step={{step}}">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="edit" value="{{edit}}">
<div class="input-group">
diff --git a/modules-available/vmstore/templates/page-vmstore.html b/modules-available/vmstore/templates/page-vmstore.html
index fe2c5225..0232d446 100644
--- a/modules-available/vmstore/templates/page-vmstore.html
+++ b/modules-available/vmstore/templates/page-vmstore.html
@@ -1,6 +1,6 @@
<form role="form" method="post" action="?do=VmStore">
- <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
- <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="position:absolute;top:-200px" tabindex="-1">
+ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-200px" tabindex="-1">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="setstore">
<div class="panel panel-default">