add tab navigation

This commit is contained in:
pixeldesu 2015-05-13 22:29:37 +02:00
parent 140e5bf51e
commit 5c13dda585
1 changed files with 23 additions and 0 deletions

View File

@ -8,4 +8,27 @@
= succeed '!' do
= APP_CONFIG['site_name']
.container
.row
.col-md-8.col-sm-6
%h2 Popular Content
%p Most answered questions and answers with most smiles!
%div{role: "tabpanel"}
%ul.nav.nav-tabs{role: "tablist"}
%li.active{role: "presentation"}
%a{href: "#answers", role: "tab", aria: {controls: "answers"}, data: {toggle: "tab"}}
Answers
%li{role: "presentation"}
%a{href: "#questions", role: "tab", aria: {controls: "questions"}, data: {toggle: "tab"}}
Questions
.col-md-4.col-sm-6
%h2 Users
%p Users that ask the most questions and new users!
%div{role: "tabpanel"}
%ul.nav.nav-tabs{role: "tablist"}
%li.active{role: "presentation"}
%a{href: "#asked", role: "tab", aria: {controls: "asked"}, data: {toggle: "tab"}}
Most Asked Questions
%li{role: "presentation"}
%a{href: "#new", role: "tab", aria: {controls: "new"}, data: {toggle: "tab"}}
New Users
%p TODO: Add content