Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Apr 11, 2024
1 parent 10f5b00 commit b628450
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avAdmin/admin-directives/dashboard/turnout-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ angular.module('avAdmin')
$timeout
) {
function link(scope, element, attrs) {
scope.colors = ["#07D514", "#01FE76", "#2A658E", "#AF1CC2", "#F9C867", "#976FF8", "#4EE7BB", "#9A6E2A", "#AC2EDA", "#44FF61", "#E4D7BD", "#01A8DC", "#3162A9", "#FD438E", "#0C9A85", "#65C4F7", "#257704", "#6B6E63", "#DE0A9E", "#4873CF", "#04CF27", "#3ECA12", "#4BEFDA", "#759E11", "#B5DEA0", "#153CF4", "#543E74", "#B4E015", "#31DC2C", "#837599", "#0414DD", "#20EAD4", "#83EE83", "#81523F", "#108AB8", "#B6B538", "#174F79", "#37B247", "#ECD981", "#A31474", "#950F8C", "#F8F885", "#71EC09", "#37CA84", "#C6ABFA", "#E50D2D", "#C211F1", "#C95AB9", "#EEA97C", "#F18F4B"];
scope.colors = ["#803690", "#00ADF9", "#DCDCDC", "#46BFBD", "#FDB45C", "#949FB1", "#4D5360", "#9A6E2A", "#AC2EDA", "#44FF61", "#E4D7BD", "#01A8DC", "#3162A9", "#FD438E", "#0C9A85", "#65C4F7", "#257704", "#6B6E63", "#DE0A9E", "#4873CF", "#04CF27", "#3ECA12", "#4BEFDA", "#759E11", "#B5DEA0", "#153CF4", "#543E74", "#B4E015", "#31DC2C", "#837599", "#0414DD", "#20EAD4", "#83EE83", "#81523F", "#108AB8", "#B6B538", "#174F79", "#37B247", "#ECD981", "#A31474", "#950F8C", "#F8F885", "#71EC09", "#37CA84", "#C6ABFA", "#E50D2D", "#C211F1", "#C95AB9", "#EEA97C", "#F18F4B"];
function truncateDate(date, scale /* hour|day|week|month */) {
switch(scale.toLowerCase()) {
case 'hour':
Expand Down
12 changes: 10 additions & 2 deletions avAdmin/admin-directives/dashboard/turnout-graph.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
margin-top: 16px;

.color {
width: 20px;
height: 20px;
width: 16px;
height: 16px;
background-color: #456799;
}

Expand Down Expand Up @@ -42,6 +42,14 @@
display: flex;
flex-direction: row;
gap: 8px;

label {
margin-bottom: 0;
}

input {
margin: 0;
}
}

.start-date-container, .end-date-container {
Expand Down

0 comments on commit b628450

Please sign in to comment.