-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Added UI for area type in Map page
- Loading branch information
Showing
5 changed files
with
34 additions
and
35 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
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 |
---|---|---|
@@ -1,24 +1,22 @@ | ||
<div class="modal fade" tabindex="-1" aria-labelledby="areaTypeLabel" aria-hidden="true" ref="areaTypeModal"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" id="areaTypeLabel">Select area type</h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body"> | ||
<div class="list-group"> | ||
<template v-for="t in area_types"> | ||
<button class="list-group-item list-group-item-action" @click="changeAreaType(t.slug)"> | ||
<div class="modal fade area-type-modal" tabindex="-1" aria-labelledby="areaTypeLabel" aria-hidden="true" ref="areaTypeModal"> | ||
<div class="modal-dialog modal-dialog-centered"> | ||
<div class="modal-content overflow-hidden shadow-lg"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title" id="areaTypeLabel">Select area type</h5> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<div class="modal-body bg-gray-100"> | ||
<div class="list-group"> | ||
<button v-for="t in area_types" class="list-group-item list-group-item-action" @click="changeAreaType(t.slug)"> | ||
<div class="d-flex align-items-center mb-2"> | ||
<strong class="lh-sm me-auto pe-3">${ t.label }</strong> | ||
</div> | ||
<small class="d-block fs-7 mb-2"> | ||
<small class="d-block fs-7"> | ||
${ t.description } | ||
</small> | ||
</button> | ||
</template> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |