Skip to content

Commit

Permalink
ATLAS-4451:UI: #2 Chart representation of Metrics data on Statistics …
Browse files Browse the repository at this point in the history
…dialog box

Signed-off-by: Sarath Subramanian <sarath@apache.org>
  • Loading branch information
pawarprasad123 authored and sarathsubramanian committed Dec 2, 2021
1 parent a4ee6c0 commit bc2e13c
Show file tree
Hide file tree
Showing 20 changed files with 38,624 additions and 4 deletions.
18 changes: 18 additions & 0 deletions dashboardv2/public/css/nv.d3.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 77 additions & 0 deletions dashboardv2/public/css/scss/stats.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,81 @@
padding: 10px 10px;
}
}
}

.statistics-time-list {
padding-right: 0px;
width: 230px;
float: right;
}

.entityTable {
tbody {
border-bottom: 2px solid #ddd;
}
}

.table-row-selected {
background-color: #F5F5F5;

td span {
color: $color_jungle_green_approx;
}
}

.entity-type-chart {
cursor: pointer;
}

.entity-chart-panel {
margin: 0px !important;
padding: 0px !important;
border: none;

.panel-body {
padding: 0px;
}
}

.chart-container {
margin-top: 20px;

.chart-heading {
display: flex;

.chart-title {
width: 50%;
padding: 8px;
font-weight: bold;
}

.chart-buttons-container {
width: 50%;

ul {
display: flex;

li {
padding: 8px 0px 8px 0px;
margin: 0px 3px 0px 3px;
cursor: pointer;

a {
color: $color_ironside_gray_approx;
}
}

.active a {
color: $color_jungle_green_approx;
}
}

}
}

.chart-svg {
width: 725px;
height: 300px;
margin: 0 auto;
}
}
1 change: 1 addition & 0 deletions dashboardv2/public/index.html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<link rel="stylesheet" href="js/libs/jquery-asBreadcrumbs/css/asBreadcrumbs.min.css?bust=<%- bust %>">
<link rel="stylesheet" href="css/googlefonts.css?bust=<%- bust %>" type='text/css'>
<link rel="stylesheet" type="text/css" href="js/external_lib/jquery-ui/jquery-ui.min.css?bust=<%- bust %>">
<link rel="stylesheet" href="css/nv.d3.min.css?bust=<%- bust %>" >
<link href="css/bootstrap-sidebar.css?bust=<%- bust %>" rel="stylesheet">
<link href="js/libs/font-awesome/css/font-awesome.min.css?bust=<%- bust %>" rel="stylesheet">
<link href="js/external_lib/pnotify/pnotify.custom.min.css?bust=<%- bust %>" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion dashboardv2/public/js/router/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ define([
var that = this;
$('body').on('click', 'a.show-stat', function() {
require([
'views/site/Statistics',
'views/site/StatisticsTimelineView',
], function(Statistics) {
new Statistics(_.extend({}, that.preFetchedCollectionLists, that.sharedObj, that.ventObj));
});
Expand Down
Loading

0 comments on commit bc2e13c

Please sign in to comment.