aboutsummaryrefslogtreecommitdiff
path: root/basicConfig/templates
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-10-30 12:43:48 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-10-30 12:43:48 +0100
commitee157cd4417064e88414edd3c53912395164c74b (patch)
treee97261e6436a18f1bd0c96ac5275cf8ec315f49c /basicConfig/templates
parent051ba1644821e825a5b22055d0f32231f4ba6fa1 (diff)
downloadNational_eIDAS_Gateway-ee157cd4417064e88414edd3c53912395164c74b.tar.gz
National_eIDAS_Gateway-ee157cd4417064e88414edd3c53912395164c74b.tar.bz2
National_eIDAS_Gateway-ee157cd4417064e88414edd3c53912395164c74b.zip
add default configuration files1.0.0
Diffstat (limited to 'basicConfig/templates')
-rw-r--r--basicConfig/templates/countrySelection_example.html177
-rw-r--r--basicConfig/templates/error_message.html37
-rw-r--r--basicConfig/templates/pvp2_post_binding.html36
3 files changed, 250 insertions, 0 deletions
diff --git a/basicConfig/templates/countrySelection_example.html b/basicConfig/templates/countrySelection_example.html
new file mode 100644
index 00000000..d28c1fb6
--- /dev/null
+++ b/basicConfig/templates/countrySelection_example.html
@@ -0,0 +1,177 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="$contextPath/static/css/css_country.css"/>
+ <script type="text/javascript" src="$contextPath/static/js/js_country.js"></script>
+ <title>eIDAS-Login Länderauswahl</title>
+
+<title>eIDAS-Login</title>
+</head>
+<body>
+ <div id="page">
+ <h2> Select your country </h2>
+ <div id="country">
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/germany-eu_.png" alt="Germany-eID"/></a>
+ <input type="submit" value="Germany" role="button" id="button">
+ <input type="hidden" name="selectedCountry" value="DE">
+ <input type="hidden" name="pendingid" value="$pendingReqID">
+ <select id="testEnvironment" name="selectedEnvironment">
+ <option value="prod">Production</option>
+ <option value="qs">QS</option>
+ <option value="test">Testing</option>
+ <option value="dev">Development</option>
+ </select>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Belgium-EU_gray.png" alt="Belgium-eID"/></a></a>
+ <input type="submit" value="Belgium">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Bulgaria-EU_gray.png"="Bulgaria-eID"/></a>
+ <input type="submit" value="Bulgaria" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Croatia-EU_gray.png"="Croatia-eID"/></a>
+ <input type="submit" value="Croatia">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Cyprus-EU_gray.png"="Cyprus-eID"/></a>
+ <input type="submit" value="Cyprus" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/CzechRepublic-EU_gray.png"="CzechRepublic-eID"/></a>
+ <input type="submit" value="CzechRepublic">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Denmark-EU_gray.png"="Denmark-eID"/></a>
+ <input type="submit" value="Denmark" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Estonia-EU_gray.png"="Estonia-eID"/></a>
+ <input type="submit" value="Estonia">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Finland-EU_gray.png"="Finland-eID"/></a>
+ <input type="submit" value="Finland" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/France-EU_gray.png"="France-eID"/></a>
+ <input type="submit" value="France" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Greece-EU_gray.png"="Greece-eID"/></a>
+ <input type="submit" value="Greece" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Hungary-EU_gray.png"="Hungary-eID"/></a>
+ <input type="submit" value="Hungary" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Ireland-EU_gray.png"="Ireland-eID"/></a>
+ <input type="submit" value="Ireland" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Italy-EU_gray.png"="Italy-eID"/></a>
+ <input type="submit" value="Italy">
+ <select id="testEnvironment" name="selectedEnvironment">
+ <option value="prod">Production</option>
+ <option value="qs">QS</option>
+ <option value="test">Testing</option>
+ <option value="dev">Development</option>
+ </select>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Latvia-EU_gray.png"="Latvia-eID"/></a>
+ <input type="submit" value="Latvia" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Luxembourg-EU_gray.png"="Luxembourg-eID"/></a>
+ <input type="submit" value="Luxembourg" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Malta-EU_gray.png"="Malta-eID"/></a>
+ <input type="submit" value="Malta" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Poland-EU_gray.png"="Poland-eID"/></a>
+ <input type="submit" value="Poland">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Portugal-EU_gray.png"="Portugal-eID"/></a>
+ <input type="submit" value="Portugal">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Romania-EU_gray.png"="Romania-eID"/></a>
+ <input type="submit" value="Romania" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Slovakia-EU_gray.png"="Slovakia-eID"/></a>
+ <input type="submit" value="Slovakia" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Slovenia-EU_gray.png"="Slovenia-eID"/></a>
+ <input type="submit" value="Slovenia">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/Spain-EU_gray.png"="Spain-eID"/></a>
+ <input type="submit" value="Spain">
+ <select id="testEnvironment" name="selectedEnvironment">
+ <option value="prod">Production</option>
+ <option value="qs">QS</option>
+ <option value="test">Testing</option>
+ <option value="dev">Development</option>
+ </select>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/Sweden-EU_gray.png"="Sweden-eID"/></a>
+ <input type="submit" value="Sweden" disabled>
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img class="countryimage" src="$contextPath/img/countries/TheNetherlands-EU_gray.jpg"="TheNetherlands-eID"/></a>
+ <input type="submit" value="Netherlands">
+ </form>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <a><img disabled class="countryimage" src="$contextPath/img/countries/UnitedKingdom-EU_gray.png"="UnitedKingdom-eID"/></a>
+ <input type="submit" value="United Kingdom" disabled>
+ </form>
+
+ </div>
+
+ <form class="block" method="post" action="$contextPath$submitEndpoint">
+ <input type="submit" value="Abbrechen/Cancel">
+ <input type="hidden" name="stopAuthProcess" value="true">
+ <input type="hidden" name="pendingid" value="$pendingReqID">
+ </form>
+
+ </div>
+</body>
+</html>
diff --git a/basicConfig/templates/error_message.html b/basicConfig/templates/error_message.html
new file mode 100644
index 00000000..fc9b75a1
--- /dev/null
+++ b/basicConfig/templates/error_message.html
@@ -0,0 +1,37 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <link rel="stylesheet" href="$contextPath/css/css_error.css" />
+
+ <title>An error arise ... </title>
+</head>
+
+<body>
+ <div id="page">
+ <div id="page1" class="case selected-case" role="main">
+ <h2 class="OA_header" role="heading">Authentication error arise</h2>
+ <!--div id="main"-->
+ <!--div id="leftcontent" class="hell" role="application"-->
+
+
+
+ <div class="hell" role="application" >
+ <p>The authentication stops on account of a process error:</p>
+ <br/>
+ <p><b>Error Code:</b> $errorCode</p>
+ <p><b>Error Message:</b >$errorMsg</p>
+ </div>
+
+
+ #if($stacktrace)
+ <div>
+ <p><b>Stacktrace:</b> $stacktrace</p>
+ </div>
+ #end
+
+ <!--/div--->
+ <!--/div-->
+ </div>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/basicConfig/templates/pvp2_post_binding.html b/basicConfig/templates/pvp2_post_binding.html
new file mode 100644
index 00000000..90858237
--- /dev/null
+++ b/basicConfig/templates/pvp2_post_binding.html
@@ -0,0 +1,36 @@
+## ## Velocity Template for SAML 2 HTTP-POST binding ## ## Velocity
+##context may contain the following properties ## action - String - the
+##action URL for the form ## RelayState - String - the relay state for the
+##message ## SAMLRequest - String - the Base64 encoded SAML Request ##
+##SAMLResponse - String - the Base64 encoded SAML Response
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <script src="$contextPath/autocommit.js"></script>
+</head>
+<body>
+ <noscript>
+ <p>
+ <strong>Note:</strong> Since your browser does not support
+ JavaScript, you must press the Continue button once to proceed.
+ </p>
+ </noscript>
+
+ <div id="alert">Your login is being processed. Thank you for
+ waiting.</div>
+
+ <form action="${action}" method="post" target="_parent">
+ <div>
+ #if($RelayState) <input type="hidden" name="RelayState" value="${RelayState}"/> #end
+ #if($SAMLRequest) <input type="hidden" name="SAMLRequest" value="${SAMLRequest}" /> #end
+ #if($SAMLResponse) <input type="hidden" name="SAMLResponse" value="${SAMLResponse}" /> #end
+ </div>
+ <noscript>
+ <div>
+ <input type="submit" value="Continue" />
+ </div>
+ </noscript>
+ </form>
+
+</body>
+</html> \ No newline at end of file