app/views/layouts/rails_admin/application.html.erb in rails_admin-3.0.0.beta2 vs app/views/layouts/rails_admin/application.html.erb in rails_admin-3.0.0.rc
- old
+ new
@@ -3,23 +3,20 @@
<head>
<%= render "layouts/rails_admin/head" %>
</head>
<body class="rails_admin">
<div data-i18n-options="<%= I18n.t("admin.js").to_json %>" id="admin-js"></div>
- <div class="label label-warning" id="loading" style="display:none; position:fixed; right:20px; bottom:20px; z-index:100000">
- <%= t('admin.loading') %>
- </div>
- <nav class="navbar navbar-default navbar-fixed-top">
+ <nav class="navbar navbar-expand-md fixed-top navbar-dark bg-primary border-bottom">
<%= render "layouts/rails_admin/navigation" %>
</nav>
<div class="container-fluid">
<div class="row">
- <div class="col-sm-3 col-md-2 sidebar-nav">
+ <div class="col-sm-3 col-md-2 flex-wrap p-0">
<%= render "layouts/rails_admin/sidebar_navigation" %>
</div>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2">
- <div class="content" data-pjax-container="<%= true %>">
- <%= render template: 'layouts/rails_admin/pjax' %>
+ <div class="container">
+ <%= render template: 'layouts/rails_admin/content' %>
</div>
</div>
</div>
</div>
</body>