summaryrefslogtreecommitdiff
path: root/src/main/webapp/wayf-swamid.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/wayf-swamid.jsp')
-rw-r--r--src/main/webapp/wayf-swamid.jsp45
1 files changed, 25 insertions, 20 deletions
diff --git a/src/main/webapp/wayf-swamid.jsp b/src/main/webapp/wayf-swamid.jsp
index 9a7b989..a1d5abe 100644
--- a/src/main/webapp/wayf-swamid.jsp
+++ b/src/main/webapp/wayf-swamid.jsp
@@ -10,26 +10,7 @@
<%request.setCharacterEncoding("UTF-8");%>
<%response.setCharacterEncoding("UTF-8");%>
-<logic:present name="showComments" scope="Request">
-
-<!-- TO CONFIGURE THIS FOR A SPECIFIC SITE
- =====================================
-
- Before you deploy this jsp you need to look for CONFIG below.
- These mark places where you should make changes.
-
- If you want to make more profound changes but only to the jsp,
- you should read the sections marked PROGRAMMING NOTE below.-->
-
-<!-- PROGRAMMING NOTE
-
- "requestURL" contains the URL that was specified to get the
- WAYF going. The jsp uses it mostly for submitting result back to
- the WAYF and error reporting -->
-
-</logic:present>
-
- <jsp:useBean id="requestURL" scope="request" class="java.lang.String"/>
+<jsp:useBean id="requestURL" scope="request" class="java.lang.String"/>
<logic:notPresent name="entityID" scope="request">
<logic:notPresent name="shire" scope="request">
@@ -42,6 +23,30 @@
<head>
<title>Identity Provider Selection</title>
<link rel="stylesheet" title="normal" type="text/css" href="wayf-swamid.css"/>
+ <script type="text/javascript" charset="utf-8">
+ var is_ssl = ("https:" == document.location.protocol);
+ var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
+ document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript" charset="utf-8">
+ var feedback_widget_options = {};
+
+ feedback_widget_options.display = "overlay";
+ feedback_widget_options.company = "sunet";
+ feedback_widget_options.placement = "right";
+ feedback_widget_options.color = "#222";
+ feedback_widget_options.style = "idea";
+ feedback_widget_options.product = "sunet_swamid";
+
+
+
+ feedback_widget_options.limit = "3";
+
+ GSFN.feedback_widget.prototype.local_base_url = "http://community.sunet.se";
+ GSFN.feedback_widget.prototype.local_ssl_base_url = "http://community.sunet.se";
+
+
+ var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
+</script>
</head>
<body>