comparison views/bottledash_view.tpl @ 19:be6a1aaec717

added the post listener, write logs if someone sends a post
author sean
date Tue, 11 Aug 2015 14:18:09 +0200
parents f89ad628f831
children 1a13a4ecf931
comparison
equal deleted inserted replaced
18:3da0d624bec0 19:be6a1aaec717
1 <!-- This tempalte is a part of bottledash 1 <!-- This tempalte is a part of bottledash
2 author: sean engelhardt >sean.engelhardt@intevation.de 2 author: sean engelhardt >sean.engelhardt@intevation.de
3 License: GNU GPL >= v2. See LICENSE for details. --> 3 License: GNU GPL >= v2. See LICENSE for details. -->
4 4
5 <% 5 <%
6
7
8 import math, os, sys, subprocess, html.parser 6 import math, os, sys, subprocess, html.parser
9 from datetime import date 7 from datetime import date
10 8
11 PATH = os.path.abspath(os.path.dirname(sys.argv[0])) 9 PATH = os.path.abspath(os.path.dirname(sys.argv[0]))
12 sys.path.append(PATH + "/modules") 10 sys.path.append(PATH + "/modules")
27 "Freitag", "Samstag", "Sonntag")[today.weekday()] 25 "Freitag", "Samstag", "Sonntag")[today.weekday()]
28 month_name = ("Januar", "Februar", "März", "Aprill", "Mai", 26 month_name = ("Januar", "Februar", "März", "Aprill", "Mai",
29 "Juni", "Juli", "August", "September", "Oktober", 27 "Juni", "Juli", "August", "September", "Oktober",
30 "November", "Dezember")[today.month-1] 28 "November", "Dezember")[today.month-1]
31 29
32 number_of_rows = 1 30 number_of_rows = 2
33 31
34 ################# 32 #################
35 # viewport size # 33 # viewport size #
36 ################# 34 #################
37 vp_size = "17px" 35 vp_size = "17px"
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)