Commit 27c85c76 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'patch/geo-nodes-admin-screen' into 'master'

Geo: Improve GeoNodes Admin screen

Improves GeoNode admin screen for GitLab Geo (#76)

Old:
![image](/uploads/16b35ff867232c5f27a8bda878a46831/image.png)


New:

![image](/uploads/96e3ee2daf1eaef8618fd127cb155a16/image.png)

Solves https://gitlab.com/gitlab-org/gitlab-ee/issues/373

See merge request !251
parents 8a0ae304 dec761bc
......@@ -45,8 +45,11 @@
- @nodes.each do |node|
%li
.list-item-name
%span
= node.primary ? icon('star fw') : icon('globe fw')
%strong= node.url
%p #{node.primary ? 'Primary node' : 'Secondary node'}
%p
%span.help-block #{node.primary ? 'Primary node' : 'Secondary node'}
.pull-right
= link_to 'Remove', admin_geo_node_path(node), data: { confirm: 'Are you sure?' }, method: :delete, class: 'btn btn-remove btn-sm'
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