Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

legend display #95

Merged
merged 3 commits into from
Aug 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 22 additions & 23 deletions web/src/components/prediction/Map.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class='col col--12'>
<div class='col col--12 border-b border--gray-light clearfix mb6'>
<PredictionHeader/>
<PredictionHeader/>
<div class='fr'>
<button @click='$emit("refresh")' class='mx3 btn btn--stroke color-gray color-blue-on-hover round'><svg class='icon fl'><use href='#icon-refresh'/></svg></button>
</div>
Expand Down Expand Up @@ -101,6 +101,26 @@
<div id="map" class='w-full h-full'></div>
</div>
</div>
<div class='flex-parent flex-parent--center-main my18'>
<div class='w240 round shadow-darken10 px12 py12 txt-s'>
<div class='flex-parent flex-parent--center-main flex-parent--center-cross align-center'>
<div class='flex-child flex-child--grow wmin24'>
<span class='inline-block w12 h12 round-full bg-gray-light'></span>
</div>
<div class='flex-child flex-child--grow wmin24'>
<span class='inline-block w12 h12 round-full bg-blue-light'></span>
</div>
<div class='flex-child flex-child--grow wmin24'>
<span class='inline-block w12 h12 round-full bg-pink-light'></span>
</div>
</div>
<div class='grid txt-xs align-center'>
<div class='col col--4'>Unvalidated</div>
<div class='col col--4'>Validated<br>True</div>
<div class='col col--4'>Validated <br>False</div>
</div>
</div>
</div>
</template>
<template v-else>
<div class='col col--12 py6'>
Expand All @@ -113,26 +133,6 @@
</div>
</div>
</template>
<div class='flex-parent flex-parent--center-main my18'>
<div class='w240 round shadow-darken10 px12 py12 txt-s'>
<div class='flex-parent flex-parent--center-main flex-parent--center-cross align-center'>
<div class='flex-child flex-child--grow wmin24'>
<span class='inline-block w12 h12 round-full bg-gray-light'></span>
</div>
<div class='flex-child flex-child--grow wmin24'>
<span class='inline-block w12 h12 round-full bg-blue-light'></span>
</div>
<div class='flex-child flex-child--grow wmin24'>
<span class='inline-block w12 h12 round-full bg-pink-light'></span>
</div>
</div>
<div class='grid txt-xs align-center'>
<div class='col col--4'>Unvalidated</div>
<div class='col col--4'>Validated<br>True</div>
<div class='col col--4'>Validated <br>False</div>
</div>
</div>
</div>
</div>
</template>

Expand Down Expand Up @@ -451,5 +451,4 @@ export default {
PredictionHeader
}
}
</script>

</script>