Sha256: b1189280702900df274b93e9fff2631fd544a43a3413b46b25134954b452d6bf

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Web sandbox console</title>
  <%= stylesheet_link_tag    "web_sandbox_console/application", media: "all" %>
  <%= javascript_include_tag "web_sandbox_console/application" %>
  <%= csrf_meta_tags %>
</head>
<body>
  <div class="container">
    <%= yield %>
  </div>
</body>
</html>

<script type="text/javascript">
  <% flash.each do |type, msg| %>
    <% tip = type == 'notice' ? '提示' : '其它' %>
    alert("<%= tip %>: <%= msg %>");
  <% end %>
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
web_sandbox_console-0.3.0 app/views/layouts/web_sandbox_console/application.html.erb