aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-frontend-resources
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-10-09 15:43:13 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-10-09 15:43:13 +0200
commit352c4f2de3503dfc7f8528b846ebaa62a7f439f1 (patch)
treec2e21aa55a262901c44f2794ee18079575d0f9c0 /id/server/moa-id-frontend-resources
parenta59e9d088954345d67ff6b5b9b0f4d88d56531be (diff)
downloadmoa-id-spss-352c4f2de3503dfc7f8528b846ebaa62a7f439f1.tar.gz
moa-id-spss-352c4f2de3503dfc7f8528b846ebaa62a7f439f1.tar.bz2
moa-id-spss-352c4f2de3503dfc7f8528b846ebaa62a7f439f1.zip
update some more templates and version numbers
Diffstat (limited to 'id/server/moa-id-frontend-resources')
-rw-r--r--id/server/moa-id-frontend-resources/pom.xml6
-rw-r--r--id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/id/server/moa-id-frontend-resources/pom.xml b/id/server/moa-id-frontend-resources/pom.xml
index 7ad2c89a1..342cedac8 100644
--- a/id/server/moa-id-frontend-resources/pom.xml
+++ b/id/server/moa-id-frontend-resources/pom.xml
@@ -45,12 +45,12 @@
<source>
<![CDATA[
println("==== Creating version.txt ====");
- File mainDir = new File("src/main/resources");
+ File mainDir = new File("${basedir}/src/main/resources");
if(mainDir.exists() && !mainDir.isDirectory()) {
println("Main dir does not exist, wont create version.txt!");
return;
}
- File confDir = new File("src/main/resources/mainGUI");
+ File confDir = new File("${basedir}/src/main/resources/mainGUI");
if(confDir.exists() && !confDir.isDirectory()) {
println("Conf dir is not a directory, wont create version.txt!");
return;
@@ -58,7 +58,7 @@
if(!confDir.exists()) {
confDir.mkdir();
}
- File versionFile = new File("src/main/resources/mainGUI/version.txt");
+ File versionFile = new File("${basedir}/src/main/resources/mainGUI/version.txt");
if(versionFile.exists() && versionFile.isDirectory()) {
println("Version file exists and is directory! Wont overwrite");
return;
diff --git a/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html b/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html
index 8deabeb4f..c4da51dc1 100644
--- a/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html
+++ b/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html
@@ -51,7 +51,7 @@
<input type="hidden" name="pendingid" value="$pendingReqID" />
<input type="submit" value=" Karte " tabindex="4" role="button" onclick="setMandateSelection();">
</form>
- <iframe name="bkudetect" width="0" height="0" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" src="$contextPath/feature/bkuDetection"></iframe>
+ <iframe name="bkudetect" width="0" height="0" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" src="$contextPath/feature/bkuDetection?pendingid=$pendingReqID"></iframe>
<!-- BKU detection with static template-->
<!--iframe name="bkudetect" width="0" height="0" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" src="$contextPath/iframeLBKUdetect.html"></iframe-->