Skip to content

Commit

Permalink
Merge pull request #235 from nerdstrike/pool_stats_visuals
Browse files Browse the repository at this point in the history
Lift colours to app-level CSS so we can reuse in more tables.
  • Loading branch information
mgcam authored Jul 26, 2024
2 parents 56f4a25 + 04ce801 commit b70126f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,20 @@ nav {
align-items: center;
text-align: left;
}
.MetricOrange {
background-color: #F8CBAD;
}
.MetricBlue {
background-color: #BDD6EE;
}
.MetricGreen {
background-color: #C6E0B4;
}
.MetricYellow {
background-color: #FFE698;
}
</style>
2 changes: 1 addition & 1 deletion frontend/src/components/PoolStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const active = ref([])
<td>{{ library.hifi_num_reads }}</td>
<td>{{ library.hifi_read_length_mean }}</td>
<td>{{ library.hifi_bases_percent }}</td>
<td>{{ library.percentage_total_reads }}</td>
<td class="MetricYellow">{{ library.percentage_total_reads }}</td>
</tr>
</table>
</el-collapse-item>
Expand Down

0 comments on commit b70126f

Please sign in to comment.