Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

Commit eb9bc3b

Browse files
authored
Redirect to the new frontend (#86)
1 parent a6b7b03 commit eb9bc3b

File tree

1 file changed

+8
-157
lines changed

1 file changed

+8
-157
lines changed

index.html

Lines changed: 8 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,13 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5-
<link rel="stylesheet" href="src/style.css" type="text/css" media="all" />
6-
<title>mozilla-central coverage</title>
7-
</head>
8-
<body>
9-
<script src="src/common.js" type="text/javascript"></script>
10-
<script src="src/zero_coverage_report.js" type="text/javascript"></script>
11-
<script src="src/index.js" type="text/javascript"></script>
12-
<script src="https://unpkg.com/[email protected]/mustache.min.js" type="text/javascript"></script>
13-
<script async defer src="https://buttons.github.io/buttons.js"></script>
1+
<!DOCTYPE HTML>
142

15-
<!-- Chart -->
16-
<script src="https://unpkg.com/[email protected]/dist/chartist.min.js" type="text/javascript"></script>
17-
<link href="https://unpkg.com/[email protected]/dist/chartist.min.css" rel="stylesheet" />
3+
<meta charset="UTF-8">
4+
<meta http-equiv="refresh" content="0; url=https://coverage.moz.tools">
5+
<link rel="canonical" href="https://coverage.moz.tools">
186

19-
<!-- Syntax highlighter -->
20-
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/themes/prism.css" rel="stylesheet" />
21-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/components/prism-core.min.js" type="text/javascript"></script>
22-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/plugins/autoloader/prism-autoloader.min.js" type="text/javascript"></script>
23-
<script>Prism.plugins.autoloader.languages_path = 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.16.0/components/'</script>
24-
25-
<script id="zerocoverage" type="x-tmpl-mustache">
26-
<div class="directory">
27-
<h2>
28-
<nav>
29-
{{#navbar}}
30-
<a href="#{{ path }}">{{ name }}</a>
31-
{{/navbar}}
32-
</nav>
33-
<span> : {{ total }} files</span>
34-
</h2>
35-
36-
<div class="table">
37-
<div class="header">
38-
<span class="filename">File name</span>
39-
<span>Children</span>
40-
<span>Functions</span>
41-
<span>First push</span>
42-
<span>Last push</span>
43-
<span>Size</span>
44-
<span>Commits</span>
45-
</div>
46-
47-
{{#entries}}
48-
<div class="row">
49-
<span class="filename"><a href="{{ entry_url }}">{{ dir }}</a></span>
50-
<span>{{ stats.children }}</span>
51-
<span>{{ stats.funcs }}</span>
52-
<span>{{ stats.first_push_date }}</span>
53-
<span>{{ stats.last_push_date }}</span>
54-
<span>{{ stats.size }}</span>
55-
<span>{{ stats.commits }}</span>
56-
</div>
57-
{{/entries}}
58-
</div>
59-
</div>
7+
<script>
8+
window.location.href = "https://coverage.moz.tools"
609
</script>
6110

62-
<script id="file_coverage" type="x-tmpl-mustache">
63-
<div class="file">
64-
<h2>
65-
<nav>
66-
{{#navbar}}
67-
<a href="#{{ revision }}:{{ path }}">{{ name }}</a>
68-
{{/navbar}}
69-
</nav>
70-
</h2>
71-
72-
<table>
73-
<tbody>
74-
{{#lines}}
75-
<tr class="{{covered}}">
76-
<td>{{ nb }}</td>
77-
<td>
78-
<pre class="language-{{ language }}"><code>{{ line }}</code></pre>
79-
</td>
80-
</tr>
81-
{{/lines}}
82-
</tbody>
83-
</table>
84-
85-
</div>
86-
</script>
87-
88-
<script id="browser" type="x-tmpl-mustache">
89-
<div class="directory">
90-
<h2>
91-
<nav>
92-
{{#navbar}}
93-
<a href="#{{ revision }}:{{ path }}">{{ name }}</a>
94-
{{/navbar}}
95-
</nav>
96-
<span> : {{ files.length }} files</span>
97-
</h2>
98-
99-
<div class="table">
100-
<div class="header">
101-
<span class="filename">File name</span>
102-
<span>Children</span>
103-
<span>Coverage</span>
104-
</div>
105-
106-
{{#files}}
107-
<div class="row">
108-
<span class="filename"><a href="#{{ revision }}:{{ path }}">{{ file_name }}</a></span>
109-
<span>{{ children }}</span>
110-
<span>{{ coveragePercent }} %</span>
111-
</div>
112-
{{/files}}
113-
</div>
114-
115-
</div>
116-
</script>
117-
118-
<script id="history_point" type="x-tmpl-mustache">
119-
<span>Revision <samp>{{ revision }}</samp> from {{ date }}</span>
120-
</script>
121-
122-
<header>
123-
<div id="menu_browser">
124-
<a href="#zero:">View the zero coverage report</a>
125-
&bull;
126-
<input type="text" id="revision" placeholder="Mercurial revision" </input>
127-
</div>
128-
129-
<div id="menu_zero">
130-
<input type="checkbox" name="third_party" id="third_party" checked="checked"><label for="third_party">Show third-party files</label>
131-
<input type="checkbox" name="headers" id="headers"><label for="headers">Show headers</label>
132-
<input type="checkbox" name="completely_uncovered" id="completely_uncovered"><label for="completely_uncovered">Show completely uncovered files only</label>
133-
<input type="checkbox" name="cpp" id="cpp" checked="checked"><label for="cpp">C/C++</label>
134-
<input type="checkbox" name="js" id="js" checked="checked"><label for="js">JavaScript</label>
135-
<input type="checkbox" name="java" id="java" checked="checked"><label for="java">Java</label>
136-
<input type="checkbox" name="rust" id="rust" checked="checked"><label for="rust">Rust</label>
137-
<select id="last_push">
138-
<option value="all">All</option>
139-
<option value="one_year">0 &lt; 1 year</option>
140-
<option value="two_years">1 &lt; 2 years</option>
141-
<option value="older_than_two_years">Older than 2 years</option>
142-
</select>
143-
</div>
144-
</header>
145-
146-
<main id="main">
147-
<div id="message" class="message loading">Loading...</div>
148-
<div id="history">
149-
<div class="ct-chart"></div>
150-
<div id="history_details">Hover a point to see its details</div>
151-
</div>
152-
<div id="output"></div>
153-
</main>
154-
155-
<footer>
156-
<a href="https://github.com/marco-c/code-coverage-reports/issues/new">Report an issue</a>
157-
<a class="github-button" href="https://github.com/marco-c/code-coverage-reports/fork" data-icon="octicon-repo-forked" data-size="large"
158-
data-show-count="true" aria-label="Fork marco-c/code-coverage-reports on GitHub">Fork</a>
159-
</footer>
11+
<title>The code coverage frontend moved !</title>
16012

161-
</body>
162-
</html>
13+
If you are not redirected automatically, follow the <a href="https://coverage.moz.tools">link to coverage.moz.tools</a>

0 commit comments

Comments
 (0)