File: test.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 (125 lines) | stat: -rw-r--r-- 2,779 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>HTCondorView Test</title>
  <link rel="stylesheet" href="htcondor.css" />
  <link rel="stylesheet" href="htcondorview.css" />
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.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="heatgrid.js"></script>
  <script src="render.js"></script>
  <script src="htcondorview.js"></script>

<style>

h2 {
    font-family: "HelveticaNeue-Light", "HelveticaNeueLight", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Roboto, Arial, "Lucida Grande", sans-serif; 
	font-weight: 300;
	font-size: 200%;
	margin-bottom: 0;

}
h2+p {
	margin-top: 0;
}
.HTCondorViewSimple {
/*
	display: inline-block;
	width: 300px;
	height: 200px;
*/
}

div.simple { text-align: center; }

ul.radio-tabs {
	display: inline;
	margin: 0;
	padding: 0;
}

ul.radio-tabs li {
	display: inline-block;
}
ul.radio-tabs li input[type="radio"] {
	display: none;
}
ul.radio-tabs li label {
	display: block;
	border: 1px solid black;
	background: #ededed;
	padding: .1em .8em;
	cursor: pointer;
}
ul.radio-tabs li:first-child label {
	border-top-left-radius: .6em;
	border-bottom-left-radius: 0.6em;
}
ul.radio-tabs li:last-child label {
	border-top-right-radius: 0.6em;
	border-bottom-right-radius: 0.6em;
}
ul.radio-tabs li input[type="radio"]:checked + label {
	background: white;
	cursor: inherit;
}

#simple-paired .graph .vizchart {
	height: 300px;
}

#view-paired .graph .vizchart {
	height: 400px;
}

h1 { margin-bottom: 0; }

</style>
</head>
<body>

<h1 class="htclogo"><img src="HTCondor-View.svg" alt="HTCondor View"></h1>
<h1>Testing</h1>

<h2>JSON: Valid</h2>
<p>[{foo:bar},{foo:qux}]</p>
<script>HTCondorView.simple("url=test-data/valid.json&limit=5");</script>

<h2>JSON: Missing brackets</h2>
<p>{foo:bar},{foo:qux}</p>
<script>HTCondorView.simple("url=test-data/nb.json&limit=5");</script>

<h2>JSON: Missing brackets and extra comma</h2>
<p>{foo:bar},{foo:qux},</p>
<script>HTCondorView.simple("url=test-data/nbec.json&limit=5");</script>

<h2>JSON: Extra comma</h2>
<p>[{foo:bar},{foo:qux},]</p>
<p>Not implemented.  Highly unlikely to be found in the wild.

<h2>Strict JSONP: Valid</h2>
<p>jsonp([{foo:bar},{foo:qux}]);</p>
<p>"Strict" means the first 6 characters must be exactly "jsonp(" and the
last two ");".</p>
<script>HTCondorView.simple("url=test-data/valid.json&limit=5");</script>

<h2>END</h2>






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


</body>
</html>