diff options
author | Christian Kollmann <christian.kollmann@a-sit.at> | 2021-12-07 09:00:22 +0100 |
---|---|---|
committer | Christian Kollmann <christian.kollmann@a-sit.at> | 2021-12-07 11:01:13 +0100 |
commit | a017ebff96d2cc12943801c933e5733b4e827b3b (patch) | |
tree | 3016eed0fe5491e6dd7a377d7b3684298d12d80b /basicConfig/webcontent | |
parent | 514f99284299882ce9b3e7741094eb55561b503e (diff) | |
download | National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.tar.gz National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.tar.bz2 National_eIDAS_Gateway-a017ebff96d2cc12943801c933e5733b4e827b3b.zip |
Use relative paths in templates to enable preview in browser
If Thymeleaf is active (i.e. the template is rendered by the Webapp),
the path gets replaced anyway.
Diffstat (limited to 'basicConfig/webcontent')
-rw-r--r-- | basicConfig/webcontent/autocommit.js | 5 | ||||
-rw-r--r-- | basicConfig/webcontent/css/css_error.css | 26 |
2 files changed, 31 insertions, 0 deletions
diff --git a/basicConfig/webcontent/autocommit.js b/basicConfig/webcontent/autocommit.js new file mode 100644 index 00000000..d21a5651 --- /dev/null +++ b/basicConfig/webcontent/autocommit.js @@ -0,0 +1,5 @@ +function autoCommmit() { + document.forms[0].submit(); +} + +document.addEventListener('DOMContentLoaded', autoCommmit);
\ No newline at end of file diff --git a/basicConfig/webcontent/css/css_error.css b/basicConfig/webcontent/css/css_error.css new file mode 100644 index 00000000..d772df43 --- /dev/null +++ b/basicConfig/webcontent/css/css_error.css @@ -0,0 +1,26 @@ +@charset "utf-8"; + body { + padding-left: 5%; + background-color: #F9F9F9; + } + #page { + padding-top: 2%; + padding-right: 10%; + padding-left: 5%; + } + + .OA_header { + font-size: 2.1em; + padding-top:1%; + margin-bottom: 1%; + margin-top: 1%; + + } + + #alert_area { + float:left; + width: 100%; + } + + + |