Skip to content

Commit

Permalink
feat: adjust metrics page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfost committed Dec 12, 2024
1 parent fb6a435 commit f754b12
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/MetricsSelector.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div class="card">
<div class="card-body bg-light py-2 text-gray">
<b> Select a metric to view </b>
</div>
<ul class="list-group list-group-flush">
<!-- Members -->
<li class="list-group-item">
Expand Down
14 changes: 9 additions & 5 deletions frontend/src/components/MetricsView.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<template>
<div class="row">
<div class="col-sm-12 col-md-3" style="padding-top: 2.5rem">
<div class="row my-5">
<div class="col">
<div class="card">
<UserMapView :metrics-data="metricsData" />
</div>
</div>
</div>
<div class="row my-5">
<div class="col-sm-12 col-md-3">
<MetricsSelector v-model="selectedChart" />
</div>
<div class="col-sm-12 col-md-9">
Expand Down Expand Up @@ -32,9 +39,6 @@
</div>
</div>
</div>
<div>
<UserMapView :metrics-data="metricsData" />
</div>
</template>

<script setup lang="ts">
Expand Down

0 comments on commit f754b12

Please sign in to comment.