mirror of
https://github.com/neocities/neocities.git
synced 2025-07-02 00:53:26 +02:00
move search above tags
This commit is contained in:
parent
db35971217
commit
2cfc848ab2
3 changed files with 7 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="row content misc">
|
||||
<h3>Popular Tags</h3>
|
||||
<h3 class="txt-Center">Popular Tags</h3>
|
||||
<p class="tagcloud">
|
||||
<% Tag.popular_names(1000).each_with_index do |tag,i| %>
|
||||
<% i = (((i+1).to_f/1000) * 10).to_i %>
|
||||
|
|
|
@ -142,14 +142,13 @@
|
|||
<% end %>
|
||||
|
||||
<% unless is_education? %>
|
||||
<%== erb :_browse_tags, layout: false %>
|
||||
<div class="row content misc">
|
||||
<div class="row content misc txt-Center">
|
||||
<h3>Site Search</h3>
|
||||
|
||||
<% if !daily_search_max? %>
|
||||
<form method="GET" action="/browse/search">
|
||||
<fieldset>
|
||||
<input name="q" type="text" placeholder="keywords" class="input-Area" autocapitalize="off" autocorrect="off" style="width: 50%">
|
||||
<input name="q" type="text" placeholder="keywords" class="input-Area" autocapitalize="off" autocorrect="off" style="width: 300px;">
|
||||
<input class="btn btn-Action" type="submit" value="Search">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
@ -163,6 +162,7 @@
|
|||
<p>Search powered by <a href="https://duckduckgo.com/">Duck Duck Go</a></p>
|
||||
<% end %>
|
||||
</div>
|
||||
<%== erb :_browse_tags, layout: false %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -67,18 +67,6 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
|
||||
<!--
|
||||
<div class="header-Outro">
|
||||
<div class="row content single-Col">
|
||||
<h1>Neocities Search</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
-->
|
||||
|
||||
|
||||
|
||||
<div class="header-Outro with-columns browse-page">
|
||||
<div class="row content">
|
||||
<div class="col col-100">
|
||||
|
@ -88,7 +76,7 @@
|
|||
<form id="search_criteria" action="/browse/search" method="GET">
|
||||
<div class="col col-50 filter">
|
||||
<fieldset class="grouping">
|
||||
<input name="q" type="text" class="input-Area" value="<%= params[:q] %>">
|
||||
<input name="q" type="text" class="input-Area" value="<%= params[:q] %>" placeholder="keywords">
|
||||
<input style="vertical-align: 5px; margin-left: 4px;" type="submit" class="btn-Action" value="Search">
|
||||
</fieldset>
|
||||
</div>
|
||||
|
@ -135,5 +123,7 @@
|
|||
<% end %>
|
||||
</h2>
|
||||
</div>
|
||||
<% else %>
|
||||
Enter some keywords to begin searching.
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue