Console: Fix headers on /debug

JS: Update license headers
patch from idk
This commit is contained in:
zzz
2020-12-01 14:36:50 +00:00
parent 5551deb246
commit 7dcbbf17c3
9 changed files with 9 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
function initDelete() function initDelete()
{ {

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
const setupbuttons=()=>{ const setupbuttons=()=>{
let sp = document.forms[0].savepri; let sp = document.forms[0].savepri;

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
function initDelete() function initDelete()
{ {

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
function initTables() { function initTables() {

View File

@@ -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() { function HideMessages() {
var hideableMessages = document.getElementsByClassName("messages"); var hideableMessages = document.getElementsByClassName("messages");

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
let beforePopup = true; let beforePopup = true;
window.addEventListener('beforeunload', (e)=>{if (beforePopup) e.returnValue=true;} ); window.addEventListener('beforeunload', (e)=>{if (beforePopup) e.returnValue=true;} );

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
function initButtons() { function initButtons() {
var buttons = document.getElementsByClassName("delete1"); var buttons = document.getElementsByClassName("delete1");

View File

@@ -1,4 +1,5 @@
/* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */ /* @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 */
/* see also licenses/LICENSE-GPLv2.txt */
function initNotifications() { function initNotifications() {
var buttons = document.getElementsByClassName("notifications"); var buttons = document.getElementsByClassName("notifications");

View File

@@ -6939,7 +6939,6 @@ b.netdb_transport {
.debug_container { .debug_container {
padding: 10px 15px; 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; 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; border: 1px solid #dee2e6;
box-shadow: inset 0 0 0 1px #fff; box-shadow: inset 0 0 0 1px #fff;
@@ -6962,10 +6961,6 @@ b.netdb_transport {
border-width: 1px; border-width: 1px;
} }
.main#debug h3 + table {
margin-top: -16px;
}
#debug td { #debug td {
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
@@ -7001,10 +6996,6 @@ b.netdb_transport {
margin-bottom: -13px; margin-bottom: -13px;
} }
.debug_container:empty+ h3 {
margin-top: -16px !important;
}
.expiry td { .expiry td {
padding-left: 3% !important; padding-left: 3% !important;
} }