!!! 5 %html{:lang => "ja"} %head %meta{:charset => "utf-8"}/ %meta{:content => "IE=edge", "http-equiv" => "X-UA-Compatible"}/ %meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/ %meta{:content => "whiteleaf", :name => "author"}/ %meta{:content => "none", :name => "robots"}/ %title Narou.rb WEB UI #{@title ? "- #{@title}" : ""} %link{:href => "/favicon.ico", :rel => "shortcut icon"}/ - if @bootstrap_theme %link{:href => "/theme/#{@bootstrap_theme}/bootstrap.min.css", :rel => "stylesheet"}/ %link{:href => "/theme/#{@bootstrap_theme}/style.css", :rel => "stylesheet"}/ - else %link{:href => "//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css", :rel => "stylesheet"}/ %link{:href => "/resources/default-style.css?_=#{Version}", :rel => "stylesheet"}/ %link{:href => "//cdn.datatables.net/plug-ins/725b2a2115b/integration/bootstrap/3/dataTables.bootstrap.css", :rel => "stylesheet"}/ %link{:href => "//cdn.datatables.net/colreorder/1.1.2/css/dataTables.colReorder.css", :rel => "stylesheet"}/ %link{:href => "//cdn.datatables.net/colvis/1.1.1/css/dataTables.colVis.css", :rel => "stylesheet"}/ %link{:href => "//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.5/css/bootstrap-select.min.css", :rel => "stylesheet"}/ %link{:href => "/resources/perfect-scrollbar.min.css", :rel => "stylesheet"}/ %link{:href => "/resources/toggle-switch.css", :rel => "stylesheet"}/ %link{:href => "/style.css?_=#{Version}", :rel => "stylesheet"}/ / HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries /[if lt IE 9] :javascript var local_initialize_functions = []; var slideNavbar; %body - if session[:alert] - message, type = session[:alert] - session[:alert] = nil .container .fadeout-alert.alert(class="alert-#{type}") &= message != yield %script{:src => "//code.jquery.com/jquery-1.11.1.min.js"} %script{:src => "//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"} %script{:src => "//cdn.datatables.net/1.10.10/js/jquery.dataTables.min.js"} %script{:src => "//cdn.datatables.net/plug-ins/725b2a2115b/integration/bootstrap/3/dataTables.bootstrap.js"} %script{:src => "//cdn.datatables.net/colreorder/1.3.0/js/dataTables.colReorder.min.js"} %script{:src => "//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.5/js/bootstrap-select.min.js"} %script{:src => "//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.6.1/lodash.min.js"} %script{:src => "/resources/sprintf.js"} %script{:src => "/resources/dataTables.colVis.js"} %script{:src => "/resources/bootbox.min.js"} %script{:src => "/resources/shortcut.js"} %script{:src => "/resources/perfect-scrollbar.min.js"} %script{:src => "/resources/jquery.outerclick.js"} %script{:src => "/resources/jquery.slidenavbar.js"} %script{:src => "/resources/jquery.moveto.js"} %script{:src => "/resources/narou.library.js?_=#{Version}"} %script{:src => "/resources/narou.queue.js?_=#{Version}"} %script{:src => "/resources/common.ui.js?_=#{Version}"} :javascript $(document).ready(function($) { slideNavbar = $(".navbar-collapse").slideNavbar(); $.each(local_initialize_functions, function() { this($); }); }); - if env["PATH_INFO"] == "/" %script{:src => "/resources/narou.ui.js?_=#{Version}"}