-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
53 lines (53 loc) · 2.02 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>JUnit Parser</title>
<meta name="description" content="A JUnit parser, visualizer and format converter">
<meta name="keywords" content="JUnit, JSON, Parser">
<meta name="author" content="André Tarnowsky">
<link rel="stylesheet" href="css/normalize.min.css" type="text/css">
<link rel="stylesheet" href="css/sakura-dark.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<h1>JUnit Parser</h1>
<div id="plotVector" width="100%"></div>
<div>
<textarea class="xml"
placeholder="XML - paste, or use button below to load from file..."
rows="15"></textarea>
<input type="file" id="file" name="file" accept="application/xml"
title="Load JUnit XML from file" />
</div>
<details>
<summary>JSON</summary>
<div>
<a class="copy-link" onclick="copyTextToClipboard(document.querySelector('textarea.json'))" href="#">Copy to Clipboard</a>
<textarea class="json" placeholder="JSON" rows="15" readonly></textarea>
</div>
</details>
<details>
<summary>HTML</summary>
<div>
<a class="copy-link" onclick="copyTextToClipboard(document.querySelector('textarea.html'))" href="#">Copy to Clipboard</a>
<textarea class="html" placeholder="HTML" rows="15" readonly></textarea>
</div>
</details>
<div id="result"></div>
<div id="settings">
<h5>Settings</h5>
<div>
<input name="settingErrorIsFailure" id="settingErrorIsFailure" type="checkbox" checked>
<label style="display: inline" for="settingErrorIsFailure">Treat errors as if they were failures.</label>
</div>
<div>
<input name="settingPlotResult" id="settingPlotResult" type="checkbox">
<label style="display: inline" for="settingPlotResult">Plot result</label>
</div>
</div>
<script src="junit-parser.js"></script>
</body>
</html>