summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-07-26 16:52:33 +0200
committerLeif Johansson <leifj@sunet.se>2011-07-26 16:52:33 +0200
commit46e7705e28846e173357db9abb4f0ecfb4a84527 (patch)
treef2ea83ed18c5ee7aaaad58ffde6179de8b1868c9
parent1ecfccf4ad6db607af6a3354c5e341a0874e8672 (diff)
turn it into a menubar
-rw-r--r--src/main/webapp/wayf-ndn.jsp35
1 files changed, 14 insertions, 21 deletions
diff --git a/src/main/webapp/wayf-ndn.jsp b/src/main/webapp/wayf-ndn.jsp
index 68379a5..0950cd4 100644
--- a/src/main/webapp/wayf-ndn.jsp
+++ b/src/main/webapp/wayf-ndn.jsp
@@ -148,8 +148,7 @@
<script type="text/javascript">
$(function() {
$("input:submit, input:reset, input:button, a",".button").button();
- $("#sites").tabs({event: 'mouseover'});
- $(".sitelist").menu();
+ $(".sites").menubar();
});
</script>
</head>
@@ -186,18 +185,11 @@ $(function() {
<p class="text">The service you are trying to use require that you identify yourself. Please select your identity provider below...</p>
<logic:present name="siteLists" scope="request">
- <div id="sites">
- <ul>
- <logic:present name="cookieList" scope="request">
- <li><a href="#recently-visited">Recently Visited</a></li>
- </logic:present>
- <logic:iterate id="siteset" name="siteLists">
- <li><a href="#<jsp:getProperty name="siteset" property="name"/>"><jsp:getProperty name="siteset" property="name"/></a></li>
- </logic:iterate>
- </ul>
+ <ul id="sites">
<logic:present name="cookieList" scope="request">
- <div id="recently-visited">
- <ul class="sitelist">
+ <li>
+ <a href="#recently-visited">Recently Visited</a>
+ <ul>
<logic:iterate id="site" name="cookieList">
<li>
<logic:present name="entityID" scope="request">
@@ -221,8 +213,7 @@ $(function() {
</logic:notPresent>
</li>
</logic:iterate>
- </ul>
- <div style="border-top: 1px solid #CECECE; padding-top: 20px;">
+ <li>
<form method="get" action="ClearCache.wayf" >
<div>
<logic:notPresent name="entityID" scope="request">
@@ -241,12 +232,14 @@ $(function() {
<input tabindex="20" type="submit" value="Clear List" />
</div>
</form>
- </div>
- </div>
+ </li>
+ </ul>
+ </li>
</logic:present>
<logic:iterate id="siteset" name="siteLists">
- <div id="<jsp:getProperty name="siteset" property="name"/>">
- <ul class="sitelist">
+ <li>
+ <a href="#<jsp:getProperty name="siteset" property="name"/>"><jsp:getProperty name="siteset" property="name"/></a>
+ <ul>
<logic:iterate id="site" name="siteset" property="sites">
<li>
<logic:present name="entityID" scope="request">
@@ -271,9 +264,9 @@ $(function() {
</li>
</logic:iterate>
</ul>
- </div>
+ </li>
</logic:iterate>
- </div>
+ </ul>
</logic:present>
</li>
</ul>