!!! %html %head %title #{@page_title}| PiousboxCMS %link{ :rel => 'icon', :href => "/favicon_#{ENV['RAILS_ENV']}.gif" } %meta{ :name => :viewport, :content => 'width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=2' } %meta{ :charset => 'UTF-8' } %meta{ :description => @page_description } = javascript_include_tag "//code.jquery.com/jquery-3.3.1.min.js" %script{ :src => "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" } = stylesheet_link_tag "//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" = stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all' = stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons" = stylesheet_link_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" = javascript_include_tag "//cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" = javascript_include_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" = stylesheet_link_tag "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/css/select2.min.css" = javascript_include_tag "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/js/select2.min.js" -# summernote = stylesheet_link_tag "//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css" = javascript_include_tag "//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js" -# quill core -# = stylesheet_link_tag "//cdn.quilljs.com/1.3.6/quill.core.css" -# = javascript_include_tag "//cdn.quilljs.com/1.3.6/quill.core.js" -# quill -# = stylesheet_link_tag "//cdn.quilljs.com/1.3.6/quill.snow.css" -# = javascript_include_tag "//cdn.quilljs.com/1.3.6/quill.min.js" - # @TODO: document? test-drive? - if @include_materialize = stylesheet_link_tag "//cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" = javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js" = stylesheet_link_tag "ish_manager/application", media: "all" = javascript_include_tag "ish_manager/application" %script{crossorigin: "", src: "https://unpkg.com/react@18/umd/react.development.js"} %script{crossorigin: "", src: "https://unpkg.com/react-dom@18/umd/react-dom.development.js"} %script{src: "https://unpkg.com/prop-types@15.6/prop-types.min.js"} %script{src: "https://unpkg.com/axios/dist/axios.min.js"} %script{src: "https://unpkg.com/recharts/umd/Recharts.js"} = csrf_meta_tags %body{ class: [ params[:controller].gsub("ish_manager/",""), "#{params[:controller].gsub("ish_manager/","")}-#{params[:action]}", params[:action], "application-fullwidth" ] } = render :partial => "ish_manager/application/main_header_#{@current_profile.role_name}" = render 'alerts_notices' if notice || alert %span.absolute.collapse-expand#mainW = yield = render 'ish_manager/application/main_footer' = render 'analytics' if Rails.env.production?