eskp.py
changeset 1056 cdd6167a71de
parent 1053 878b81ffb8f7
child 1057 53622e770eca
equal deleted inserted replaced
1055:ac8a4d638709 1056:cdd6167a71de
   194 
   194 
   195 @app.route('/ozoneloss/uvmap/<date>')
   195 @app.route('/ozoneloss/uvmap/<date>')
   196 def ozoneloss_uvmap_date(date):
   196 def ozoneloss_uvmap_date(date):
   197     filename = os.path.join("templates", get_locale(), "rst", "ozoneloss_uvmap.rst")
   197     filename = os.path.join("templates", get_locale(), "rst", "ozoneloss_uvmap.rst")
   198     content = get_content(filename)
   198     content = get_content(filename)
   199     return render_template("/ozoneloss_uvmap.html", act="ozoneloss/uvmap/%s" % date, content=content, date=date)
   199     htmlfile = os.path.join("templates", get_locale(), "html", "uvi_table.html")
       
   200     html_table = get_html_content(htmlfile)
       
   201 
       
   202     return render_template("/ozoneloss_uvmap.html", act="ozoneloss/uvmap/%s" % date, content=content,
       
   203                            html_table=html_table, date=date)
   200 
   204 
   201 
   205 
   202 @app.route('/ozoneloss/vpsc/<year>')
   206 @app.route('/ozoneloss/vpsc/<year>')
   203 def ozoneloss_vpsc_year(year):
   207 def ozoneloss_vpsc_year(year):
   204     filename = os.path.join("templates", get_locale(), "rst", "ozoneloss_vpsc.rst")
   208     filename = os.path.join("templates", get_locale(), "rst", "ozoneloss_vpsc.rst")
Impressum Datenschutzerklärung