Sha256: cfa23de40f1ccdadd4127de385f5d2852fc7ebfa30ddd3f180441a794701ad1d
Contents?: true
Size: 2 KB
Versions: 1
Compression:
Stored size: 2 KB
Contents
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>MoPage</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="description" content=""> <meta name="author" content=""> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <%= javascript_include_tag "https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js", "https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js" %> <![endif]--> <%= stylesheet_link_tag "mo_page/application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "mo_page/application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> <script> $(document).ready(function() { var csrfToken = $('meta[name=csrf-token]').attr('content'); var extraParams = {authenticity_token: csrfToken}; window.page_editor = KindEditor.create('#page_body', {basePath: '/kindeditor/', minWidth: 200, minHeight: 400, uploadJson: '<%= images_path %>', extraFileUploadParams: extraParams}); }); </script> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <%= link_to "MoPage", pages_path, :class => "navbar-brand" %> </div> </div> </div> <div class="container"> <% flash.each do |name, msg| %> <%= content_tag :div, :class => "alert alert-#{ name == :error ? "danger" : "success" } alert-dismissable" do %> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <%= msg %> <% end %> <% end %> <%= yield %> </div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mo_page-0.0.2 | app/views/layouts/mo_page/application.html.erb |