diff options
author | Leif Johansson <leifj@sunet.se> | 2011-07-27 16:21:45 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-07-27 16:21:45 +0200 |
commit | 2024410ea7c3b23e71b40c6720a1d251024bc69a (patch) | |
tree | 74fbe800f9d6039167df78f2c5ac0c3f90eece02 | |
parent | bc4cc89a7b09f366d9e3e2125d5128d4c572c124 (diff) |
use macdropdown
-rw-r--r-- | src/main/webapp/wayf-ndn.jsp | 46 |
1 files changed, 21 insertions, 25 deletions
diff --git a/src/main/webapp/wayf-ndn.jsp b/src/main/webapp/wayf-ndn.jsp index 8b26d86..0129455 100644 --- a/src/main/webapp/wayf-ndn.jsp +++ b/src/main/webapp/wayf-ndn.jsp @@ -152,7 +152,7 @@ $(function() { $("input:submit, input:reset, input:button, a",".button").button(); $("#origin").mcDropdown('#sites'); - + $(".sitelist").menu(); }); </script> </head> @@ -192,31 +192,27 @@ $(function() { <logic:present name="cookieList" scope="request"> <li style="veritcal-align: top; border-right: 1px solid #CECECE; min-height: 300px; padding-right: 20px;"> <h2>Recently Used</h2> - <ul> - <logic:iterate id="site" name="cookieList"> - <li><a tabindex="10" href="#<jsp:getProperty name="site" property="name"/>"><jsp:getProperty name="site" property="displayName"/></a></li> - </logic:iterate> - <li> - <form method="get" action="ClearCache.wayf" > - <div> - <logic:notPresent name="entityID" scope="request"> - <input type="hidden" name="shire" value="<bean:write name="shire" />" /> - <input type="hidden" name="target" value="<bean:write name="target" />" /> - <input type="hidden" name="providerId" value="<bean:write name="providerId" />" /> - <logic:present name="time" scope="request"> - <input type="hidden" name="time" value="<bean:write name="time" />" /> - </logic:present> - </logic:notPresent> - <logic:present name="entityID" scope="request"> - <input type="hidden" name="entityID" value="<bean:write name="entityID" />" /> - <input type="hidden" name="returnX" value="<bean:write name="returnX" />" /> - <input type="hidden" name="returnIDParam" value="<bean:write name="returnIDParam" />" /> - </logic:present> - <input tabindex="20" type="submit" value="Clear List" /> - </div> - </form> - </li> + <ul class="sitelist"> + <logic:iterate id="site" name="cookieList"> + <li><a tabindex="10" href="#<jsp:getProperty name="site" property="name"/>"><jsp:getProperty name="site" property="displayName"/></a></li> + </logic:iterate> </ul> + <form method="get" action="ClearCache.wayf" > + <logic:notPresent name="entityID" scope="request"> + <input type="hidden" name="shire" value="<bean:write name="shire" />" /> + <input type="hidden" name="target" value="<bean:write name="target" />" /> + <input type="hidden" name="providerId" value="<bean:write name="providerId" />" /> + <logic:present name="time" scope="request"> + <input type="hidden" name="time" value="<bean:write name="time" />" /> + </logic:present> + </logic:notPresent> + <logic:present name="entityID" scope="request"> + <input type="hidden" name="entityID" value="<bean:write name="entityID" />" /> + <input type="hidden" name="returnX" value="<bean:write name="returnX" />" /> + <input type="hidden" name="returnIDParam" value="<bean:write name="returnIDParam" />" /> + </logic:present> + <input tabindex="20" type="submit" value="Clear List" /> + </form> </li> </logic:present> <li style="vertical-align: top; padding-left: 20px;"> |