]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/templates/index.html
Add links to JSON editing services for sledruns.
[philipp/winterrodeln/wradmin.git] / wradmin / templates / index.html
index 82db47b92c6ca58c9f16f01cfe1d5d20309f6f7a..5a449fbf2436b30e5b3d22e5098b67382c7579c6 100644 (file)
@@ -1,32 +1,20 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:py="http://genshi.edgewall.org/"
-    xmlns:xi="http://www.w3.org/2001/XInclude">
-<xi:include href="master.html" />
+{% extends "master.html" %}
+{% block title %}Hauptmenü{% endblock %}
 
 
-<head>
-    <title>Hauptmenü</title>
-</head>
-
-<body>
-<h2>Hauptmenü</h2>
+{% block content %}
+<h2>Hauptmenü</h2>
 
 <p>Willkommen auf den Administrationsseiten von Winterrodeln.</p>
 
 <ul>
 
 <p>Willkommen auf den Administrationsseiten von Winterrodeln.</p>
 
 <ul>
-    <li><a href="${h.url(controller='rodelbahn', action='list')}">Rodelbahnen</a></li>
-    <li><a href="${h.url(controller='bericht', action='list')}">Rodelbahnberichte</a></li>
-    <li><a href="${h.url(controller='gasthaus', action='list')}">Gasthäuser</a></li>
-    <li><a href="${h.url(controller='coordtool', action='index')}">Koordinaten-Rechner</a></li>
-    <!-- <li><a href="${h.url(controller='wrgpxtool', action='index')}">Winterrodeln-GPX Datei Werkzeuge</a></li> -->
+    <li><a href="{{url_for('rodelbahn_list')}}">Rodelbahnen</a></li>
+    <li><a href="{{url_for('bericht_list')}}">Rodelbahnberichte</a></li>
+    <li><a href="{{url_for('gasthaus_list')}}">Gasthäuser</a></li>
+    <li><a href="{{url_for('coordtool_index')}}">Koordinaten-Rechner</a></li>
 </ul>
 
 <ul>
 </ul>
 
 <ul>
-    <li><a href="${h.wiki()}">Winterrodeln-Hauptseite</a></li>
-    <li><a href="${h.forum()}">Forum</a></li>
+    <li><a href="{{h.wiki()}}">Winterrodeln-Hauptseite</a></li>
+    <li><a href="{{h.forum()}}">Forum</a></li>
 </ul>
 </ul>
-
-</body>
-</html>
+{% endblock %}