adds waypoints from photos
This commit is contained in:
@@ -63,6 +63,9 @@
|
||||
for (let i = 0; i < dropdownMenu.children.length; i++) {
|
||||
const li = dropdownMenu.children[i];
|
||||
const textNode = li.getElementsByTagName("p")[0];
|
||||
if(!textNode) {
|
||||
return
|
||||
}
|
||||
textNode.innerHTML = items[i].text;
|
||||
|
||||
const text = textNode.innerText.replace(
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
class="fa fa-{t.icon} p-3 mr-2 rounded-lg"
|
||||
class:success-toast={t.type == "success"}
|
||||
class:error-toast={t.type == "error"}
|
||||
class:warning-toast={t.type == "warning"}
|
||||
></i>
|
||||
<p class="mr-4">
|
||||
{t.text}
|
||||
@@ -38,4 +39,8 @@
|
||||
color: #ef4444;
|
||||
background-color: #fecaca;
|
||||
}
|
||||
.warning-toast {
|
||||
color: #ffb900;
|
||||
background-color: #fef3c6;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
setFields("lon", convertDMSToDD(lon, lonDir));
|
||||
} else {
|
||||
show_toast({
|
||||
text: "No GPS data in image",
|
||||
text: $_('no-gps-data-in-image'),
|
||||
icon: "close",
|
||||
type: "error",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user