summaryrefslogtreecommitdiffstats
path: root/templates/index.html
blob: ebc24087048de11130ee50d54b9fa84937eba5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends 'layout.html' %}

{% block content %}
<h1>Hostinfo</h1>

<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 %}