mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Add env to navbar
This commit is contained in:
parent
c1a43e4919
commit
c0937d8afd
2 changed files with 20 additions and 1 deletions
|
@ -5,3 +5,14 @@
|
||||||
.edit-highlight {
|
.edit-highlight {
|
||||||
background-color: #E7E7E7;
|
background-color: #E7E7E7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-brand {
|
||||||
|
line-height:12px;
|
||||||
|
padding-top:20px;
|
||||||
|
padding-bottom:5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand small {
|
||||||
|
display:block;
|
||||||
|
font-size:10px;
|
||||||
|
}
|
||||||
|
|
|
@ -20,7 +20,15 @@
|
||||||
%span.icon-bar
|
%span.icon-bar
|
||||||
%span.icon-bar
|
%span.icon-bar
|
||||||
%span.icon-bar
|
%span.icon-bar
|
||||||
= link_to APP_CONFIG['app_name'], root_path, class: 'navbar-brand'
|
= link_to root_path, class: 'navbar-brand' do
|
||||||
|
= APP_CONFIG['app_name']
|
||||||
|
- if Rails.env.development?
|
||||||
|
.text-center
|
||||||
|
%small{style: 'color: #D10000;'}= Rails.env.upcase
|
||||||
|
- elsif Rails.env.staging?
|
||||||
|
.text-center
|
||||||
|
%small{style: 'color: #0074B3;'}= Rails.env.upcase
|
||||||
|
|
||||||
.navbar-collapse.collapse
|
.navbar-collapse.collapse
|
||||||
%ul.nav.navbar-nav
|
%ul.nav.navbar-nav
|
||||||
%li= link_to t('domains'), admin_domains_path
|
%li= link_to t('domains'), admin_domains_path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue