side menu place-holder
This commit is contained in:
parent
304336a4a2
commit
9e86fadd39
|
@ -23,6 +23,7 @@
|
||||||
<header class="layout-header">
|
<header class="layout-header">
|
||||||
<nav>
|
<nav>
|
||||||
<div class="nav-wrapper brown">
|
<div class="nav-wrapper brown">
|
||||||
|
<a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a>
|
||||||
<a href="/" class="brand-logo">Fast Calorie</a>
|
<a href="/" class="brand-logo">Fast Calorie</a>
|
||||||
<ul id="nav" class="right">
|
<ul id="nav" class="right">
|
||||||
<li class="datepicker" style="margin-right: 1rem;">
|
<li class="datepicker" style="margin-right: 1rem;">
|
||||||
|
@ -33,6 +34,36 @@
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main class="layout-content">
|
<main class="layout-content">
|
||||||
|
<ul id="slide-out" class="sidenav">
|
||||||
|
<li class="brown">
|
||||||
|
<a href="#!"><i class="material-icons">home</i>Fast Calorie</a>
|
||||||
|
</li>
|
||||||
|
<li class="brown">
|
||||||
|
<div class="user-view">
|
||||||
|
<div style="min-height: 6rem;">
|
||||||
|
<!-- <img src="images/office.jpg"> -->
|
||||||
|
</div>
|
||||||
|
<a href=""><span class="white-text name">Version 0.0.0</span></a>
|
||||||
|
<a href=""><span class="white-text email">©2020 Geoff Doty</span></a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="divider"></div>
|
||||||
|
</li>
|
||||||
|
<li><a href="#!"><i class="material-icons">input</i>Log Weight</a></li>
|
||||||
|
<li>
|
||||||
|
<div class="divider"></div>
|
||||||
|
</li>
|
||||||
|
<li><a class="subheader">Reports</a></li>
|
||||||
|
<li><a class="waves-effect" href="#!"><i class="material-icons">trending_down</i>Calories</a></li>
|
||||||
|
<li><a class="waves-effect" href="#!"><i class="material-icons">trending_down</i>Weight</a></li>
|
||||||
|
<li>
|
||||||
|
<div class="divider"></div>
|
||||||
|
</li>
|
||||||
|
<li><a class="waves-effect" href="#!"><i class="material-icons">info_outline</i>About</a></li>
|
||||||
|
<li ><a class="waves-effect" href="#!"><i class="material-icons">settings</i>Settings</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s2"></div>
|
<div class="col s2"></div>
|
||||||
|
|
|
@ -165,6 +165,9 @@ Litedom({
|
||||||
// [M]aterial modal
|
// [M]aterial modal
|
||||||
let modal = document.querySelector('#detailsModal');
|
let modal = document.querySelector('#detailsModal');
|
||||||
M.Modal.init(modal, {});
|
M.Modal.init(modal, {});
|
||||||
|
|
||||||
|
var sidebar = document.querySelectorAll('.sidenav');
|
||||||
|
M.Sidenav.init(sidebar, {});
|
||||||
},
|
},
|
||||||
removed() {},
|
removed() {},
|
||||||
populate() {
|
populate() {
|
||||||
|
|
Loading…
Reference in New Issue