diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-23 13:19:56 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-23 13:19:56 -0400 |
commit | 9d6dc1e5959590eeca5f9ea19cf731d73c735bd6 (patch) | |
tree | fd135e0f543a7f78388c91992fcfa85b5b7564dd /app/views/search | |
parent | b2ceff6667461a6db587c4077ef56bdb4fe9f44b (diff) | |
parent | 21d6ddb3b2e85fa24f331dbf547133a34b0d37bd (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/go.html.erb | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/app/views/search/go.html.erb b/app/views/search/go.html.erb index 6e48b07..d2bf8f3 100644 --- a/app/views/search/go.html.erb +++ b/app/views/search/go.html.erb @@ -1,6 +1,11 @@ -<h5 id="search-down">▲ Advanced Search ▲</h5> -<div id="advanced-search"> - <p> This is where the search will go </p> +<div id="advanced_search" class="collapsible"> + <div class="collapsed"> + <h5><a href="#advanced_search">Advanced Search [show]</a></h5> + </div> + <div class="expanded"> + <h5><a href="#collapse">Advanced Search [hide]</a></h5> + <p>This is where the advancedsearch will go.</p> + </div> </div> <%# Show search results if a query was not nill %> @@ -26,15 +31,3 @@ <% end %> <% end %> - -<script type="text/javascript" language="javascript"> - - $(document).ready(function() { - - $("#search-down").click(function(){ - $("#search-down").text("▼ Advanced Search ▼").html(); - $("#advanced-search").slideDown( 'slow'); - }); - - }); -</script>
\ No newline at end of file |