summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html56
1 files changed, 15 insertions, 41 deletions
diff --git a/templates/index.html b/templates/index.html
index bace5c7..161bf01 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,41 +1,15 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset=utf-8 />
- <title>Hostinfo: Overview</title>
-
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-responsive.min.css" />
- <link rel="stylesheet" type="text/css" media="screen" href="css/custom.css" />
-
- <script src="js/jquery-2.0.0.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
-
- </head>
-
-
- <body>
- <div class="container">
- <div class="row">
-
- <div class="span12" id="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>
- </div>
- </div>
- </body>
-</html>
+{% extends 'layout.html' %}
+
+{% 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>
+{% endblock %}