mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
27 lines
854 B
Plaintext
27 lines
854 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<%= render 'layouts/common_head' %>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.3.0/Chart.bundle.min.js" integrity="sha256-1uH5nQ+1cUZEU9YOfMzc9rapsWyuGtvKPpvKN9xDgug=" crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/chartkick/2.1.0/chartkick.min.js" integrity="sha256-Nux9AlQvMarSN0Lk52PcKRlezOXTqHGlZRFgBJ7UXyY=" crossorigin="anonymous"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<%= render 'layouts/navbar' %>
|
|
|
|
<main>
|
|
<ul class="admin-nav">
|
|
<li><%= link_to 'Home', admin_dashboard_path %></li>
|
|
<% Rails.application.config.content_types[:all].each do |type| %>
|
|
<li>
|
|
<%= link_to "#{type.name.pluralize}", admin_content_type_path(type: type) %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
|
|
<%= yield %>
|
|
</main>
|
|
|
|
</body>
|
|
</html>
|