Lines Matching refs:ofile

229     ofile = open("charts.html", "w")
230 ofile.write('<!DOCTYPE html>\n')
231 ofile.write('<html>\n')
232 ofile.write('<head>\n')
233 ofile.write(' <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n')
234 ofile.write(' <title>Xpra Performance Results</title>\n')
235 ofile.write(' <link href="css/xpra.css" rel="stylesheet" type="text/css">\n')
236ofile.write(' <script language="javascript" type="text/javascript" src="js/jquery.js"></script>\n…
237ofile.write(' <script language="javascript" type="text/javascript" src="js/jquery.flot.js"></scri…
238ofile.write(' <script language="javascript" type="text/javascript" src="js/jquery.flot.categories…
239ofile.write(' <script language="javascript" type="text/javascript" src="js/jquery.flot.orderbars_…
240ofile.write(' <script language="javascript" type="text/javascript" src="js/xpra.js"></script>\n')
241 ofile.write(' <script language="javascript" type="text/javascript">\n')
242ofile.write(' var options = {canvas:true, grid: {margin: {top:50}, hoverable: true}, series: {b…
255 ofile.write(' var e' + str(m_index) + '_' + encoding + '_' + param + ' = [')
263 ofile.write('["' + app + '", ' + str(value) + '], ')
264 ofile.write('];' + '\n')
271 ofile.write(varStr)
276 ofile.write(' $(function() {\n')
280ofile.write(' var plot' +str(chart_index)+ ' = $.plot($("#placeholder_' + str(m_index) + '_…
288ofile.write(' set_title(' + str(title_index) + ', "' + titles[title_index] + '");\n')
292ofile.write('$("#metric_link_'+str(mx)+'").click(function() {$("#metric_list").scrollTop(' + str(b…
293 ofile.write(' });\n')
294 ofile.write(' </script>\n')
295 ofile.write(' <style>.metric_box {height: ' + str(box_height) + 'px}</style>\n')
296 ofile.write('</head>\n')
297 ofile.write('<body>\n')
298 ofile.write(' <div id="page">\n')
299 ofile.write(' <div id="header_box">\n')
300 ofile.write(' <div id="header">\n')
301 ofile.write(' <h2>Xpra Performance Results</h2>\n')
302 ofile.write(' <h3>' + description + '</h3>\n')
303 ofile.write(' <div id="help_text">Click a metric to locate it in the results.</div>\n')
304 ofile.write(' </div>\n')
306 ofile.write(' <div id="select_box">\n')
309ofile.write(' <div id="metric_link_' + str(m_index) + '" style="float:left;height:20px;widt…
311 ofile.write(' </div>\n')
312 ofile.write(' </div>\n')
314 ofile.write(' <div style="clear:both"></div>\n')
315 ofile.write(' <div id="metric_list">\n')
318 ofile.write(' <div class="metric_box" id="metric_box_' + str(m_index) + '">\n')
319 ofile.write(' <div class="metric_label">' + metric + '</div>\n')
322 ofile.write(' <div class="container">\n')
323ofile.write(' <div id="placeholder_' + str(m_index) + '_' + str(e_index) + '" class="plac…
324 ofile.write(' </div>\n')
327 ofile.write(' </div>\n')
329 ofile.write(' <div class="metric_box"></div>\n')
330 ofile.write(' </div>\n')
331 ofile.write(' </div>\n')
332 ofile.write('</body>\n')
333 ofile.write('</html>\n')
334 ofile.close()