Skip to content

Commit

Permalink
Fixes #32584 - drop flot charts
Browse files Browse the repository at this point in the history
All uses of flot charts have been deprecated and are rendering React
counterparts. We can remove flot charts now.
  • Loading branch information
ezr-ondrej authored and tbrisker committed Jul 8, 2021
1 parent 066f573 commit 69379b5
Show file tree
Hide file tree
Showing 21 changed files with 60 additions and 935 deletions.
2 changes: 0 additions & 2 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//= link_tree ../images
//= link application.css
//= link application.js
//= link vendor.js

//= link bg-modal-about-pf.png

Expand All @@ -17,7 +16,6 @@
//= link host_edit_interfaces.js
//= link hosts.js
// link reports.js
//= link charts.js
//= link taxonomy_edit.js
// link gettext/all.js
//= link filters.js
Expand Down
1 change: 0 additions & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//= require bootstrap
//= require patternfly
//= require vendor
//= require jquery.extentions
//= require jquery.multi-select
//= require hidden_values
Expand Down
264 changes: 0 additions & 264 deletions app/assets/javascripts/charts.js

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/javascripts/proxy_status.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//= require proxy_status/logs

$(document).on('ContentLoad', function() {
$('.nav-tabs a').on('shown.bs.tab', refreshCharts);
$('a[data-toggle="tab"]').on('click', function(e) {
history.pushState(
null,
Expand Down
14 changes: 14 additions & 0 deletions app/assets/stylesheets/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,20 @@ table {
white-space: nowrap;
}

.stats-well {
border: 1px solid #d7d7d7;
background-size: 100%;
padding: 15px;
min-width: 280px;
min-height: 100px;
margin-bottom: 15px;

h2,
h4 {
font-weight: normal;
}
}

.white-space-normal {
white-space: normal;
}
Expand Down
Loading

0 comments on commit 69379b5

Please sign in to comment.