add tab navigation
This commit is contained in:
parent
140e5bf51e
commit
5c13dda585
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue