diff --git a/auth_profile.php b/auth_profile.php
index c31c620201..6c5c01688f 100644
--- a/auth_profile.php
+++ b/auth_profile.php
@@ -423,7 +423,7 @@ function settings() {
foreach ($settings_user as $tab_short_name => $tab_fields) {
$collapsible = true;
- print "
";
+ print "";
$form_array = array();
diff --git a/automation_snmp.php b/automation_snmp.php
index c23de21839..91432c420f 100644
--- a/automation_snmp.php
+++ b/automation_snmp.php
@@ -799,19 +799,19 @@ function automation_snmp_edit() {
if (read_config_option('drag_and_drop') == '') {
if ($i < $total_items && $total_items > 1) {
- $form_data .= ' ';
+ $form_data .= ' ';
} else {
$form_data .= ' ';
}
if ($i > 1 && $i <= $total_items) {
- $form_data .= ' ';
+ $form_data .= ' ';
} else {
$form_data .= ' ';
}
}
- $form_data .= ' ';
+ $form_data .= ' ';
$form_data .= '';
print $form_data;
diff --git a/automation_templates.php b/automation_templates.php
index 7e834f9381..c3273c4c9c 100644
--- a/automation_templates.php
+++ b/automation_templates.php
@@ -1177,19 +1177,19 @@ function template_edit() {
$action = '';
if (!$dnd) {
if ($i != cacti_sizeof($graph_rules) - 1) {
- $action .= ' ';
+ $action .= ' ';
} else {
$action .= ' ';
}
if ($i > 0) {
- $action .= ' ';
+ $action .= ' ';
} else {
$action .= ' ';
}
}
- form_selectable_cell("$action ", $id, '40', 'right');
+ form_selectable_cell("$action ", $id, '40', 'right');
form_end_row();
@@ -1287,19 +1287,19 @@ function template_edit() {
$action = '';
if (!$dnd) {
if ($i != cacti_sizeof($tree_rules) - 1) {
- $action .= ' ';
+ $action .= ' ';
} else {
$action .= ' ';
}
if ($i > 0) {
- $action .= ' ';
+ $action .= ' ';
} else {
$action .= ' ';
}
}
- form_selectable_cell("$action ", $id, '40', 'right');
+ form_selectable_cell("$action ", $id, '40', 'right');
form_end_row();
@@ -1368,7 +1368,7 @@ function template_edit() {
form_selectable_ecell($rule['name'], $id);
- form_selectable_cell("$action ", $id, '40', 'right');
+ form_selectable_cell("$action ", $id, '40', 'right');
form_end_row();
}
@@ -1645,13 +1645,13 @@ function template() {
$add_text = '';
if ($i < $total_items && $total_items > 1) {
- $add_text .= ' ';
+ $add_text .= ' ';
} else {
$add_text .= ' ';
}
if ($i > 1 && $i <= $total_items) {
- $add_text .= ' ';
+ $add_text .= ' ';
} else {
$add_text .= ' ';
}
diff --git a/cdef.php b/cdef.php
index da5e5d24e4..edafdbe13f 100644
--- a/cdef.php
+++ b/cdef.php
@@ -609,19 +609,19 @@ function cdef_edit() {
if (read_config_option('drag_and_drop') == '') {
if ($i < $total_items && $total_items > 0) {
- $actions .= ' ';
+ $actions .= ' ';
} else {
$actions .= ' ';
}
if ($i > 1 && $i <= $total_items) {
- $actions .= ' ';
+ $actions .= ' ';
} else {
$actions .= ' ';
}
}
- $actions .= " ";
+ $actions .= " ";
form_selectable_cell($actions, $cdef_item['id'], '', 'right');
diff --git a/changelog.php b/changelog.php
index cb8d0c1a1c..a7624d356d 100644
--- a/changelog.php
+++ b/changelog.php
@@ -168,22 +168,22 @@ function changelog_view() {
switch ($type) {
case 'issue':
- $icon = ' ';
+ $icon = ' ';
break;
case 'feature':
- $icon = ' ';
+ $icon = ' ';
$highlight = true;
break;
case ' security':
- $icon = ' ';
+ $icon = ' ';
$highlight = true;
break;
default:
- $icon = ' ';
+ $icon = ' ';
break;
}
diff --git a/color_templates.php b/color_templates.php
index 63e29b7187..938740db21 100644
--- a/color_templates.php
+++ b/color_templates.php
@@ -152,19 +152,19 @@ function draw_color_template_items_list($item_list, $filename, $url_data, $disab
if (read_config_option('drag_and_drop') == '') {
if ($i < $total_items && $total_items > 1) {
- print ' ';
+ print ' ';
} else {
print ' ';
}
if ($i > 1 && $i <= $total_items) {
- print ' ';
+ print ' ';
} else {
print ' ';
}
}
- print " ";
+ print " ";
print "\n";
}
diff --git a/data_debug.php b/data_debug.php
index 4ace4114f2..867bac3dc7 100644
--- a/data_debug.php
+++ b/data_debug.php
@@ -764,9 +764,9 @@ function debug_view() {
$debug_status = debug_process_status($id);
if ($debug_status == 'waiting') {
- html_start_box(__('Data Source Troubleshooter [ Auto Refreshing till Complete ] %s', ' '), '100%', '', '3', 'center', '');
+ html_start_box(__('Data Source Troubleshooter [ Auto Refreshing till Complete ] %s', ' '), '100%', '', '3', 'center', '');
} elseif ($debug_status == 'analysis') {
- html_start_box(__('Data Source Troubleshooter [ Auto Refreshing till RRDfile Update ] %s', ' '), '100%', '', '3', 'center', '');
+ html_start_box(__('Data Source Troubleshooter [ Auto Refreshing till RRDfile Update ] %s', ' '), '100%', '', '3', 'center', '');
} else {
html_start_box(__('Data Source Troubleshooter [ Analysis Complete! %s ]', '' . __('Rerun Analysis') . ' '), '100%', '', '3', 'center', '');
}
@@ -911,48 +911,48 @@ function debug_view() {
function debug_icon_valid_result($result) {
if ($result === '' || $result === false) {
- return ' ';
+ return ' ';
}
if ($result === '-') {
- return ' ';
+ return ' ';
}
if (is_array($result)) {
foreach ($result as $variable => $value) {
if (!prepare_validate_result($value)) {
- return ' ';
+ return ' ';
}
}
- return ' ';
+ return ' ';
}
if (prepare_validate_result($result)) {
- return ' ';
+ return ' ';
} else {
- return ' ';
+ return ' ';
}
}
function debug_icon($result) {
if ($result === '' || $result === false) {
- return ' ';
+ return ' ';
}
if ($result === '-') {
- return ' ';
+ return ' ';
}
if ($result === 1 || $result === 'on') {
- return ' ';
+ return ' ';
}
if ($result === 0 || $result === 'off') {
- return ' ';
+ return ' ';
}
- return ' ';
+ return ' ';
}
function create_filter() {
diff --git a/data_input.php b/data_input.php
index 5b614a0343..219e301124 100644
--- a/data_input.php
+++ b/data_input.php
@@ -613,7 +613,7 @@ function data_edit() {
form_selectable_cell($field['sequence'], $i);
- form_selectable_cell(" ", $i, '', 'right');
+ form_selectable_cell(" ", $i, '', 'right');
form_end_row();
@@ -657,11 +657,11 @@ function data_edit() {
form_selectable_cell(html_boolean_friendly($field['update_rra']), $i);
if ($output_disabled) {
- form_selectable_cell(" ", $i);
+ form_selectable_cell(" ", $i);
} else {
$url = html_escape('data_input.php?action=field_remove_confirm&id=' . $field['id'] . '&data_input_id=' . get_request_var('id'));
- form_selectable_cell(" ", $id, '', 'right');
+ form_selectable_cell(" ", $id, '', 'right');
}
form_end_row();
diff --git a/data_queries.php b/data_queries.php
index 6a1f3971d4..42b475bf20 100644
--- a/data_queries.php
+++ b/data_queries.php
@@ -808,12 +808,12 @@ function assignDataQueryGraphName(init) {
- ' href=''>
+ ' href=''>
- ' href=''>
+ ' href=''>
@@ -822,7 +822,7 @@ function assignDataQueryGraphName(init) {
- ' href=''>
+ ' href=''>
- ' href=''>
+ ' href=''>
- ' href=''>
+ ' href=''>
@@ -930,7 +930,7 @@ function assignDataQueryGraphName(init) {
- ' href=''>
+ ' href=''>
", $i, '', 'right');
+ form_selectable_cell("", $i, '', 'right');
} else {
- form_selectable_cell(" ", $i, '', 'right');
+ form_selectable_cell(" ", $i, '', 'right');
}
form_end_row();
diff --git a/data_source_profiles.php b/data_source_profiles.php
index bad593abfb..cd410ad97d 100644
--- a/data_source_profiles.php
+++ b/data_source_profiles.php
@@ -1132,7 +1132,7 @@ function profile_edit() {
form_selectable_cell('' . $rra['rows'] . ' ', $i);
if (!$readonly) {
- form_selectable_cell(" ", $i, '', 'right');
+ form_selectable_cell(" ", $i, '', 'right');
} else {
form_selectable_cell('', $i, '', 'right');
}
diff --git a/data_sources.php b/data_sources.php
index 3bca1084b6..e4c75eb52c 100644
--- a/data_sources.php
+++ b/data_sources.php
@@ -1085,7 +1085,7 @@ function ds_edit() {
foreach ($template_data_rrds as $template_data_rrd) {
$i++;
print '
-
+
';
print " ";
}
diff --git a/data_templates.php b/data_templates.php
index 528094b562..d8a21f7777 100644
--- a/data_templates.php
+++ b/data_templates.php
@@ -780,7 +780,7 @@ function template_edit() {
print "");
+ $('body').append("
");
$.get('graphs.php?action=unlock&id='+$('#local_graph_id').val())
.done(function(data) {
diff --git a/graphs_new.php b/graphs_new.php
index 01251cc087..6e0097586d 100644
--- a/graphs_new.php
+++ b/graphs_new.php
@@ -370,12 +370,12 @@ function create_filter($host, $snmp_queries) {
array(
'display' => __('Edit this Device'),
'url' => 'host.php?action=edit&id=' . get_request_var('host_id'),
- 'class' => 'fa fa-wrench newDevice'
+ 'class' => 'ti ti-tool newDevice'
),
array(
'display' => __('Create New Device'),
'url' => 'host.php?action=edit',
- 'class' => 'fa fa-server editDevice'
+ 'class' => 'ti ti-device-cog editDevice'
),
)
);
@@ -735,7 +735,7 @@ function graphs() {
" . __esc('Data Query [%s]', $snmp_query['name']) . "
-
+
";
diff --git a/host.php b/host.php
index 039dfd0683..1e8be7078a 100644
--- a/host.php
+++ b/host.php
@@ -725,42 +725,42 @@ function create_host_edit_filter($host, $content = '') {
array(
'display' => __('Create New Device'),
'url' => 'host.php?action=edit',
- 'class' => 'fa fa-server newDevice'
+ 'class' => 'ti ti-devices-plus newDevice'
),
array(
'display' => __('Create New Graphs'),
'url' => 'graphs_new.php?reset=true&host_id=' . $host['id'],
- 'class' => 'fa fa-chart-line newGraph'
+ 'class' => 'ti ti-chart-area-line-filled newGraph'
),
array(
'display' => __('Re-Index Device'),
'url' => 'host.php?action=reindex&host_id=' . $host['id'],
- 'class' => 'fa fa-sync reindexDevice'
+ 'class' => 'ti ti-refresh reindexDevice'
),
array(
'display' => ($debug ? __('Disable Device Debug'):__('Enable Device Debug')),
'url' => 'host.php?action=' . ($debug ? 'disable_debug':'enable_debug') . '&host_id=' . $host['id'],
- 'class' => ($debug ? 'fa fa-bug disableDebug':'fa fa-bug enableDebug')
+ 'class' => ($debug ? 'ti ti-bug disableDebug':'ti ti-bug enableDebug')
),
array(
'display' => __('Repopulate Poller Cache'),
'url' => 'host.php?action=repopulate&host_id=' . $host['id'],
- 'class' => 'fa fa-hammer repopulateCache'
+ 'class' => 'ti ti-hammer repopulateCache'
),
array(
'display' => __('View Poller Cache'),
'url' => 'utilities.php?poller_action=-1&action=view_poller_cache&host_id=' . $host['id'] . '&template_id=-1&filter=&rows=-1',
- 'class' => 'fa fa-search-plus viewCache'
+ 'class' => 'ti ti-list-search viewCache'
),
array(
'display' => __('View Data Source List'),
'url' => 'data_sources.php?reset=true&host_id=' . $host['id'] . '&ds_rows=30&filter=&template_id=-1&method_id=-1&page=1',
- 'class' => 'fa fa-th-large viewSources'
+ 'class' => 'ti ti-brand-databricks viewSources'
),
array(
'display' => __('View Graphs List'),
'url' => 'graphs.php?reset=true&host_id=' . $host['id'] . '&graph_rows=30&filter=&template_id=-1&page=1',
- 'class' => 'fa fa-th-large viewGraphs'
+ 'class' => 'ti ti-graph-filled viewGraphs'
),
)
);
@@ -799,7 +799,7 @@ function create_host_edit_filter($host, $content = '') {
$filters['links'][] = array(
'display' => $name,
'url' => $href,
- 'class' => 'fa fa-plug'
+ 'class' => 'ti ti-plug'
);
}
}
@@ -838,7 +838,7 @@ function host_edit() {
if (cacti_sizeof($host)) {
$content = "";
- $content .= "
" . __('Contacting Device') . "
";
+ $content .= "
" . __('Contacting Device') . "
";
$content .= "
";
$filters = create_host_edit_filter($host, $content);
@@ -944,7 +944,7 @@ function host_edit() {
" . __('Is Being Graphed') . " (" . __('Edit') . ' )' : "" . __('Not Being Graphed') . ' '); ?>
- ' class='deletequery fa fa-times' id='gtremove' data-id=''>
+ ' class='deletequery ti ti-x' id='gtremove' data-id=''>
-
+
@@ -1078,9 +1078,9 @@ function host_edit() {
" . __('Success') . '' : "" . __('Fail')) . ' ' . __(' [%d Items, %d Rows]', $item['itemCount'], $item['rowCount']); ?>
- ' title='' data-id=''>
- ' title='' data-id=''>
- ' title='' data-id=''>
+ ' title='' data-id=''>
+ ' title='' data-id=''>
+ ' title='' data-id=''>
' : '');
+ $maint = ($host['maint'] == 1 ? ' ' : '');
form_selectable_cell(filter_value($host['description'], get_request_var('filter'), 'host.php?action=edit&id=' . $host['id']) . $maint, $host['id']);
form_selectable_cell(filter_value($host['hostname'], get_request_var('filter')), $host['id']);
diff --git a/host_templates.php b/host_templates.php
index 759ae8073c..2cb8eabf35 100644
--- a/host_templates.php
+++ b/host_templates.php
@@ -614,7 +614,7 @@ function template_edit() {
)
- ' href=''>
+ ' href=''>
)
- ' href=''>
+ ' href=''>
'fa fa-map',
- __('Create') => 'fa fa-chart-area',
- __('Management') => 'fa fa-home',
- __('Data Collection') => 'fa fa-database',
- __('Templates') => 'fa fa-clone',
- __('Automation') => 'fab fa-superpowers',
- __('Presets') => 'fa fa-archive',
- __('Import/Export') => 'fa fa-exchange-alt',
- __('Configuration') => 'fa fa-sliders-h',
- __('Utilities') => 'fa fa-cogs',
- __('External Links') => 'fa fa-external-link-alt',
- __('Support') => 'fa fa-question-circle',
- __('Troubleshooting') => 'fa fa-bug'
+ __('Main Console') => 'ti ti-map',
+ __('Create') => 'ti ti-chart-area-line',
+ __('Management') => 'ti ti-devices',
+ __('Data Collection') => 'ti ti-affiliate',
+ __('Templates') => 'ti ti-template',
+ __('Automation') => 'ti ti-automation',
+ __('Presets') => 'ti ti-color-swatch',
+ __('Import/Export') => 'ti ti-transfer',
+ __('Configuration') => 'ti ti-adjustments-cog',
+ __('Utilities') => 'ti ti-tools',
+ __('External Links') => 'ti ti-external-link',
+ __('Support') => 'ti ti-help-circle',
+ __('Troubleshooting') => 'ti ti-bug'
);
$device_classes = array(
diff --git a/include/layout.js b/include/layout.js
index b2866a24e3..f5d4109448 100644
--- a/include/layout.js
+++ b/include/layout.js
@@ -71,31 +71,31 @@ var previousMainWidth = null;
var previousColumns = null;
var faIcons = {
open: {
- icon: ' '
+ icon: ' '
},
close: {
- icon: ' '
+ icon: ' '
},
checkAll: {
- icon: ' '
+ icon: ' '
},
uncheckAll: {
- icon: ' '
+ icon: ' '
},
flipAll: {
- icon: ' '
+ icon: ' '
},
collapseAll: {
- icon: ' '
+ icon: ' '
},
expandAll: {
- icon: ' '
+ icon: ' '
},
collapse: {
- icon: ' '
+ icon: ' '
},
expand: {
- icon: ' '
+ icon: ' '
}
};
@@ -1053,10 +1053,10 @@ function checkPasswordConfirm() {
if ($('#password_confirm').val().length > 0) {
if ($('#password').val() != $('#password_confirm').val()) {
$('#passconfirm').remove();
- $('#password_confirm').after('
');
+ $('#password_confirm').after('
');
} else {
$('#passconfirm').remove();
- $('#password_confirm').after('
');
+ $('#password_confirm').after('
');
}
} else {
$('#passconfirm').remove();
@@ -1352,12 +1352,12 @@ function markFilterTDs(child, filterNum) {
function finalizeAuthProfileData(options, data) {
if (hScroll) {
$('#main, .cactiConsoleContentArea').css({ 'overflow-x': 'visible' });
- $('#overflow').removeClass('fa-expand').addClass('fa-compress');
+ $('#overflow').removeClass('ti-arrows-diagonal').addClass('ti-arrows-diagonal-minimize-2');
resetTables();
} else {
$('#main, .cactiConsoleContentArea').css({ 'overflow-x': 'hidden' });
- $('#overflow').removeClass('fa-compress').addClass('fa-expand');
+ $('#overflow').removeClass('ti-arrows-diagonal-minimize-2').addClass('ti-arrows-diagonal');
tuneTables();
}
@@ -1380,10 +1380,10 @@ function makeFiltersResponsive() {
if (filterHeader.find('.cactiSwitchConstraints').length == 0) {
if (hScroll) {
$('#main, .cactiConsoleContentArea').css({ 'overflow-x': 'visible' });
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
} else {
$('#main, .cactiConsoleContentArea').css({ 'overflow-x': 'hidden' });
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
}
$('.cactiSwitchConstraints').off('click').on('click', function (event) {
@@ -1408,7 +1408,7 @@ function makeFiltersResponsive() {
if (filterContents.find('#export').length) {
title = $('#export').attr('title');
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
$('.cactiFilterExport').off('click').on('click', function (event) {
event.stopPropagation();
@@ -1418,7 +1418,7 @@ function makeFiltersResponsive() {
if (filterContents.find('#import').length) {
title = $('#import').attr('title');
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
$('.cactiFilterImport').off('click').on('click', function (event) {
event.stopPropagation();
@@ -1428,7 +1428,7 @@ function makeFiltersResponsive() {
if (filterContents.find('#clear').length) {
if (filterHeader.find('.cactiFilterClear').length == 0) {
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
}
$('.cactiFilterClear').off('click').on('click', function(event) {
@@ -1447,11 +1447,11 @@ function makeFiltersResponsive() {
if (state == 'hidden') {
if (filterHeader.find('.cactiFilterState').length == 0) {
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
}
} else {
if (filterHeader.find('.cactiFilterState').length == 0) {
- filterHeader.find('div.cactiTableButton').append(' ');
+ filterHeader.find('div.cactiTableButton').append(' ');
}
}
@@ -1475,8 +1475,8 @@ function makeFiltersResponsive() {
anchors.each(function () {
$(this).attr('title', $(this).text());
});
- anchors.not('.cactiTableCopy').addClass('fa fa-trash-alt');
- anchors.filter('.cactiTableCopy').addClass('fa fa-copy');
+ anchors.not('.cactiTableCopy').addClass('ti ti-trash');
+ anchors.filter('.cactiTableCopy').addClass('ti ti-copy');
anchors.tooltip().text('');
}
});
diff --git a/include/themes/cacti/main.css b/include/themes/cacti/main.css
index f2f4f928e0..5ef60955da 100644
--- a/include/themes/cacti/main.css
+++ b/include/themes/cacti/main.css
@@ -179,6 +179,7 @@ label {
.glyph_tab-console:before {
content: '';
+ display: inline-block;
}
.text_tab-console {
@@ -2239,6 +2240,7 @@ tr#realtime td:first-child {
font-size: 12px;
width: 20px;
vertical-align: 30%;
+ margin-right: 0.3rem;
}
.menuitem span {
diff --git a/include/themes/cacti/main.js b/include/themes/cacti/main.js
index a8fca761f6..7b48db36d6 100644
--- a/include/themes/cacti/main.js
+++ b/include/themes/cacti/main.js
@@ -30,16 +30,16 @@ function themeReady() {
setMenuVisibility();
// Add nice search filter to filters
- if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
}
$('input#filter, input#rfilter').addClass('ui-state-default ui-corner-all');
@@ -49,7 +49,7 @@ function themeReady() {
/* Start clean up */
//login page
- $('.cactiLoginLogo').html(" ").css('font-size: 20px');
+ $('.cactiLoginLogo').html(" ").css('font-size: 20px');
/* clean up the navigation menu */
$('.cactiConsoleNavigationArea').find('#menu').appendTo($('.cactiConsoleNavigationArea').find('#navigation'));
@@ -77,8 +77,8 @@ function themeReady() {
$('.menuHr').remove();
$(''
+'
'
- +' '
- +' '
+ +' '
+ +' '
+' '
+'
').insertAfter('.maintabs');
diff --git a/include/themes/carrot/main.css b/include/themes/carrot/main.css
index 8e302f5779..cac436fd3b 100644
--- a/include/themes/carrot/main.css
+++ b/include/themes/carrot/main.css
@@ -167,8 +167,8 @@ label {
}
.glyph_tab-console:before {
- content: '\f787';
- font-family: "Font Awesome 5 Free";
+ content: '\f21c';
+ display: inline-block;
}
.text_tab-console {
@@ -2253,6 +2253,7 @@ tr#realtime td:first-child {
font-size: 12px;
width: 20px;
vertical-align: 30%;
+ margin-right: 0.3rem;
}
.menuitem span {
diff --git a/include/themes/carrot/main.js b/include/themes/carrot/main.js
index a8fca761f6..7b48db36d6 100644
--- a/include/themes/carrot/main.js
+++ b/include/themes/carrot/main.js
@@ -30,16 +30,16 @@ function themeReady() {
setMenuVisibility();
// Add nice search filter to filters
- if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
}
$('input#filter, input#rfilter').addClass('ui-state-default ui-corner-all');
@@ -49,7 +49,7 @@ function themeReady() {
/* Start clean up */
//login page
- $('.cactiLoginLogo').html(" ").css('font-size: 20px');
+ $('.cactiLoginLogo').html(" ").css('font-size: 20px');
/* clean up the navigation menu */
$('.cactiConsoleNavigationArea').find('#menu').appendTo($('.cactiConsoleNavigationArea').find('#navigation'));
@@ -77,8 +77,8 @@ function themeReady() {
$('.menuHr').remove();
$(''
+'
'
- +' '
- +' '
+ +' '
+ +' '
+' '
+'
').insertAfter('.maintabs');
diff --git a/include/themes/dark/main.css b/include/themes/dark/main.css
index e413484fd6..c819c9e54a 100644
--- a/include/themes/dark/main.css
+++ b/include/themes/dark/main.css
@@ -2200,15 +2200,15 @@ tr th:last-child .checkbox {
margin-right: 10px !important;
}
-.fa-angle-double-up, .fa-angle-double-down {
+.ti-chevrons-up, .ti-chevrons-down {
margin-right: 10px;
}
-.cactiTableButton .fa-plus, .cactiTableButton .fa-question-circle, .cactiTableButton .fa-bars, .cactiTableButton .fa-sort-alpha-down, .cactiTableButton .fa-sort-alpha-up {
+.cactiTableButton .ti-plus, .cactiTableButton .ti-help-circle-filled, .cactiTableButton .ti-menu-2, .cactiTableButton .ti-sort-ascending-letters, .cactiTableButton .ti-sort-descending-letters {
margin-right: 10px;
}
-.fa-compress, .fa-expand {
+.ti-arrows-diagonal-minimize-2, .ti-arrows-diagonal {
margin-right: 10px;
}
@@ -2410,6 +2410,7 @@ tr#realtime td:first-child {
vertical-align: middle;
text-align: left;
width: 24px;
+ margin-right: 0.3rem;
}
.graphDrillDown {
diff --git a/include/themes/dark/main.js b/include/themes/dark/main.js
index 501430dcd5..7ffa6e5221 100644
--- a/include/themes/dark/main.js
+++ b/include/themes/dark/main.js
@@ -31,16 +31,16 @@ function themeReady() {
setMenuVisibility();
// Add nice search filter to filters
- if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
}
$('input#filter, input#rfilter').addClass('ui-state-default ui-corner-all');
diff --git a/include/themes/hollyberry/main.css b/include/themes/hollyberry/main.css
index a4e232ac32..6f279c02fa 100644
--- a/include/themes/hollyberry/main.css
+++ b/include/themes/hollyberry/main.css
@@ -2322,6 +2322,7 @@ tr#realtime td:first-child {
font-size: 12px;
width: 20px;
vertical-align: 30%;
+ margin-right: 0.3rem;
}
.menuitem span {
diff --git a/include/themes/hollyberry/main.js b/include/themes/hollyberry/main.js
index a8fca761f6..7b48db36d6 100644
--- a/include/themes/hollyberry/main.js
+++ b/include/themes/hollyberry/main.js
@@ -30,16 +30,16 @@ function themeReady() {
setMenuVisibility();
// Add nice search filter to filters
- if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filter"]').length > 0 && $('input[id="filter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="fa fa-search filter"]').length < 1) {
- $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"]').next('i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
}
$('input#filter, input#rfilter').addClass('ui-state-default ui-corner-all');
@@ -49,7 +49,7 @@ function themeReady() {
/* Start clean up */
//login page
- $('.cactiLoginLogo').html(" ").css('font-size: 20px');
+ $('.cactiLoginLogo').html(" ").css('font-size: 20px');
/* clean up the navigation menu */
$('.cactiConsoleNavigationArea').find('#menu').appendTo($('.cactiConsoleNavigationArea').find('#navigation'));
@@ -77,8 +77,8 @@ function themeReady() {
$('.menuHr').remove();
$(''
+'
'
- +' '
- +' '
+ +' '
+ +' '
+' '
+'
').insertAfter('.maintabs');
diff --git a/include/themes/midwinter/css/media/compact-landscape.css b/include/themes/midwinter/css/media/compact-landscape.css
index 8e2ad56f8e..cabfa19117 100755
--- a/include/themes/midwinter/css/media/compact-landscape.css
+++ b/include/themes/midwinter/css/media/compact-landscape.css
@@ -179,7 +179,8 @@ html {
}
.navControl {
- padding-right: calc( 0.5rem + 5px);
+ /* padding-right: calc( 0.5rem + 5px); */
+ padding-right: 0.5rem;
}
/* ensure that save buttons stay at the bottom. no solution has been found yet to use grid-area: footer instead */
@@ -193,6 +194,10 @@ html {
padding-right: 0.5rem;
border-top: 1px solid var(--border-color-semilight);
background: var(--background-content);
+
+ & .formRow {
+ display: block;
+ }
}
/* Console Navigation Area */
@@ -349,10 +354,7 @@ html {
.navBox-content {
overflow-y: auto;
- padding: 0;
- & nav {
- padding: 0 1rem;
- }
+ padding: 0 1rem;
}
}
@@ -414,6 +416,27 @@ html {
writing-mode: unset;
}
}
+
+ & .filterColumn:has(div.filterFieldName) {
+ display: none;
+ }
+
+ & .filterRow:has(div.filterColumnButton) {
+ display: flex;
+ flex-direction: column;
+
+ .filterColumnButton {
+ order: 0;
+ }
+ .filterColumn {
+ order: 1;
+ }
+ }
+
+ & .filterColumn {
+ line-height: 1.5rem;
+ }
+
}
#nav li a,
diff --git a/include/themes/midwinter/css/media/compact.css b/include/themes/midwinter/css/media/compact.css
index d3b2f11a45..28a65eb293 100644
--- a/include/themes/midwinter/css/media/compact.css
+++ b/include/themes/midwinter/css/media/compact.css
@@ -146,12 +146,56 @@
grid-area: left;
height: auto;
border-right: 1px solid var(--border-color-semilight);
+ width: min-content;
+ padding: 0 0.5rem;
+
+ & .cactiTable {
+ width: 100% !important;
+ padding: 0 !important; /* again usage of inline style detected :( */
+ margin: 0 !important;
+ }
+
+ & .filterTable {
+ white-space: unset;
+ display: flex;
+ width: 100%;
+
+ & tbody {
+ flex: 1;
+ }
+
+ & td {
+ display: inline-block;
+ width: 100%;
+ }
+
+ & tr:has(input) {
+ display: flex;
+ flex-direction: column-reverse;
+ }
+
+ &:has(div) {
+
+ }
+ }
}
& .mdw-DockRight {
grid-area: right;
height: auto;
border-left: 1px solid var(--border-color-semilight);
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+
+ & .mdw-ConsoleNavigationBox {
+ visibility: visible !important; /* NavigationBoxes within docks cannot be hidden */
+ height: 50%; /* we allow two Boxes per total per dock, in this case set initial height to 50% */
+ }
+
+ & .mdw-ConsoleNavigationBox:only-child {
+ height: 100%;
+ }
}
& > div[class^="mdw-Dock"] {
@@ -192,14 +236,12 @@
.displayOptions {
height: 100%;
width: 100%;
- padding: 1rem;
.displayOptionsTap {
.tab-label {
display: inline-flex;
width: 100%;
margin-top: 1rem;
- padding: 0rem 1rem;
border-bottom: 3px solid transparent;
justify-content: space-between;
align-items: center;
@@ -256,12 +298,10 @@
overflow: hidden;
border-bottom: 1px solid var(--border-color-semilight);
line-height: 3.5em;
- padding: 0.25rem 0;
& div:nth-child(2n+1) {
float: left;
width: 70%;
- padding-left: 1rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -271,6 +311,7 @@
float: left;
width: 30%;
text-align: right;
+ padding-left: 2.1rem;
}
}
diff --git a/include/themes/midwinter/css/media/core.css b/include/themes/midwinter/css/media/core.css
index cf430a29d7..1dff69c2f0 100755
--- a/include/themes/midwinter/css/media/core.css
+++ b/include/themes/midwinter/css/media/core.css
@@ -264,8 +264,8 @@ input[type="checkbox"]:focus-within + label:before {
display: inline-block;
width: 2.25rem;
height: 0.75rem;
- margin-right: 15px;
- margin-left: 5px;
+ margin-right: 1rem;
+ /* margin-left: 5px;*/
cursor: pointer;
}
@@ -430,7 +430,7 @@ label {
.glyph_tab-console:before {
margin-left: 17px;
- content: "\f0c9";
+ content: "\ec42";
}
.text_tab-console {
@@ -1323,9 +1323,11 @@ legend::before {
.graphWrapper {
width: fit-content;
position: relative;
+}
+
+.graphimage {
border: 1px solid var(--border-color);
border-radius: 2px;
- background-color: var(--background);
}
.cactiGraphContentArea {
diff --git a/include/themes/midwinter/main.js b/include/themes/midwinter/main.js
index 8226f81a2c..dd2c3e9f95 100755
--- a/include/themes/midwinter/main.js
+++ b/include/themes/midwinter/main.js
@@ -187,7 +187,7 @@ function setupTheme() {
$('.versionInfo').detach().appendTo('.cactiAuthBody');
- $(' ').insertAfter('#login_username');
+ $(' ').insertAfter('#login_username');
}
@@ -213,15 +213,15 @@ function setupTheme() {
'' +
/*
'
' +
- ' ' +
+ ' ' +
'
' +
*/
'
' +
'
' +
'' +
'' +
- '
'+
- '
'+
+ '
'+
+ '
'+
'
' +
'
'+
'
' +
@@ -296,7 +296,7 @@ function setupTheme() {
}
/* user help */
- new navigationButton('help', 'Help', 'Help', 'far fa-comment-alt', '#compact_user_menu').show();
+ new navigationButton('help', 'Help', 'Help', 'ti ti-message-circle-question', '#compact_user_menu').show();
new navigationBox(help, 'help', 'half', '2', {
close: false,
search: false,
@@ -304,7 +304,7 @@ function setupTheme() {
}, 'left', justCacti+' ® v'+cactiVersion).build();
/* user settings */
- new navigationButton('user', 'User', 'User Settings', 'far fa-user', '#compact_user_menu').show();
+ new navigationButton('user', 'User', 'User Settings', 'ti ti-user', '#compact_user_menu').show();
new navigationBox( cactiUser, 'user', 'half', '2', {
close: false,
search: false,
@@ -319,7 +319,7 @@ function setupTheme() {
close: true,
search: false,
resize: false,
- dock: false,
+ dock: true,
}, 'right','Table Layout', 'auto').build();
new navigationButton('toggleColorMode', 'Color', 'Toggle light/dark Mode', 'fas fa-adjust', '#navControl', 'toggleColorMode', 'on').show();
new navigationButton('kioskMode', 'Kiosk', 'Enable Kiosk Mode', 'fas fa-tv', '#navControl', 'kioskMode', 'on').show();
@@ -330,16 +330,6 @@ function setupTheme() {
$('#menu_main_console').remove();
$('a.menu_parent').removeClass('mdw-active').prop('inert', true); // suppress focus
- /* replace default icons */
- $('i.menu_glyph:not(.ignore).fa-home').removeClass('fa fa-home').addClass('fa fa-tools');
- $('i.menu_glyph.fa-folder').removeClass('fa').addClass('far');
- $('i.menu_glyph.fa-clone').removeClass('fa').addClass('far');
- $('i.menu_glyph.fa-database').removeClass('fa fa-database').addClass('far fa-hdd');
- $('i.menu_glyph:not(.ignore).fa-chart-area').removeClass('fa fa-chart-area').addClass('fa fa-plus');
- $('i.menu_glyph.fa-cogs').removeClass('fa fa-cogs').addClass('fa fa-toolbox');
- $('i.menu_glyph.fa-superpowers').removeClass('fab fa-superpowers').addClass('fas fa-network-wired');
-
-
/* hide settings icon if the user got access to console only for e.g. Intropage, but nothing else */
if($('[class^="mdw-ConsoleNavigationBox"][data-helper="settings"]').has('li').length === 0) {
$('[class^="compact_nav_icon"][data-helper="settings"]').addClass('hide');
@@ -576,14 +566,25 @@ function setupDefaultElements() {
$('.stickyContainer').remove();
}
- let btn_filter = new navigationButton('displayDockTop', 'Filter', 'Show Filter Dock','fas fa-filter', '#navFilter', 'toggleCactiDockNavigationBox', 'Top');
+
+// let btn_filter1 = new navigationButton('displayDockTop', 'Filter', 'Show Filter Dock','fas fa-filter', '#navFilter', 'toggleCactiDockNavigationBox', 'Top');
+ let btn_filter = new navigationButton('displayFilterOptions', 'Filter', 'Show Filter Dock','fas fa-filter', '#navFilter');
let btn_calendar = new navigationButton('daterangepicker', 'Calendar', 'Select Timeframe', 'fas fa-calendar-alt', '#navFilter', '', '');
let btn_add = new navigationButton('formAction', 'New', 'Add','fas fa-plus', '#navFilter');
if ($("#main .filterTable").length) {
let filter;
- filter = $("#main .filterTable:first").closest('div').detach();
- $(".mdw-DockTop").html(filter);
+ filter = $("#main .filterTable:first").closest('div.cactiTable').detach();
+
+ if( !$('[class^="mdw-ConsoleNavigationBox"][data-helper="displayFilterOptions"]').length ) {
+ new navigationBox('Filter', 'displayFilterOptions', 'auto', '1', {
+ close: true,
+ search: false,
+ resize: false,
+ dock: true,
+ }, 'right', 'Display Filter', '').build();
+ }
+ $('[class^="mdw-ConsoleNavigationBox"][data-helper="displayFilterOptions"] .navBox-content').html(filter);
/* custom content */
if($("#main >div:first .filterTable:first").closest('div').length === 1) {
@@ -728,16 +729,16 @@ function setupDefaultElements() {
}
// Add nice search filter to filters
- if ($('input[id="filter"]').length > 0 && $('input[id="filter"] > i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filter"]').length > 0 && $('input[id="filter"] > i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"] > i[class="fa fa-search filter"]').length < 1) {
- $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="filterd"]').length > 0 && $('input[id="filterd"] > i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="filterd"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchFilter).parent('td').css('white-space', 'nowrap');
}
- if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"] > i[class="fa fa-search filter"]').length < 1) {
- $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
+ if ($('input[id="rfilter"]').length > 0 && $('input[id="rfilter"] > i[class="ti ti-search filter"]').length < 1) {
+ $('input[id="rfilter"]').after(" ").attr('autocomplete', 'off').attr('placeholder', searchRFilter).parent('td').css('white-space', 'nowrap');
}
$('input#filter, input#rfilter').addClass('ui-state-default ui-corner-all');
diff --git a/include/themes/midwinter/midwinter.js b/include/themes/midwinter/midwinter.js
index 070c84ffc0..59ab4c2f09 100644
--- a/include/themes/midwinter/midwinter.js
+++ b/include/themes/midwinter/midwinter.js
@@ -333,7 +333,7 @@ function get_help_content() {
+ ''
+ '