% message = query_string.msg ? " onload=\"javascript:my_alert('Attention!','#{query_string.msg}');\"" : nil % title = h1 = section.split.map{|w| w.capitalize}.join " " % javascript = Mote.parse(File.read("#{Kaya::View.path}/javascript.mote"), self, []).call() % styles = Mote.parse(File.read("#{Kaya::View.path}/styles.mote"), self, []).call() % modals = Mote.parse(File.read("#{Kaya::View.path}/modals.mote"), self, []).call() % git_information = Mote.parse(File.read("#{Kaya::View.path}/git_information.mote"), self, [:section]).call(section:section) % footer = Mote.parse(File.read("#{Kaya::View.path}/footer.mote"), self, []).call() % template_file_path = File.read("#{Kaya::View.path}/#{Kaya::View::Sections.path_for(section)}.mote") % content = Mote.parse(template_file_path, self, [:query_string, :suite_name, :log_name]).call(query_string:query_string, suite_name:suite_name, log_name:log_name) % section = section.gsub(" ","_").downcase % navigation_bar = Mote.parse(File.read("#{Kaya::View.path}/navigation_bar.mote"), self, [:section]).call(section:section)
'{{content}}
{{footer}}