Files
openfoodnetwork/app/views/spree/layouts/bare_admin.html.haml
Luis Ramos ea75714561 Merge pull request #4635 from luisramos0/main_app_routes
Replace use of spree.root_path and root_url with main_app.root_path and main_app.root_url
2020-02-04 16:02:48 +00:00

29 lines
1.0 KiB
Plaintext

%html{ lang: "en" }
%head{"data-hook" => "admin_inside_head"}= render :partial => 'spree/admin/shared/head'
%body.admin{"data-ajax-root-path" => main_app.root_path}
#wrapper{"data-hook" => ""}
- if flash[:error]
.flash.error= flash[:error]
- if notice
.flash.notice= notice
- if flash[:success]
.flash.success= flash[:success]
#progress
.wrapper
#spinner
.progress-message
= t(:loading)
\...
%header#header{"data-hook" => ""}
.container
%figure.columns.five{"data-hook" => "logo-wrapper"}= link_to image_tag(Spree::Config[:admin_interface_logo], :id => 'logo'), spree.admin_dashboard_path
%nav.columns.eleven{"data-hook" => "admin_login_navigation_bar"}
= render partial: "spree/layouts/admin/login_nav"
.container
.row
#content{"data-hook" => ""}
%div{:class => "sixteen columns"}
= yield
%div{"data-hook" => "admin_footer_scripts"}