From 7dcbbf17c360a48bb1fd1b30815ee4405c4e10d3 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 1 Dec 2020 14:36:50 +0000 Subject: [PATCH] Console: Fix headers on /debug JS: Update license headers patch from idk --- apps/i2psnark/resources/js/delete.js | 1 + apps/i2psnark/resources/js/folder.js | 1 + apps/i2ptunnel/jsp/js/delete.js | 1 + apps/i2ptunnel/jsp/js/tableSlider.js | 1 + apps/susidns/src/js/messages.js | 3 ++- apps/susimail/src/js/compose.js | 1 + apps/susimail/src/js/folder.js | 1 + apps/susimail/src/js/notifications.js | 1 + installer/resources/themes/console/light/console.css | 9 --------- 9 files changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/i2psnark/resources/js/delete.js b/apps/i2psnark/resources/js/delete.js index 3b7c319075..b48736f50e 100644 --- a/apps/i2psnark/resources/js/delete.js +++ b/apps/i2psnark/resources/js/delete.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ function initDelete() { diff --git a/apps/i2psnark/resources/js/folder.js b/apps/i2psnark/resources/js/folder.js index 5f51efb996..0fe1351aa1 100644 --- a/apps/i2psnark/resources/js/folder.js +++ b/apps/i2psnark/resources/js/folder.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ const setupbuttons=()=>{ let sp = document.forms[0].savepri; diff --git a/apps/i2ptunnel/jsp/js/delete.js b/apps/i2ptunnel/jsp/js/delete.js index dc13241bf1..ad8d9ef141 100644 --- a/apps/i2ptunnel/jsp/js/delete.js +++ b/apps/i2ptunnel/jsp/js/delete.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ function initDelete() { diff --git a/apps/i2ptunnel/jsp/js/tableSlider.js b/apps/i2ptunnel/jsp/js/tableSlider.js index c8199b9882..31588c05b1 100644 --- a/apps/i2ptunnel/jsp/js/tableSlider.js +++ b/apps/i2ptunnel/jsp/js/tableSlider.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ function initTables() { diff --git a/apps/susidns/src/js/messages.js b/apps/susidns/src/js/messages.js index dbc8f0edea..713620066c 100644 --- a/apps/susidns/src/js/messages.js +++ b/apps/susidns/src/js/messages.js @@ -1,4 +1,5 @@ -/* #license http://www.jclark.com/xml/copying.txt Expat */ +/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ function HideMessages() { var hideableMessages = document.getElementsByClassName("messages"); diff --git a/apps/susimail/src/js/compose.js b/apps/susimail/src/js/compose.js index b84bf2200c..8bad948298 100644 --- a/apps/susimail/src/js/compose.js +++ b/apps/susimail/src/js/compose.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ let beforePopup = true; window.addEventListener('beforeunload', (e)=>{if (beforePopup) e.returnValue=true;} ); diff --git a/apps/susimail/src/js/folder.js b/apps/susimail/src/js/folder.js index 0cc7dc94b1..8f036599a2 100644 --- a/apps/susimail/src/js/folder.js +++ b/apps/susimail/src/js/folder.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ function initButtons() { var buttons = document.getElementsByClassName("delete1"); diff --git a/apps/susimail/src/js/notifications.js b/apps/susimail/src/js/notifications.js index ea636e90ca..4d176251cc 100644 --- a/apps/susimail/src/js/notifications.js +++ b/apps/susimail/src/js/notifications.js @@ -1,4 +1,5 @@ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ +/* see also licenses/LICENSE-GPLv2.txt */ function initNotifications() { var buttons = document.getElementsByClassName("notifications"); diff --git a/installer/resources/themes/console/light/console.css b/installer/resources/themes/console/light/console.css index d93e1a00fa..110d86beee 100644 --- a/installer/resources/themes/console/light/console.css +++ b/installer/resources/themes/console/light/console.css @@ -6939,7 +6939,6 @@ b.netdb_transport { .debug_container { padding: 10px 15px; - margin-top: -16px; background: linear-gradient(to bottom, #fafaff, rgba(250,250,255,0.3)), repeating-linear-gradient(135deg, rgba(255,255,255,0.5) 2px, rgba(221, 221, 255, 0.3) 3px, #fff 5px) #efefff !important; border: 1px solid #dee2e6; box-shadow: inset 0 0 0 1px #fff; @@ -6962,10 +6961,6 @@ b.netdb_transport { border-width: 1px; } -.main#debug h3 + table { - margin-top: -16px; -} - #debug td { padding-top: 5px; padding-bottom: 5px; @@ -7001,10 +6996,6 @@ b.netdb_transport { margin-bottom: -13px; } -.debug_container:empty+ h3 { - margin-top: -16px !important; -} - .expiry td { padding-left: 3% !important; } -- GitLab