aboutsummaryrefslogtreecommitdiff
path: root/html/display-panel.html
blob: d8d7f5d7b7c23ddcfaae730f4ce787720cc85085 (about) (plain)
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
<!doctype html>
<!--
    Copyright (C) 2021 Wojtek Kosior
    Redistribution terms are gathered in the `copyright' file.
  -->
<html>
  <head>
    <meta charset="utf-8"/>
    <title>Hachette - page settings</title>
    <style>
      input[type="radio"], input[type="checkbox"] {
	  display: none;
      }

      body {
	  width: 300px;
	  height: 300px;
      }

      .show_next:not(:checked)+* {
	  display: none;
      }

      .show_hide_next2:not(:checked)+* {
	  display: none;
      }

      .show_hide_next2:checked+*+* {
	  display: none;
      }

      .hide {
	  display: none;
      }

      #possible_patterns_chbx:not(:checked)+label span#triangle:first-child+span,
      #possible_patterns_chbx:not(:checked)+label+*,
      #possible_patterns_chbx:checked+label span#triangle:first-child {
	  display: none;
      }

      #container_for_injected>#none_injected:not(:last-child) {
	  display: none;
      }
    </style>
  </head>
  <body>
    <!-- The invisible div below is for elements that will be cloned. -->
    <div class="hide">
      <li id="pattern_li_template">
	<span></span>
	<button>View in settings</button>
      </li>
    </div>

    <h2 id="page_url_heading"></h2>

    <input id="show_privileged_notice_chbx" type="checkbox" class="show_next"></input>
    <h3>Privileged page</h3>

    <input id="show_page_state_chbx" type="checkbox" class="show_next"></input>
    <div>
      <input id="possible_patterns_chbx" type="checkbox"></input>
      <label for="possible_patterns_chbx">
	<h3>
	  <span id="triangle">&#x23F5;</span><span>&#x23F7;</span>
	  Possible patterns
	</h3>
      </label>
      <ul id="possible_patterns"></ul>

      <input id="connected_chbx" type="checkbox" class="show_hide_next2"></input>
      <div>
	<h3>
	  Matched pattern: <span id="pattern">...</span>
	  <button id="view_pattern" class="hide">
	    View in settings
	  </button>
	  <input id="query_started_chbx" type="checkbox" class="show_hide_next2"></input>
	  <div id="container_for_repo_responses">
	    <h3>Queried from repositories</h3>
	  </div>
	  <button id="query_pattern">
	    Search for matching patterns
	  </button>
	</h3>
	<h3>
	  Blocked: <span id="blocked">...</span>
	</h3>
	<h3>
	  Payload: <span id="payload">...</span>
	  <button id="view_payload" class="hide">
	    View in settings
	  </button>
	</h3>
	<h3>Injected</h3>
	<div id="container_for_injected">
	  <span id="none_injected">None</span>
	</div>
      </div>
      <h3>Trying to connect..<input id="loading_chbx" type="checkbox" class="show_next"></input><span>.</span></h3>
    </div>

    <button id="settings_but" type="button" style="margin-top: 20px;">Settings</button>_POPUPSCRIPTS_
  </body>
</html>