File: fullscreen.html

package info (click to toggle)
condor 8.6.8~dfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 79,476 kB
  • sloc: cpp: 649,368; perl: 108,260; python: 22,654; ansic: 20,588; sh: 19,729; fortran: 3,340; yacc: 1,844; makefile: 1,213; xml: 1,003; sql: 767; java: 703; ruby: 512; awk: 505; lex: 248; f90: 64; csh: 24
file content (81 lines) | stat: -rw-r--r-- 2,001 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>HTCondorView</title>
  <link rel="stylesheet" href="htcondor.css" />
  <link rel="stylesheet" href="htcondorview.css" />
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/dygraph/1.1.0/dygraph-combined.js"></script>
  <script src="https://www.google.com/jsapi"></script>
  <script>
  google.load('visualization', '1.0', {
    packages: ['table', 'corechart', 'treemap', 'annotatedtimeline']
  });
  </script>
  <script src="htcondorview.js"></script>

<style>
body { margin: 0; }
#thechart {
	z-index: -1;
}
html, body {
	height: 100%;
}
h1 { margin-bottom: 0; }
#thechart, #thechart .htcondorview, #thechart .htcondorview .graph, #thechart .htcondorview .graph .vizchart {
	height: 99%;
}

</style>
</head>
<body>
<h1 class="htcbug"><img src="HTCondor-View.svg" alt="HTCondor View"></h1>

<div id="thechart"></div>

<!-- vizlog is where errors will go. -->
<div id="vizlog"></div>

<script>
$(document).ready(function(){

	var args = AfterqueryObj.parseArgs(window.location.search);
	var title = args.get('title');
	if(title !== null && title !== undefined && title.length) {
		document.title = "HTCondor View " + title;
	}
	var data_url = args.get('data_url');
	var graph_query = args.get('graph_query');

	var date_start = args.get('date_start');
	if(date_start) { date_start = new Date(date_start); }
	else { date_start = null; }

	var date_end = args.get('date_end');
	if(date_end) { date_end = new Date(date_end); }
	else { date_end = null; }

	if((!data_url) || !graph_query) {
		$('#thechart').html("<h1>No graph requested</h1>\n" +
				"<p>At the least a data_url and graph_query argument are required.\n");
		return;
	}

new HTCondorView({
	dst_id: "thechart",
	title: title,
	data_url: data_url,
	date_start: date_start,
	date_end: date_end,
	graph_query: graph_query,
	has_fullscreen_link: false
});

});

</script>

</body>
</html>