app/views/layouts/phccodesnipperpro/application.html.erb in phccodesnipperpro-4.4.0 vs app/views/layouts/phccodesnipperpro/application.html.erb in phccodesnipperpro-5.0.0

- old
+ new

@@ -1,79 +1,73 @@ -<!DOCTYPE html> -<html> -<head> - - <!-- SEO System --> - <% phc_seo_title "PHCCodeSnipper by PHCDevworks" %> - <% phc_seo_description "Application to manage and post code snippets." %> - <!-- 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 --> - - <!-- Rails Security Tags --> - <%= csrf_meta_tags %> - <%= csp_meta_tag %> - <!-- Rails Security Tags --> - - <!-- CSS Styles --> - <%= stylesheet_link_tag 'phccodesnipperpro/application', media: 'all', 'data-turbolinks-track': 'reload' %> - <!-- 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> - - <!-- Page Container --> - <div id="page-container" class="fade page-sidebar-fixed page-header-fixed"> - - <!-- Page Header --> - <div id="header" class="header navbar-default"> - <%= render 'layouts/phccodesnipperpro/components/backend/navigation/top_menu' %> - </div> - <!-- Page Header --> - - <!-- Page Sidebar --> - <div id="sidebar" class="sidebar"> - <%= render 'layouts/phccodesnipperpro/components/backend/sidebars/side_menu' %> - </div> - <div class="sidebar-bg"></div> - <!-- Page Sidebar --> - - <!-- Page Content --> - <div id="content" class="content"> - <%= render 'phcnotifi/default/notifications' %> - <%= yield %> - </div> - <!-- Page Content --> - - <!-- Footer Content --> - <div id="footer" class="footer mb-4"> - <%= render 'layouts/phccodesnipperpro/components/backend/footer/footer' %> - </div> - <!-- Footer Content --> - - </div> - <!-- Page Container --> - - <!-- JavaScript --> - <%= javascript_include_tag "phccodesnipperpro/application", 'data-turbolinks-track': 'reload' %> - <!-- JavaScript --> - - <!-- JavaScript Loader --> - <script> - $(document).ready(function() { - App.init(); - }); - </script> - <!-- JavaScript Loader --> - -</body> -</html> +<!DOCTYPE html> +<html> +<head> + + <!-- SEO System --> + <% phc_seo_title "BradPotts - PHCCodeSnipper-Pro" %> + <% phc_seo_description "Ruby on Rails 7 engine to manage script and post code snippets." %> + <!-- SEO System --> + + <!-- 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 --> + + <!-- 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 --> + +</head> +<body> + + <!-- -PHCDEV- Page Container --> + <div id="app" class="app app-header-fixed app-sidebar-fixed app-with-wide-sidebar"> + + <!-- -PHCDEV- Page Container - Header --> + <div id="header" class="app-header"> + <%= render "layouts/phccodesnipperpro/components/backend/navigation/top_menu" %> + </div> + <!-- -PHCDEV- Page Container - Header --> + + <!-- -PHCDEV- Page Container - Sidebar --> + <div id="sidebar" class="app-sidebar" data-disable-slide-animation="true"> + <%= render "layouts/phccodesnipperpro/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 --> + + <!-- -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/phccodesnipperpro/components/backend/footer/footer" %> + </div> + <!-- -PHCDEV- Page Container - Footer --> + </div> + </div> + <!-- -PHCDEV- Page Container - Content --> + + </div> + <!-- -PHCDEV- Page Container --> + + <!-- JavaScript --> + <%= javascript_include_tag "coloradmin/phcthemes_admin_panel_pack_coloradmin" %> + <!-- JavaScript --> + +</body> +</html>