2024-12-29 17:12:54 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2024-12-30 13:23:22 +08:00
|
|
|
<!-- <title><%#= content_for(:title) || "Sample App" %></title>-->
|
2024-12-30 00:09:54 +08:00
|
|
|
<title><%= yield(:title) %> | Ruby on Rails Tutorial Sample App</title>
|
2024-12-29 17:12:54 +08:00
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
<%= csp_meta_tag %>
|
|
|
|
|
|
|
|
<%= yield :head %>
|
|
|
|
|
|
|
|
<%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
|
|
|
|
<%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
|
|
|
|
|
|
|
|
<link rel="icon" href="/icon.png" type="image/png">
|
|
|
|
<link rel="icon" href="/icon.svg" type="image/svg+xml">
|
|
|
|
<link rel="apple-touch-icon" href="/icon.png">
|
|
|
|
|
|
|
|
<%# Includes all stylesheet files in app/assets/stylesheets %>
|
2024-12-30 17:24:18 +08:00
|
|
|
<%#= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
|
|
|
<%= stylesheet_link_tag "application", media: 'all', 'data-turbo-track': 'reload' %>
|
2024-12-29 17:12:54 +08:00
|
|
|
<%= javascript_importmap_tags %>
|
2024-12-30 13:23:22 +08:00
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.min.js">
|
|
|
|
</script>
|
|
|
|
<![endif]-->
|
2024-12-29 17:12:54 +08:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2024-12-30 13:23:22 +08:00
|
|
|
<header class="navbar navbar-fixed-top navbar-inverse">
|
|
|
|
<div class="container">
|
|
|
|
<%= link_to "sample app", '#', id: "logo" %>
|
|
|
|
<nav>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<li><%= link_to "Home", '#' %></li>
|
|
|
|
<li><%= link_to "Help", '#' %></li>
|
|
|
|
<li><%= link_to "Login in", '#' %></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</header>
|
|
|
|
<div class="container">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
2024-12-29 17:12:54 +08:00
|
|
|
</body>
|
|
|
|
</html>
|