-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyaspeller_report.html
203 lines (164 loc) · 2.82 KB
/
yaspeller_report.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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>yaspeller report</title>
<style>html,
body
{
font-family: Arial, sans-serif;
font-size: 1em;
}
body.show-only-errors_checked .ok
{
display: none;
}
body.show-only-errors_checked .sym-ok-group
{
opacity: .2;
}
.page
{
padding: 20px 70px 30px 50px;
}
.word
{
padding: .1em .2em;
border-radius: 3px;
background-color: rgba(0, 0, 0, .05);
}
.table
{
font-size: .9em;
width: 100%;
margin-left: 2em;
table-layout: fixed;
border-spacing: 0 0;
border-collapse: collapse;
}
.table th
{
font-weight: bold;
text-align: center;
}
.table th,
.table td
{
padding: .3em;
}
.table tr:nth-child(2n)
{
background-color: #fcfcfc;
}
.table tr:hover
{
background-color: #f0f0f0;
}
.table caption
{
font-size: 1.2em;
font-weight: bold;
margin-top: 1em;
margin-bottom: .5em;
text-align: left;
}
.table td,
.table th
{
padding: 6px 13px;
text-align: left;
border: 1px solid #ddd;
}
.table .table-num
{
width: 2em;
text-align: right;
}
.table .table-line
{
width: 4em;
}
.table sup.table-count
{
margin-left: 3px;
font-size: 0.8em;
}
.syserr,
.err,
.ok
{
margin-top: 2.5em;
}
.syserr
{
color: red;
}
.sym-err,
.num-err
{
color: red;
}
.num-ok,
.sym-ok
{
color: green;
}
.sym-ok,
.sym-err
{
font-weight: bold;
display: inline-block;
width: 1em;
}
.letters-en
{
color: red;
}
.letters-ru
{
color: green;
}
.time
{
font-size: .8em;
margin-left: .5em;
color: #999;
}
a:not([href]),
a:not([href]):hover
{
color: black;
}
</style>
</head>
<body class="show-only-errors_checked">
<div class="page"><div class="total">Processed resources: 0 (<span class="sym-err">χ</span>– 0</span>, <span class="sym-ok-group"><span class="sym-ok">✓</span>– 0</span>) <label><input class="show-only-errors" autocomplete="off" checked="checked" type="checkbox" /> Only errors</label><br/>Checking finished: 0.367 sec.</div></div>
<script>'use strict';
var App = {
init: function() {
this.events();
this.fixFileProtocol();
},
fixFileProtocol: function() {
if (window.location.protocol === 'file:') {
return;
}
var links = document.querySelectorAll('.page a');
for (var i = 0, len = links.length; i < len; i++) {
var link = links[i];
if (link.href.search(/^file:/) !== -1) {
link.removeAttribute('href');
}
}
},
events: function() {
var ef = document.querySelector('.show-only-errors');
ef && ef.addEventListener('click', function() {
document.body.classList.toggle('show-only-errors_checked');
}, false);
}
};
App.init();
</script>
</body>
</html>