Skip to content

Commit

Permalink
Update stats, test corrections icons (#183)
Browse files Browse the repository at this point in the history
Replace the "i" icon in the header with a bar graph symbol and change
header icon colors (for statistics and test corrections) from green to
black.

Co-authored-by: psvenk <45520974+psvenk@users.noreply.github.com>
  • Loading branch information
jadebuckwalter and psvenk authored Nov 22, 2020
1 parent 54c064a commit b045446
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion public/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,13 @@ i.fa.fa-plus.grades {
cursor: pointer;
}

.bar-graph-icon {
padding-left: 28%;
padding-top: 25%;
}

i.fa.fa-info-circle,
i.fa.fa-toolbox {
color: var(--green2);
padding-left: 31%;
padding-top: 25%;
font-size: large;
Expand Down
1 change: 1 addition & 0 deletions public/images/Bar_Graph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ let assignmentsTable = new Tabulator("#assignmentsTable", {
},
{
title: "Stats",
titleFormatter: () => '<i class="fa fa-info-circle" aria-hidden="true"></i>',
titleFormatter: () => '<img class="bar-graph-icon" src="../images/Bar_Graph.svg" width="28">',
formatter: cell => (
isNaN(cell.getRow().getData().score)
|| currentTableData.currentTermData
Expand Down

0 comments on commit b045446

Please sign in to comment.