]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/templates/index.html
Change to jinja2: index.html is now rendered with jinja2 (no styling yet).
[philipp/winterrodeln/wradmin.git] / wradmin / templates / index.html
index 82db47b92c6ca58c9f16f01cfe1d5d20309f6f7a..8182ff6b3c6fcae4d5f058b5b707bbe3cc7e15c6 100644 (file)
@@ -1,31 +1,26 @@
-<?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" />
+<!doctype html>
+<html>
 
 <head>
-    <title>Hauptmenü</title>
+    <title>Hauptmenü</title>
 </head>
 
 <body>
-<h2>Hauptmenü</h2>
+<h2>Hauptmenü</h2>
 
 <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>
+    <!-- <li><a href="url_for('wrgpxtool')">Winterrodeln-GPX Datei Werkzeuge</a></li> -->
 </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>
 
 </body>