aboutsummaryrefslogtreecommitdiff
path: root/html/display_panel/content/display-panel.html
blob: 2ed0c9c0394a81dedcf4e742ebb164a408d5c1ff (plain) (blame)
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
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Display JS Monitoring Panel</title>
<link rel="stylesheet" type="text/css" href="./panel-styles.css"/>

<!-- /**
 * GNU LibreJS - A browser add-on to block nonfree nontrivial JavaScript.
 * *
 * Copyright (C) 2011, 2012, 2014 Loic J. Duros
 * Copyright (C) 2017, 2018 NateN1222 <nathannichols454@gmail.com>
 * Copyright (C) 2018 Ruben Rodriguez <ruben@gnu.org>
 * Copyright (C) 2018 Giorgio Maone <giorgio@maone.net>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see  <http://www.gnu.org/licenses/>.
 *
 */
-->
</head>

<body>
    <div id="header">
        <div class="title-area">
            <div>
                <a class="libre"
                   id="ljs-settings"
                   href="javascript:void"
                   title="LibreJS Whitelist Settings">
                   <h1 class="libre">LibreJS</h1>
                </a>
            </div>
        </div>
        <div id="buttons" class="title-area">
          <div>
              <a target="_blank" href="https://www.gnu.org/software/librejs/"
                 id="librejs-web-link">gnu.org/software/librejs</a>
          </div>
          <div>
              <strong>LibreJS <span id="version"></span></strong>
          </div>
          <button id="complain">Complain to site owner</button>
         	<button id="report-tab">Show this report in a new tab</button>
        </div>
    </div>
    <div id="info">
        <div id="site">
          <h2 class="site">This whole site <span></span></h2>
          <div class="buttons">
            <button class="whitelist" name="*">Whitelist</button>
            <button class="blacklist" name="*">Blacklist</button>
            <button class="forget" name="*">Forget</button>
          </div>
        </div>
        <div id="unknown" class="unknown-js">
          <h2></h2>
          <p id="must-reload">
            LibreJS will decide whether blocking these scripts next time this page is loaded. <button id="reload">Reload it now</button>
          </p>
          <ul>
            <li id="li-template">
                <a class="script-url" href="#"></a>:
                <p class="reason"></p>
                <div class="buttons">
                  <button class="whitelist">Whitelist</button>
                  <button class="blacklist">Blacklist</button>
                  <button class="forget">Forget</button>
                  <button class="forget" name="*">Forget <span class="domain"></span></button>
                </div>
              </li>
          </ul>
        </div>
        <div id="whitelisted" class="accepted-js">
            <h2></h2>
            <ul></ul>
        </div>
        <div id="accepted" class="accepted-js">
            <h2></h2>
            <ul></ul>
        </div>
        <div id="blocked" class="blocked-js">
            <h2></h2>
            <ul></ul>
        </div>
        <div id="blacklisted" class="blocked-js">
            <h2></h2>
            <ul></ul>
        </div>
    </div>
</body>
<script src="main_panel.js"></script>
</html>