app/views/layouts/phcpress/application.html.erb in phcpress-56.4.0 vs app/views/layouts/phcpress/application.html.erb in phcpress-57.0.0

- old
+ new

@@ -1,80 +1,73 @@ <!DOCTYPE html> <html> -<head> + <head> - <!-- SEO System --> - <% phc_seo_title "PHCPress by PHCDevworks" %> - <% phc_seo_description "PHCPress rails CMS application to manage your website's articles, categories and media." %> - <!-- SEO System --> + <!-- SEO System --> + <% phc_seo_title "BradPotts - PHCPress" %> + <% phc_seo_description "Ruby on Rails 7 engine to manage your website's articles, categories and media." %> + <!-- SEO System --> - <!-- SEO and Site Description --> - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - <title><%= yield(:phc_seo_title) %></title> - <meta name="description" content="<%= yield(:phc_seo_description) %>"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" > - <link rel="canonical" href="http://phcdevworks.com"> - <!-- SEO and Site Description --> + <!-- SEO and Site Description --> + <meta charset="utf-8"> + <title><%= yield(:phc_seo_title) %></title> + <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" /> + <meta name="description" content="<%= yield(:phc_seo_description) %>"> + <!-- SEO and Site Description --> - <!-- Rails Security Tags --> - <%= csrf_meta_tags %> - <%= csp_meta_tag %> - <!-- Rails Security Tags --> + <!-- Rails Security Tags --> + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + <!-- Rails Security Tags --> - <!-- CSS Styles --> - <%= stylesheet_link_tag 'phcpress/application', media: 'all', 'data-turbolinks-track': 'reload' %> - <!-- CSS Styles --> + <!-- CSS Styles --> + <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> + <%= stylesheet_link_tag "coloradmin/default/phcthemes_admin_panel_pack_coloradmin", media: "all" %> + <!-- CSS Styles --> - <!-- Font --> - <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/> - <!-- Font --> + </head> + <body> -</head> -<body> + <!-- -PHCDEV- Page Container --> + <div id="app" class="app app-header-fixed app-sidebar-fixed app-with-wide-sidebar"> - <!-- Page Container --> - <div id="page-container" class="fade page-sidebar-fixed page-header-fixed"> + <!-- -PHCDEV- Page Container - Header --> + <div id="header" class="app-header"> + <%= render "layouts/phcpress/components/backend/navigation/top_menu" %> + </div> + <!-- -PHCDEV- Page Container - Header --> - <!-- Page Header --> - <div id="header" class="header navbar-default"> - <%= render 'layouts/phcpress/components/backend/navigation/top_menu' %> - </div> - <!-- Page Header --> + <!-- -PHCDEV- Page Container - Sidebar --> + <div id="sidebar" class="app-sidebar" data-disable-slide-animation="true"> + <%= render "layouts/phcpress/components/backend/sidebars/side_menu" %> + </div> + <div class="app-sidebar-bg"></div> + <div class="app-sidebar-mobile-backdrop"><a href="#" data-dismiss="app-sidebar-mobile" class="stretched-link"></a></div> + <!-- -PHCDEV- Page Container - Sidebar --> - <!-- Page Sidebar --> - <div id="sidebar" class="sidebar"> - <%= render 'layouts/phcpress/components/backend/sidebars/side_menu' %> - </div> - <div class="sidebar-bg"></div> - <!-- Page Sidebar --> + <!-- -PHCDEV- Page Container - Content --> + <div id="app" class="app app-content-full-height"> + <div id="content" class="app-content d-flex flex-column p-0"> + <!-- -PHCDEV- Page Container - Main --> + <div class="app-content-padding flex-grow-1 overflow-hidden" data-scrollbar="true" data-height="100%"> + <%= render "phcdevworks_notifications/bootstrap/notifications" %> + <%= yield %> + </div> + <!-- -PHCDEV- Page Container - Main --> + <!-- -PHCDEV- Page Container - Footer --> + <div id="footer" class="app-footer m-0"> + <%= render "layouts/phcpress/components/backend/footer/footer" %> + </div> + <!-- -PHCDEV- Page Container - Footer --> + </div> + </div> + <!-- -PHCDEV- Page Container - Content --> - <!-- Page Content --> - <div id="content" class="content"> - <%= render 'phcnotifi/default/notifications' %> - <%= yield %> - </div> - <!-- Page Content --> + </div> + <!-- -PHCDEV- Page Container --> - <!-- Footer Content --> - <div id="footer" class="footer mb-4"> - <%= render 'layouts/phcpress/components/backend/footer/footer' %> - </div> - <!-- Footer Content --> + <!-- JavaScript --> + <%= javascript_include_tag "coloradmin/phcthemes_admin_panel_pack_coloradmin" %> + <!-- JavaScript --> - </div> - <!-- Page Container --> - - <!-- JavaScript --> - <%= javascript_include_tag "phcpress/application", 'data-turbolinks-track': 'reload' %> - <script src="https://cdn.ckeditor.com/4.10.0/full/ckeditor.js"></script> - <!-- JavaScript --> - - <!-- JavaScript Loader --> - <script> - $(document).ready(function() { - App.init(); - }); - </script> - <!-- JavaScript Loader --> - -</body> + </body> </html>