Continued work on project infrastructure; added sequelize for database, added more layout in the views
This commit is contained in:
@ -5,8 +5,16 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>{% block title %}{% endblock %} | Leviathan</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" charset="utf-8"></script>
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
{% include 'partials/navbar.twig' %}
|
||||
|
||||
<div class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{% include 'partials/footer.twig' %}
|
||||
</body>
|
||||
</html>
|
||||
|
4
views/partials/footer.twig
Normal file
4
views/partials/footer.twig
Normal file
@ -0,0 +1,4 @@
|
||||
<nav id="main-footer" class="container fluid">
|
||||
<p>Leviathan version {{ app_version }}</p>
|
||||
<p>Running node.js version {{ node_version }}</p>
|
||||
</nav>
|
11
views/partials/navbar.twig
Normal file
11
views/partials/navbar.twig
Normal file
@ -0,0 +1,11 @@
|
||||
<nav id="main-nav">
|
||||
<div class="nav-left">
|
||||
<h4>Leviathan</h4>
|
||||
<ul>
|
||||
<li><a href="/">Dashboard</a></li>
|
||||
<li><a href="/project">Projects</a></li>
|
||||
<li><a href="/hardware">Hardware</a></li>
|
||||
<li><a href="/benchmark">Benchmarks</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
Reference in New Issue
Block a user