obdev/app/views/layouts/application.html.erb

53 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-01-14 21:20:14 -06:00
<!doctype html>
<html lang="en">
2024-01-11 19:40:58 -06:00
<head>
2024-01-14 21:20:14 -06:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2024-01-11 19:40:58 -06:00
<title>Obdev</title>
2024-01-14 21:20:14 -06:00
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'rails-ujs', 'data-turbolinks-track': 'reload' %>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
</head>
<body class="bg-light-grey">
<%= render 'layouts/navbar' %>
<div class="container mt-4">
<%= yield %>
</div>
<br>
<% if notice %>
<div class="container">
<div class="row justify-content-center">
<div class="col-auto">
<div class="alert alert-info" role="alert"><%= notice %></div>
</div>
</div>
</div>
<% end %>
<% if alert %>
<div class="container">
<div class="row justify-content-center">
<div class="col-auto">
<div class="alert alert-warning" role="alert"><%= alert %></div>
</div>
</div>
</div>
<% end %>
2024-01-14 21:20:14 -06:00
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
2024-01-11 19:40:58 -06:00
</html>