aboutsummaryrefslogtreecommitdiff
path: root/html/display_panel/content
diff options
context:
space:
mode:
authorNateN1222 <nathannichols454@gmail.com>2017-10-22 11:03:01 -0500
committerNateN1222 <nathannichols454@gmail.com>2017-10-22 11:03:01 -0500
commitb0d5c049d41d9b92937306021ff7ea4bdd3f9f8b (patch)
treeecedf43dfcfd73dbca2079739471e273020f39c3 /html/display_panel/content
parente2616cec722d22034159c8891682bd986989fd6f (diff)
removed debug buttons from blocked scripts display screen
Diffstat (limited to 'html/display_panel/content')
-rw-r--r--html/display_panel/content/display-panel.html2
-rw-r--r--html/display_panel/content/main_panel.js6
-rw-r--r--html/display_panel/content/panel-styles.css3
3 files changed, 5 insertions, 6 deletions
diff --git a/html/display_panel/content/display-panel.html b/html/display_panel/content/display-panel.html
index 8a456c8..5f5ed18 100644
--- a/html/display_panel/content/display-panel.html
+++ b/html/display_panel/content/display-panel.html
@@ -48,7 +48,7 @@
</div>
</div>
<div id="buttons" style="display:inline;" class="title-area">
- <table id="buttons_table">
+ <table id="buttons_table" style="width: 80px;">
</table>
</div>
<div id="info">
diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js
index fddc3a6..d58db8a 100644
--- a/html/display_panel/content/main_panel.js
+++ b/html/display_panel/content/main_panel.js
@@ -99,7 +99,7 @@ function write_elements(data,name,color){
console.log("Forget preferences for script " + temp[0]);
var script_name = this.parentElement.parentElement.parentElement.parentElement.id;
if(this.parentElement.parentElement.innerHTML.indexOf("Refresh the page") == -1){
- this.parentElement.parentElement.getElementsByTagName("b")[0].insertAdjacentHTML("beforebegin","<h3>Refresh the page to revaluate this script.</h3>");
+ //this.parentElement.parentElement.getElementsByTagName("b")[0].insertAdjacentHTML("beforebegin","<h3>Refresh the page to revaluate this script.</h3>");
myPort.postMessage({"forget": temp});
}
});
@@ -213,5 +213,5 @@ function delete_local_storage(){
myPort.postMessage({"deletelocalstorage":true});
}
-new_debug_button("Print local storage",print_local_storage);
-new_debug_button("Clear local storage",delete_local_storage);
+//new_debug_button("Print local storage",print_local_storage);
+//new_debug_button("Clear local storage",delete_local_storage);
diff --git a/html/display_panel/content/panel-styles.css b/html/display_panel/content/panel-styles.css
index 802c7f9..01d2696 100644
--- a/html/display_panel/content/panel-styles.css
+++ b/html/display_panel/content/panel-styles.css
@@ -32,7 +32,6 @@ body {
overflow-y:visible;
color:#000;
}
-
.libre {
width:230px;
height:104px;
@@ -106,7 +105,7 @@ ul.blocked-js ul li, ul.accepted-js ul li, ul.dryrun-js ul li {
cursor: pointer;
text-align: center;
text-decoration: none;
- font: 14px/100% Arial, Helvetica, sans-serif;
+ font: 10px/100% Arial, Helvetica, sans-serif;
padding: .5em 2em .55em;
border-radius: .5em;
}