Reader small image

You're reading from  Bootstrap Site Blueprints Volume II

Product typeBook
Published inJan 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785281099
Edition1st Edition
Languages
Right arrow
Author (1)
Matt Lambert
Matt Lambert
author image
Matt Lambert

Matt Lambert is a designer and developer with 15+ years of experience. He currently works full-time as a Senior Software Engineer for CA Technologies in Vancouver, BC, Canada. In his free time he is an author, artist, and musician. In 2005, Matt founded Cardeo Creative, which is a small web design studio based in Vancouver. He works with a select list of clients on a part-time basis while producing his own products on the side. To date, Matt has self-published 3 additional development books titled: Mastering Bootstrap, CSS3 Handbook, and the Freelance Startup Guide.
Read more about Matt Lambert

Right arrow

Coding the activity feed


The next template in the project that we're going to tackle is the activity feed. This is the page that you would see when you log in to your account. The main differences compared to the public profile are the form for posting an update and some changes to the right sidebar.

Let's see what this page will look like:

Customizing the first column

As I mentioned earlier, the first column in this template is going to be different compared to the public profile. The second left sidebar will be the one used for the remaining templates as they are all pages that are viewable by the logged-in user only. Start by creating a new file called _sidebar-left.ejs and save it to the /partial directory. The top of the sidebar, which includes the avatar and description, will remain the same. Here's the code again, or you can copy it from the first file:

<div><img src="img/main-avatar.jpg" class="main-avatar"></div>
<h2><a href="#">John Smith</a><...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Bootstrap Site Blueprints Volume II
Published in: Jan 2016Publisher: PacktISBN-13: 9781785281099

Author (1)

author image
Matt Lambert

Matt Lambert is a designer and developer with 15+ years of experience. He currently works full-time as a Senior Software Engineer for CA Technologies in Vancouver, BC, Canada. In his free time he is an author, artist, and musician. In 2005, Matt founded Cardeo Creative, which is a small web design studio based in Vancouver. He works with a select list of clients on a part-time basis while producing his own products on the side. To date, Matt has self-published 3 additional development books titled: Mastering Bootstrap, CSS3 Handbook, and the Freelance Startup Guide.
Read more about Matt Lambert