-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from InspectorIncognito/dev
Dev
- Loading branch information
Showing
4 changed files
with
162 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<script setup lang="ts"> | ||
defineProps({ | ||
keyValue: String, | ||
useful: Number, | ||
useless: Number, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div class="segment-popup"> | ||
<div class="header">Alerta de congestión</div> | ||
<div class="section-container"> | ||
<div class="section"> | ||
<div class="section-icons"> | ||
<span class="material-icons">info</span> | ||
</div> | ||
<div class="section-data">{{ keyValue }}</div> | ||
</div> | ||
<div class="metrics-container"> | ||
<div class="metric"> | ||
<span class="material-icons">thumb_up</span> | ||
<span>{{ useful }}</span> | ||
</div> | ||
|
||
<div class="metric"> | ||
<span class="material-icons">thumb_down</span> | ||
<span>{{ useless }}</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script setup lang="ts"> | ||
defineProps({ | ||
sequence: Number, | ||
shapeId: String, | ||
speed: Number, | ||
historicSpeed: Number, | ||
temporalRange: String, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div class="segment-popup"> | ||
<div class="header">Shape {{ shapeId }} - Segmento {{ sequence }}</div> | ||
<div class="section-container"> | ||
<div class="section"> | ||
<div class="section-icons"> | ||
<span class="material-icons">schedule</span> | ||
</div> | ||
<div class="section-data"> | ||
<span>{{ temporalRange }}</span> | ||
</div> | ||
</div> | ||
<div class="section"> | ||
<div class="section-icons"> | ||
<span class="material-icons">directions_bus</span> | ||
<span class="material-icons">double_arrow</span> | ||
</div> | ||
<div class="section-data speed"> | ||
<b>Velocidad:</b> | ||
<span>{{ speed ? `${speed} km/h` : "No registrada" }}</span> | ||
</div> | ||
<div class="section-data speed"> | ||
<b>Histórico:</b> | ||
<span>{{ historicSpeed ? `${historicSpeed} km/h` : "No calculada" }}</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |