+# Copyright 2014 - 2016 Paul Hänsch
+#
+# This file is part of Serve0
+#
+# Serve0 is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Serve0 is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Serve0 If not, see <http://www.gnu.org/licenses/>.
+
+cat <<EOF
+ <form class="panel" id="search" action="?" method="get" accept-charset="UTF-8">
+ <input type="text" name="s" value="$search" placeholder="Search">
+
+ <select class="order" size="1" name="o" id="o1">
+ <option class="label" selected disabled>Order by</option>
+ <option>Name</option>
+ <option>Date</option>
+ <option>Length</option>
+ </select>
+ <!-- input type="submit" name="submit" value="Find" -->
+
+ <a class="panel clearsearch" href="?">Clear All</a>
+ <a class="panel toggle" href="#advfilter">Advanced</a>
+ <a class="panel toggle" href="#playctl">Player</a>
+ </form>
+
+ $(. $_EXEC/templates/playpanel.html.sh)
+
+ <p class="quicklinks">
+ <label class="quicklinks">Most recent</label>
+ $(quicklinks)
+ </p>
+
+ <div class="panel" id="foot">
+ <a class="panel toggle" href="#preferences">Preferences</a>
+ <a class="panel treeview" href="?p=tree">Browse Folders</a>
+ </div>
+
+ $(. $_EXEC/templates/preferences.html.sh)
+ $(. $_EXEC/templates/advfilter.html.sh)
+EOF
+
+# vi:set filetype=html: