]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/wradmin/templates/wrgpxtool.html
dc1992fa45f80c1723cee531fbc3e9ab3a5fde4f
[philipp/winterrodeln/wradmin.git] / wradmin / wradmin / templates / wrgpxtool.html
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
3                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml"
5     xmlns:py="http://genshi.edgewall.org/"
6     xmlns:xi="http://www.w3.org/2001/XInclude">
7 <xi:include href="master.html" />
8
9 <head>
10     <title>WRGPX-Werkzeug</title>
11 </head>
12
13 <body>
14
15 <h2>WRGPX-Werkzeug</h2>
16
17 <p><strong>Achtung: Da das WRGPX Format noch in Arbeit ist, ist diese Seite natürlich auch noch nicht fertig!</strong><p>
18
19 <py:if test="not c.validated">
20 <p>WRGPX steht für "Winterrodeln GPX". Hier können Sie eine .gpx Datei auf ihre Gültigkeit untersuchen.</p>
21
22 ${h.form(h.url_for(controller='wrgpxtool', action='upload'), multipart=True)}
23 GPX-Datei zum Untersuchen: ${h.file('gpxfile')}<br/>
24 ${h.submit('submit', 'Raufladen')}
25 ${h.end_form()}
26 </py:if>
27
28 <py:if test="c.validated">
29 <h3>Ergebnis der Validierung</h3>
30
31 <py:if test="c.validation_exception is None">
32 <p>Die Datei <em>${c.filename}</em> ist eine gültige GPX 1.1 Datei. :-)</p>
33
34 <py:if test="not c.validation_ok">
35 <p>Die Datei entspricht allerdings nicht den zusätzlichen Anforderungen von Winterrodeln an GPX Dateien (WRGPX):</p>
36 <ul>
37     <li py:for="hint in c.validation_hints">${hint.message} (level ${hint.level})</li>
38 </ul>
39 </py:if>
40
41 <py:if test="c.validation_ok">
42 <p>Sie entspricht außerdem den zusätzlichen Anforderungen von Winterrodeln an GPX Dateien (WRGPX).</p>
43 <img src="${h.url_for(controller='wrgpxtool', action='height_profile')}"/>
44
45 <py:if test="len(c.validation_hints) > 0">
46 <p>Trotzdem könnte die Datei noch verbessert werden:</p>
47 <ul>
48     <li py:for="hint in c.validation_hints">${hint.message}</li>
49 </ul>
50 </py:if>
51 </py:if>
52
53 </py:if>
54
55 <py:if test="not c.validation_exception is None">
56 <p>Die Datei <em>${c.filename}</em> ist <strong>keine</strong> gülte GPX 1.1 Datei. :-(<br/>
57 Der validierende XML-Parser lieferte folgende Fehlermeldung:</p>
58 <p><em>${str(c.validation_exception)}</em></p>
59 </py:if>
60
61 <p><a href="${h.url_for(controller='wrgpxtool', action='index')}">Andere/geänderte GPX-Datei untersuchen</a></p>
62 </py:if>
63
64
65 <h3>Links</h3>
66 <ul>
67     <li><a href="http://www.topografix.com/gpx.asp">Informationen über das GPX-Format</a></li>
68     <li><a href="http://www.topografix.com/GPX/1/1/">Kommentierte GPX 1.1 Definition</a></li>
69     <li><a href="http://www.winterrodeln.org/trac/wiki/WrGpx">Zusätzliche Anforderungen an das GPX-Format, um es bei Winterrodeln verwenden zu können</a></li>
70 </ul>
71
72 </body>
73 </html>