mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-23 17:28:45 +02:00
Use Rails plugin generator and adapt
This commit is contained in:
31
app/views/layouts/crono/application.html.erb
Normal file
31
app/views/layouts/crono/application.html.erb
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
|
||||
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
|
||||
<title>Crono Dashboard</title>
|
||||
<%= stylesheet_link_tag 'crono/materialize.min.css', media: "all" %>
|
||||
<%= stylesheet_link_tag 'crono/application', media: "all" %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
|
||||
<body class="blue-grey darken-2">
|
||||
<nav class="blue-grey white-text" role="navigation">
|
||||
<a class="brand-logo center" href="<%= root_path %>">
|
||||
<b>Crono</b> Dashboard
|
||||
</a>
|
||||
</nav>
|
||||
<main class="container blue-grey lighten-4">
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<footer class="page-footer blue-grey darken-2">
|
||||
<div class="footer-copyright blue-grey">
|
||||
Crono v<%= Crono::VERSION %>
|
||||
<a class="right" href="https://github.com/plashchynski/crono" target="_blank">Documentation</a>
|
||||
</div>
|
||||
</footer>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user