Commit 13692ee8 authored by Toon Claes's avatar Toon Claes

UI polish for Geo pages

Use geo-nodes sprite icon where appropriate:
Instead of using the fontawesome globe icon, use the geo-nodes icon
for Geo related action.

Closes gitlab-org/gitlab-ee#4425.
parent 752657df
......@@ -112,7 +112,7 @@ module ButtonHelper
def geo_button(modal_target: nil)
data = { placement: 'bottom', container: 'body', toggle: 'modal', target: modal_target }
content_tag :button,
icon('globe'),
sprite_icon('geo-nodes', size: 15),
class: 'btn btn-geo has-tooltip',
data: data,
type: :button,
......
......@@ -63,4 +63,4 @@
- if Gitlab::Geo.secondary? && Gitlab::Geo.primary_node_configured?
%li
= link_to Gitlab::Geo.primary_node.url, title: 'Go to primary node', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= icon('globe fw')
= sprite_icon('geo-nodes', size: 18)
---
title: Geo UI polish
merge_request:
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment