aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-09-18 11:55:25 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-09-18 11:55:25 +0200
commit3d969a7b02f3e23a1b29150b5c39add8dcb146e1 (patch)
tree6538259cdbcd970047c19ee1492674a9c13c9b19 /id
parent13ca7f82839a68b9fb25d4958b5c2a458a89aedd (diff)
downloadmoa-id-spss-3d969a7b02f3e23a1b29150b5c39add8dcb146e1.tar.gz
moa-id-spss-3d969a7b02f3e23a1b29150b5c39add8dcb146e1.tar.bz2
moa-id-spss-3d969a7b02f3e23a1b29150b5c39add8dcb146e1.zip
fix problem with responsive design in BKU-Selection template
Diffstat (limited to 'id')
-rw-r--r--id/server/data/deploy/conf/moa-id-configuration/htmlTemplates/loginFormFull.html10
-rw-r--r--id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html2
2 files changed, 8 insertions, 4 deletions
diff --git a/id/server/data/deploy/conf/moa-id-configuration/htmlTemplates/loginFormFull.html b/id/server/data/deploy/conf/moa-id-configuration/htmlTemplates/loginFormFull.html
index 123a23837..a29b1d7bb 100644
--- a/id/server/data/deploy/conf/moa-id-configuration/htmlTemplates/loginFormFull.html
+++ b/id/server/data/deploy/conf/moa-id-configuration/htmlTemplates/loginFormFull.html
@@ -656,6 +656,7 @@
if (isMetro())
document.getElementById("metroDetected").style.display="block";
document.getElementById("localBKU").style.display="block";
+ document.getElementById("bkuButtonOnlineId").disabled = "true";
/* if (checkMandateSSO())
return; */
@@ -672,6 +673,7 @@
generateIFrame(iFrameURL);
}
function bkuHandyClicked() {
+ document.getElementById("bkuButtonHandyId").disabled = "true";
document.getElementById("localBKU").style.display="none";
/* if (checkMandateSSO())
return; */
@@ -740,7 +742,7 @@
}
}
function onChangeChecks() {
- if (top.innerWidth < 650) {
+ if (self.innerWidth < 650) {
document.getElementById("moaidform").setAttribute("target","_parent");
} else {
document.getElementById("moaidform").removeAttribute("target");
@@ -852,13 +854,15 @@
<img id="bkuimage" class="bkuimage" src="#CONTEXTPATH#/img/online-bku.png"
alt="OnlineBKU" /> <input name="bkuButtonOnline" type="button"
onClick="bkuOnlineClicked();" tabindex="2" role="button"
- value="Karte" />
+ value="Karte"
+ id="bkuButtonOnlineId"/>
</div>
<div id="bkuhandy">
<img class="bkuimage" src="#CONTEXTPATH#/img/mobile-bku.png"
alt="HandyBKU" /> <input name="bkuButtonHandy" type="button"
onClick="bkuHandyClicked();" tabindex="3" role="button"
- value="HANDY" />
+ value="HANDY"
+ id="bkuButtonHandyId"/>
</div>
</div>
<div id="localBKU">
diff --git a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html
index fe8cb83c5..a29b1d7bb 100644
--- a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html
+++ b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html
@@ -742,7 +742,7 @@
}
}
function onChangeChecks() {
- if (top.innerWidth < 650) {
+ if (self.innerWidth < 650) {
document.getElementById("moaidform").setAttribute("target","_parent");
} else {
document.getElementById("moaidform").removeAttribute("target");