Skip to content

Commit

Permalink
fix: update old fas-fa awesome icon names to align with: openforis/se…
Browse files Browse the repository at this point in the history
  • Loading branch information
dfguerrerom committed Jan 19, 2023
1 parent 6922854 commit 429d4b4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions component/tiles/map_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def __init__(self, model, *args, **kwargs):
m.FullScreenControl(self, position="topleft", fullscreen=True, fullapp=True)
)

self.reload_btn = m.MapBtn("fas fa-sync-alt")
self.parameters_btn = m.MapBtn("fas fa-bars")
self.navigate_btn = m.MapBtn("fas fa-fire")
self.metadata_btn = m.MapBtn("fas fa-info-circle")
self.reload_btn = m.MapBtn("fa-solid fa-sync-alt")
self.parameters_btn = m.MapBtn("fa-solid fa-bars")
self.navigate_btn = m.MapBtn("fa-solid fa-fire")
self.metadata_btn = m.MapBtn("fa-solid fa-info-circle")

self.w_alerts = cw.DynamicSelect(disabled=True).hide()

Expand Down Expand Up @@ -151,7 +151,7 @@ def _return_coordinates(self, **kwargs):
def set_code(self, link):
"add the code link btn to the map"

btn = m.MapBtn("fas fa-code", href=link, target="_blank")
btn = m.MapBtn("fa-solid fa-code", href=link, target="_blank")
control = WidgetControl(widget=btn, position="bottomleft")
self.add_control(control)

Expand All @@ -160,7 +160,7 @@ def set_code(self, link):
def set_wiki(self, link):
"add the wiki link btn to the map"

btn = m.MapBtn("fas fa-book-open", href=link, target="_blank")
btn = m.MapBtn("fa-solid fa-book-open", href=link, target="_blank")
control = WidgetControl(widget=btn, position="bottomleft")
self.add_control(control)

Expand All @@ -169,7 +169,7 @@ def set_wiki(self, link):
def set_issue(self, link):
"add the code link btn to the map"

btn = m.MapBtn("fas fa-bug", href=link, target="_blank")
btn = m.MapBtn("fa-solid fa-bug", href=link, target="_blank")
control = WidgetControl(widget=btn, position="bottomleft")
self.add_control(control)

Expand Down

0 comments on commit 429d4b4

Please # to comment.