If you want to delete a tab, you can use this script
Copy this code:
try {
var container = $('.rack').children('tbody');
var first_value = $(container).children('tr:nth(0)');
$(first_value).children('th:nth(2)').remove();
var last_value = $(container).children('tr:last');
$(last_value).children('th:nth(2)').remove();
var current = container[0].childNodes;
$(container).children().each(function () {
$(this).children('td:nth(1)').remove();
});
}
catch (err) {
console.log(err);
}
Now you can paste it into your console, for a one-time use
if you want to constantly and automatically use this script, then you will inevitably do the following:
-
connect via ssh to your server, or if it is local then just go to the folder with the site.
-
or you do not have a** local server**, then find the directory where racktables was installed
-
in the js folder of the wwwroot directory, find the racktables.js script
-
Paste the code below at the end of the file and save it
-
Ready
window.onload = function () {
try {
var container = $('.rack').children('tbody');
var first_value = $(container).children('tr:nth(0)');
$(first_value).children('th:nth(2)').remove();
var last_value = $(container).children('tr:last');
$(last_value).children('th:nth(2)').remove();
var current = container[0].childNodes;
$(container).children().each(function () {
$(this).children('td:nth(1)').remove();
});
}
catch (err) {
console.log(err);
}
}