mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 15:14:47 +02:00
29 lines
953 B
Text
29 lines
953 B
Text
!!! 5
|
|
%html{lang: I18n.locale.to_s}
|
|
%head
|
|
%meta{charset: "utf-8"}/
|
|
- if content_for? :head_title
|
|
= yield :head_title
|
|
- else
|
|
%title= t(:admin_head_title)
|
|
= csrf_meta_tags
|
|
= stylesheet_link_tag 'admin-manifest', media: 'all'
|
|
= favicon_link_tag 'favicon.ico'
|
|
%body{:style => env_style}
|
|
.navbar.navbar-inverse.navbar-static-top{role: "navigation"}
|
|
.container
|
|
.navbar-header
|
|
%button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", type: "button"}
|
|
%span.sr-only Toggle navigation
|
|
%span.icon-bar
|
|
%span.icon-bar
|
|
%span.icon-bar
|
|
= link_to admin_dashboard_path, class: 'navbar-brand' do
|
|
= ENV['app_name']
|
|
- if unstable_env.present?
|
|
.text-center
|
|
%small{style: 'color: #0074B3;'}= unstable_env
|
|
|
|
.container
|
|
= render 'shared/flash'
|
|
= yield
|