summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html36
1 files changed, 27 insertions, 9 deletions
diff --git a/templates/index.html b/templates/index.html
index 161bf01..ebc2408 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,13 +3,31 @@
{% block content %}
<h1>Hostinfo</h1>
-<ul id="hosts" class="row">
- {% for host in hosts %}
- <li class="span2">
- <a href={{host['url']}} class="thumbnail">
- {{host['hostname'] | replace(".spline.inf.fu-berlin.de","")}}
- </a>
- </li>
- {% endfor %}
-</ul>
+<div id="hostlist">
+ <div class="row searchbox">
+ <span class="span4 offset4">
+ <input type="search" class="search span4" placeholder="Search" />
+ </spam>
+ </div>
+
+ <ul class="row list">
+ {% for host in hosts %}
+ <li class="span2">
+ <a href={{host['url']}} class="thumbnail hostname">
+ {{host['hostname'] | replace(".spline.inf.fu-berlin.de","")}}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+</div>
+
+<script type='text/javascript'>
+<!--
+var options = {
+ valueNames: [ 'hostname' ]
+};
+
+var featureList = new List('hostlist', options);
+//-->
+</script>
{% endblock %}