Revision b7e2870f
Added by koszko about 2 years ago
| html/display-panel.html | ||
|---|---|---|
| 6 | 6 |
<html> |
| 7 | 7 |
<head> |
| 8 | 8 |
<meta charset="utf-8"/> |
| 9 |
<title>Myext popup</title> |
|
| 9 |
<title>Hachette - page settings</title> |
|
| 10 |
<style> |
|
| 11 |
input[type="radio"], input[type="checkbox"] {
|
|
| 12 |
display: none; |
|
| 13 |
} |
|
| 14 |
|
|
| 15 |
body {
|
|
| 16 |
width: 300px; |
|
| 17 |
height: 300px; |
|
| 18 |
} |
|
| 19 |
|
|
| 20 |
.show_next:not(:checked)+* {
|
|
| 21 |
display: none; |
|
| 22 |
} |
|
| 23 |
|
|
| 24 |
.hide {
|
|
| 25 |
display: none; |
|
| 26 |
} |
|
| 27 |
|
|
| 28 |
#possible_patterns_chbx:not(:checked)+label span#triangle:first-child+span, |
|
| 29 |
#possible_patterns_chbx:not(:checked)+label+*, |
|
| 30 |
#possible_patterns_chbx:checked+label span#triangle:first-child {
|
|
| 31 |
display: none; |
|
| 32 |
} |
|
| 33 |
|
|
| 34 |
#container_for_injected>#none_injected:not(:last-child) {
|
|
| 35 |
display: none; |
|
| 36 |
} |
|
| 37 |
|
|
| 38 |
input#connected_chbx:checked+div+h3 {
|
|
| 39 |
display: none; |
|
| 40 |
} |
|
| 41 |
</style> |
|
| 10 | 42 |
</head> |
| 11 | 43 |
<body> |
| 12 |
<button id="settings_but" type="button">Settings</button>_POPUPSCRIPTS_ |
|
| 44 |
<!-- The invisible div below is for elements that will be cloned. --> |
|
| 45 |
<div class="hide"> |
|
| 46 |
<li id="pattern_li_template"> |
|
| 47 |
<span></span> |
|
| 48 |
<button>View in settings</button> |
|
| 49 |
</li> |
|
| 50 |
</div> |
|
| 51 |
|
|
| 52 |
<h2 id="page_url_heading"></h2> |
|
| 53 |
|
|
| 54 |
<input id="show_privileged_notice_chbx" type="checkbox" class="show_next"></input> |
|
| 55 |
<h3>Privileged page</h3> |
|
| 56 |
|
|
| 57 |
<input id="show_page_state_chbx" type="checkbox" class="show_next"></input> |
|
| 58 |
<div> |
|
| 59 |
<input id="possible_patterns_chbx" type="checkbox"></input> |
|
| 60 |
<label for="possible_patterns_chbx"> |
|
| 61 |
<h3> |
|
| 62 |
<span id="triangle">⏵</span><span>⏷</span> |
|
| 63 |
Possible patterns |
|
| 64 |
</h3> |
|
| 65 |
</label> |
|
| 66 |
<ul id="possible_patterns"></ul> |
|
| 67 |
|
|
| 68 |
<input id="connected_chbx" type="checkbox" class="show_next"></input> |
|
| 69 |
<div> |
|
| 70 |
<h3> |
|
| 71 |
Matched pattern: <span id="pattern">...</span> |
|
| 72 |
<button id="view_pattern" class="hide"> |
|
| 73 |
View in settings |
|
| 74 |
</button> |
|
| 75 |
</h3> |
|
| 76 |
<h3> |
|
| 77 |
Blocked: <span id="blocked">...</span> |
|
| 78 |
</h3> |
|
| 79 |
<h3> |
|
| 80 |
Payload: <span id="payload">...</span> |
|
| 81 |
<button id="view_payload" class="hide"> |
|
| 82 |
View in settings |
|
| 83 |
</button> |
|
| 84 |
</h3> |
|
| 85 |
<h3>Injected</h3> |
|
| 86 |
<div id="container_for_injected"> |
|
| 87 |
<span id="none_injected">None</span> |
|
| 88 |
</div> |
|
| 89 |
</div> |
|
| 90 |
<h3>Trying to connect..<input id="loading_chbx" type="checkbox" class="show_next"></input><span>.</span></h3> |
|
| 91 |
</div> |
|
| 92 |
|
|
| 93 |
<button id="settings_but" type="button" style="margin-top: 20px;">Settings</button>_POPUPSCRIPTS_ |
|
| 13 | 94 |
</body> |
| 14 | 95 |
</html> |
Also available in: Unified diff
show some settings of the current page in the popup