Skip to content

Commit

Permalink
feat(exif): Adding colored link
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Mar 28, 2022
1 parent 0025896 commit a021451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/fibr/templates/exif.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h2 class="flex flex-center header no-margin">
{{ if or .Exif.Geocode.HasAddress .Exif.Geocode.HasCoordinates }}
<p class="padding no-margin code">
{{ if .Exif.Geocode.HasCoordinates }}
<strong>Coordinates:</strong> <a href="http://www.openstreetmap.org/?mlat={{ .Exif.Geocode.Latitude }}&mlon={{ .Exif.Geocode.Longitude }}&zoom=16">{{ .Exif.Geocode.Latitude }},{{ .Exif.Geocode.Longitude }}</a><br>
<strong>Coordinates:</strong> <a class="primary" href="http://www.openstreetmap.org/?mlat={{ .Exif.Geocode.Latitude }}&mlon={{ .Exif.Geocode.Longitude }}&zoom=16">{{ .Exif.Geocode.Latitude }},{{ .Exif.Geocode.Longitude }}</a><br>
{{ end }}

<strong>Location</strong><br>
Expand Down
2 changes: 1 addition & 1 deletion cmd/fibr/templates/style.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
}

.primary {
color: var(--success);
color: var(--primary);
}

.success {
Expand Down

0 comments on commit a021451

Please sign in to comment.