% IF usercss %?> % END %?> %- USE date; show_hours = config.ZEITRAHMEN || 1; # Zeitrahmen der angezeigt werden soll in Stunden times = config.TIMES.split(',\s*'); px_per_min = 3; # Make it configurable? # now_sec is the requested browser time in seconds since 1970 # start_sec is the start time of the table in seconds since 1970 # end_sec is the end time of the table in seconds since 1970 # end_min is the end time of the table in minutes since start of the table # diff_sec is the offset from start_sec to now_sec diff_sec = now_sec % 1800; # time since last 30 minutes interval start_sec = now_sec - diff_sec; end_min = 60 * show_hours; end_sec = start_sec + (end_min * 60); -%?> % IF config.TL_TOOLTIP %?> % END %?>
% IF config.TL_TOOLTIP %?> % END %?>