mdb-ui-kit/docs/examples/dashboard/template.html

102 lines
3.7 KiB
HTML
Raw Normal View History

---
layout: example
title: Dashboard Template
group: material-design
js: example.js
---
<!-- Custom styles for this template -->
<link href="example.css" rel="stylesheet">
<div class="bmd-layout-container bmd-drawer-f-l bmd-drawer-overlay-md-down bmd-drawer-in-lg-up">
<header class="bmd-layout-header">
<div class="navbar navbar-light bg-faded">
<button class="navbar-toggler hidden-lg-up" type="button" data-toggle="drawer" data-target="#my-drawer">
<span class="sr-only">Toggle drawer</span>
<i class="material-icons">menu</i>
</button>
<ul class="nav navbar-nav">
<li class="nav-item">
Home
</li>
</ul>
<ul class="nav navbar-nav pull-xs-right">
<li class="nav-item">
<div class="bmd-form-group bmd-collapse-inline pull-xs-right">
<button class="btn bmd-btn-icon" for="search" data-toggle="collapse" data-target="#collapse-search" aria-controls="collapse-search">
<i class="material-icons">search</i>
</button>
<span id="collapse-search" class="collapse">
<input class="form-control" type="text" id="search" placeholder="Enter your query...">
</span>
</div>
</li>
<li class="nav-item">
<div class="dropdown">
<button class="btn bmd-btn-icon btn-secondary dropdown-toggle" type="button" id="more-menu" data-toggle="dropdown" aria-haspopup="true" >
<i class="material-icons">more_vert</i>
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="more-menu">
<button class="dropdown-item" type="button">About</button>
<button class="dropdown-item" type="button">Contact</button>
<button class="dropdown-item" type="button">Legal information</button>
</div>
</div>
</li>
</ul>
</div>
</header>
<div id="my-drawer" class="bmd-layout-drawer">
<header>
<img src="images/user.jpg" class="avatar">
<div class="account">
<span>hello@example.com</span>
<div class="dropdown">
<button class="btn bmd-btn-icon dropdown-toggle" type="button" id="nav-account-menu" data-toggle="dropdown" aria-haspopup="true">
<i class="material-icons">arrow_drop_down</i>
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="nav-account-menu">
<a class="dropdown-item">hello@example.com</a>
<a class="dropdown-item">info@example.com</a>
<a class="dropdown-item"><i class="material-icons">add</i>Add account...</a>
</div>
</div>
</div>
</header>
<ul class="list-group">
<a class="list-group-item">
<i class="material-icons" role="presentation">home</i>Home
</a>
<a class="list-group-item">
<i class="material-icons" role="presentation">inbox</i>Inbox
</a>
<a class="list-group-item">
<i class="material-icons" role="presentation">forum</i>Forums
</a>
<a class="list-group-item">
<i class="material-icons" role="presentation">flag</i>Updates
</a>
<a class="list-group-item">
<i class="material-icons" role="presentation">local_offer</i>Promos
</a>
<a class="list-group-item">
<i class="material-icons" role="presentation">people</i>Social
</a>
<li class="bmd-layout-spacer"></li>
<a class="list-group-item">
<i class="material-icons" role="presentation">help_outline</i><span class="sr-only">Help</span>
</a>
</ul>
</div>
<main class="bmd-layout-content">
<div class="container">
<!-- yield content here -->
</div>
</main>
</div>