/usr/share/ntop/html/theme.js is in ntop-data 3:5.0.1+dfsg1-2.2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // directory of where all the images are
var cmThemeOfficeBase = '/';
var cmThemeOffice =
{
// main menu display attributes
//
// Note. When the menu bar is horizontal,
// mainFolderLeft and mainFolderRight are
// put in <span></span>. When the menu
// bar is vertical, they would be put in
// a separate TD cell.
// HTML code to the left of the folder item
mainFolderLeft: ' ',
// HTML code to the right of the folder item
mainFolderRight: ' ',
// HTML code to the left of the regular item
mainItemLeft: ' ',
// HTML code to the right of the regular item
mainItemRight: ' ',
// sub menu display attributes
// 0, HTML code to the left of the folder item
folderLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.gif">',
// 1, HTML code to the right of the folder item
folderRight: '<img alt="" src="' + cmThemeOfficeBase + 'arrow.gif">',
// 2, HTML code to the left of the regular item
itemLeft: '<img alt="" src="' + cmThemeOfficeBase + 'spacer.gif">',
// 3, HTML code to the right of the regular item
itemRight: '<img alt="" src="' + cmThemeOfficeBase + 'blank.gif">',
// 4, cell spacing for main menu
mainSpacing: 0,
// 5, cell spacing for sub menus
subSpacing: 0,
// 6, auto dispear time for submenus in milli-seconds
delay: 500
};
// for horizontal menu split
var cmThemeOfficeHSplit = [null, '<td class="ThemeOfficeMenuItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
var cmThemeOfficeMainHSplit = [null, '<td class="ThemeOfficeMainItemLeft"></td><td colspan="2"><div class="ThemeOfficeMenuSplit"></div></td>'];
var cmThemeOfficeMainVSplit = [null, '|'];
|