Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Bootstrap Site Blueprints Volume II

You're reading from  Bootstrap Site Blueprints Volume II

Product type Book
Published in Jan 2016
Publisher Packt
ISBN-13 9781785281099
Pages 328 pages
Edition 1st Edition
Languages
Author (1):
Matt Lambert Matt Lambert
Profile icon Matt Lambert

Coding the dashboard


The main body of the dashboard is going to hold the main portion of this project. We'll start by setting up the two-column layout, followed by inserting the sidebar with pill-based navigation. Next, we'll update the typography styles and insert pie charts. Finally, we'll customize the Bootstrap panel and table components and add a line chart for good measure.

Setting up the layout

The dashboard is going to use a two-column layout. The left column will be our sidebar navigation, and it will use the Bootstrap pill component. The right-side will hold our page content with charts, panels, and tables. If you haven't already done so, create a file named index.ejs in the root of your project and enter the layout code:

<div class="container">
  <div class="row">
    <div class="col-lg-3">
      <!-- sidebar //-->
    </div>
    <div class="col-lg-9">
      <!-- content //-->
    </div>
  </div>
</div>

This layout code is...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}