1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-09 12:22:33 +01:00
uBlock/stats.html

124 lines
2.5 KiB
HTML
Raw Normal View History

2014-07-02 18:02:29 +02:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>µBlock — Statistics</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
<style>
div {
margin: 1em 0;
}
ul {
list-style-type: none;
}
#refresh {
margin: 0 0.5em 0 4px;
display: inline-block;
vertical-align: middle;
font-size: 2em;
cursor: pointer;
}
select {
padding: 2px 0;
font-size: 14px;
2014-07-07 03:52:16 +02:00
min-width: 20em;
max-width: 40em;
}
select option {
max-width: 40em;
2014-07-02 18:02:29 +02:00
}
2014-07-07 01:14:32 +02:00
#requests {
margin: 2em 0 0 0;
display: none;
}
#requests.logEnabled {
display: block;
}
2014-07-07 03:52:16 +02:00
#requests table {
2014-07-02 18:02:29 +02:00
margin: 1em 0;
border: 0;
2014-07-02 18:02:29 +02:00
border-collapse: collapse;
min-width: 600px;
}
2014-07-07 03:52:16 +02:00
#requests.empty table {
display: none;
}
tr td, tr th {
2014-07-02 18:02:29 +02:00
border: 1px solid #aaa;
padding: 4px 6px;
2014-07-02 18:02:29 +02:00
white-space: pre;
}
tr.domainHeader td {
font: 16px sans-serif;
2014-07-02 18:02:29 +02:00
}
tr.domainHeader td span {
margin-right: 0.5em;
font-size: 14px;
color: #aaa;
cursor: pointer;
2014-07-07 01:14:32 +02:00
}
tr.requestEntry {
font: 12px monospace;
}
tr.requestEntry td:nth-of-type(1) {
border: 0;
background-color: white;
width: 3em;
}
tr.requestEntry td:nth-of-type(2) {
text-align: right;
2014-07-03 00:54:25 +02:00
}
2014-07-07 01:14:32 +02:00
tr.logBlocked {
background-color: #fff8f8;
}
tr.logBlocked ~ tr td:nth-of-type(3) b {
2014-07-02 22:52:57 +02:00
padding: 2px 0;
2014-07-03 00:54:25 +02:00
color: #000;
2014-07-07 01:14:32 +02:00
background-color: rgba(255,0,0,0.1);
2014-07-02 22:52:57 +02:00
}
2014-07-07 01:14:32 +02:00
tr.logAllowed {
2014-10-02 22:45:26 +02:00
background-color: #f8fff8
2014-07-02 18:02:29 +02:00
}
2014-07-07 01:14:32 +02:00
tr.logAllowed ~ tr td:nth-of-type(3) b {
padding: 2px 0;
color: #000;
background-color: rgba(0,255,0,0.2);
2014-07-02 18:02:29 +02:00
}
2014-10-02 22:45:26 +02:00
tr.logMirrored {
background-color: #ffffbb !important;
}
2014-07-02 18:02:29 +02:00
</style>
</head>
<body>
<ul>
2014-10-07 13:25:09 +02:00
<li><input id="logRequests" type="checkbox" data-range="bool" /><label data-i18n="logNetRequestsPrompt" for="logRequests"></label>
2014-07-07 01:14:32 +02:00
<button class="whatisthis"></button>
2014-09-14 22:20:40 +02:00
<div class="whatisthis-expandable para" data-i18n="logNetRequestsHelp"></div>
2014-07-02 18:02:29 +02:00
</ul>
2014-07-07 01:14:32 +02:00
<div id="requests">
2014-07-02 18:02:29 +02:00
<span id="refresh" class="fa">&#xf021;</span><select id="pageSelector"></select>
2014-07-07 01:14:32 +02:00
<table>
<tr class="tableHeader">
<th>
2014-07-07 01:14:32 +02:00
<th data-i18n="logRequestsHeaderType">
<th data-i18n="logRequestsHeaderURL">
<th data-i18n="logRequestsHeaderFilter">
2014-07-02 18:02:29 +02:00
</table>
</div>
<script src="js/udom.js"></script>
<script src="js/i18n.js"></script>
<script src="js/dashboard-common.js"></script>
<script src="js/messaging-client.js"></script>
<script src="js/stats.js"></script>
</body>
</html>