mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
fix homepage layout
This commit is contained in:
parent
0459eb93d2
commit
34a3286870
@ -636,8 +636,3 @@ body.container{
|
||||
left: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.home-page {
|
||||
@extend .wrapper;
|
||||
}
|
||||
|
@ -654,6 +654,7 @@ end
|
||||
unless Setting.find_by(name: 'home_content').try(:value)
|
||||
setting = Setting.find_or_initialize_by(name: 'home_content')
|
||||
setting.value = <<~HTML
|
||||
<div>
|
||||
<div class="m-sm">
|
||||
<div id="news">#{I18n.t('app.admin.settings.item_news')}</div>
|
||||
</div>
|
||||
@ -671,6 +672,7 @@ unless Setting.find_by(name: 'home_content').try(:value)
|
||||
<div id="events">#{I18n.t('app.admin.settings.item_events')}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
HTML
|
||||
setting.save
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user