comparison views/hello_template.tpl @ 14:3a9cb396905f

made a template how to use the web_view module
author sean
date Wed, 05 Aug 2015 13:24:25 +0200
parents 63b9f41c3008
children
comparison
equal deleted inserted replaced
13:63b9f41c3008 14:3a9cb396905f
27 "Freitag", "Samstag", "Sonntag")[today.weekday()] 27 "Freitag", "Samstag", "Sonntag")[today.weekday()]
28 month_name = ("Januar", "Februar", "März", "Aprill", "Mai", 28 month_name = ("Januar", "Februar", "März", "Aprill", "Mai",
29 "Juni", "Juli", "August", "September", "Oktober", 29 "Juni", "Juli", "August", "September", "Oktober",
30 "November", "Dezember")[today.month-1] 30 "November", "Dezember")[today.month-1]
31 31
32 number_of_rows = 2 32 number_of_rows = 1
33 33
34 ################# 34 #################
35 # viewport size # 35 # viewport size #
36 ################# 36 #################
37 vp_size = "17px" 37 vp_size = "17px"
192 elif tile["status"] == "down" : 192 elif tile["status"] == "down" :
193 status = "dead" 193 status = "dead"
194 end 194 end
195 elif tile["type"] == "d3js" : 195 elif tile["type"] == "d3js" :
196 type = "chart" 196 type = "chart"
197 status = "techintern" 197 status = tile["div_name"]
198 tile_content = roundup_cc.make_chart(tile["script"], tile["div_name"]) 198 tile_content = roundup_cc.make_chart(tile["script"], tile["div_name"])
199 end 199 end
200 %> 200 %>
201 201
202 <div class = "tile {{type}} {{status}}"> 202 <div class = "tile {{type}} {{status}}">
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)