mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
Revert "add domain button on top of Domains page."
I've tested this, and I'm afraid I don't like it from a design perpective as it is not consistent with the other pages, and it looks inverted when only one domain is present. Perhaps we can design this better, though I'm not sure how.
This commit is contained in:
@@ -26,8 +26,6 @@
|
|||||||
%p.noData__button= link_to "Add your first domain", [:new, organization, @server, :domain], :class => "button button--positive"
|
%p.noData__button= link_to "Add your first domain", [:new, organization, @server, :domain], :class => "button button--positive"
|
||||||
|
|
||||||
- else
|
- else
|
||||||
%p.u-center= link_to "Add new domain", [:new, organization, @server, :domain], :class => "button button--positive"
|
|
||||||
%br/
|
|
||||||
%ul.domainList.u-margin
|
%ul.domainList.u-margin
|
||||||
- for domain in @domains
|
- for domain in @domains
|
||||||
%li.domainList__item
|
%li.domainList__item
|
||||||
@@ -73,3 +71,4 @@
|
|||||||
= link_to "DNS setup", [:setup, organization, @server, domain]
|
= link_to "DNS setup", [:setup, organization, @server, domain]
|
||||||
= link_to "Delete", [organization, @server, domain], :remote => :delete, :method => :delete, :data => {:confirm => "Are you sure you wish to remove this domain?", :disable_with => "Deleting..."}, :class => 'domainList__delete'
|
= link_to "Delete", [organization, @server, domain], :remote => :delete, :method => :delete, :data => {:confirm => "Are you sure you wish to remove this domain?", :disable_with => "Deleting..."}, :class => 'domainList__delete'
|
||||||
|
|
||||||
|
%p.u-center= link_to "Add new domain", [:new, organization, @server, :domain], :class => "button button--positive"
|
||||||
|
|||||||
Reference in New Issue
Block a user