scaffoldr 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +99 -0
- data/LICENSE.txt +20 -0
- data/README.md +95 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/images/Basic.png +0 -0
- data/images/Fluid.png +0 -0
- data/images/JustifiedNav.png +0 -0
- data/images/MarketingNarrow.png +0 -0
- data/images/Starter.png +0 -0
- data/lib/generators/bootstrap/layout/basic/USAGE +6 -0
- data/lib/generators/bootstrap/layout/basic/basic_generator.rb +13 -0
- data/lib/generators/bootstrap/layout/fluid/USAGE +6 -0
- data/lib/generators/bootstrap/layout/fluid/fluid_generator.rb +13 -0
- data/lib/generators/bootstrap/layout/generator_base.rb +38 -0
- data/lib/generators/bootstrap/layout/justified_nav/USAGE +6 -0
- data/lib/generators/bootstrap/layout/justified_nav/justified_nav_generator.rb +12 -0
- data/lib/generators/bootstrap/layout/marketing_narrow/USAGE +6 -0
- data/lib/generators/bootstrap/layout/marketing_narrow/marketing_narrow_generator.rb +12 -0
- data/lib/generators/bootstrap/layout/starter/USAGE +6 -0
- data/lib/generators/bootstrap/layout/starter/starter_generator.rb +12 -0
- data/lib/generators/bootstrap/layout/templates/_nav.html.erb +6 -0
- data/lib/generators/bootstrap/layout/templates/_nav.html.haml +18 -0
- data/lib/generators/bootstrap/layout/templates/_nav_second_tier.html.erb +7 -0
- data/lib/generators/bootstrap/layout/templates/_nav_second_tier.html.haml +19 -0
- data/lib/generators/bootstrap/layout/templates/base.html.erb +46 -0
- data/lib/generators/bootstrap/layout/templates/base.html.haml +23 -0
- data/lib/generators/bootstrap/layout/templates/basic.css +5 -0
- data/lib/generators/bootstrap/layout/templates/basic.html.erb +67 -0
- data/lib/generators/bootstrap/layout/templates/basic.html.haml +70 -0
- data/lib/generators/bootstrap/layout/templates/fluid.css +17 -0
- data/lib/generators/bootstrap/layout/templates/fluid.html.erb +83 -0
- data/lib/generators/bootstrap/layout/templates/fluid.html.haml +94 -0
- data/lib/generators/bootstrap/layout/templates/home_controller.rb.erb +2 -0
- data/lib/generators/bootstrap/layout/templates/index.html.erb +5 -0
- data/lib/generators/bootstrap/layout/templates/index.html.haml +4 -0
- data/lib/generators/bootstrap/layout/templates/justified_nav.css +70 -0
- data/lib/generators/bootstrap/layout/templates/justified_nav.html.erb +53 -0
- data/lib/generators/bootstrap/layout/templates/justified_nav.html.haml +53 -0
- data/lib/generators/bootstrap/layout/templates/marketing_narrow.css +36 -0
- data/lib/generators/bootstrap/layout/templates/marketing_narrow.html.erb +52 -0
- data/lib/generators/bootstrap/layout/templates/marketing_narrow.html.haml +58 -0
- data/lib/generators/bootstrap/layout/templates/starter.css +5 -0
- data/lib/generators/bootstrap/layout/templates/starter.html.erb +23 -0
- data/lib/generators/bootstrap/layout/templates/starter.html.haml +18 -0
- data/lib/scaffoldr.rb +4 -0
- data/scaffoldr.gemspec +106 -0
- data/spec/scaffoldr_spec.rb +7 -0
- data/spec/spec_helper.rb +12 -0
- metadata +182 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'generators/bootstrap/layout/generator_base'
|
2
|
+
|
3
|
+
module Bootstrap
|
4
|
+
module Layout
|
5
|
+
module Generators
|
6
|
+
class StarterGenerator < Bootstrap::Layout::GeneratorBase
|
7
|
+
source_root File.expand_path('../../templates', __FILE__)
|
8
|
+
desc "Create starter scaffolding layout file."
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<li><a href="#">Action</a></li>
|
2
|
+
<li><a href="#">Another action</a></li>
|
3
|
+
<li><a href="#">Something else here</a></li>
|
4
|
+
<li class="divider"></li>
|
5
|
+
<li class="nav-header">Nav header</li>
|
6
|
+
<li><a href="#">Separated link</a></li>
|
7
|
+
<li><a href="#">One more separated link</a></li>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
%li
|
2
|
+
%a(href="#")
|
3
|
+
Action
|
4
|
+
%li
|
5
|
+
%a(href="#")
|
6
|
+
Another action
|
7
|
+
%li
|
8
|
+
%a(href="#")
|
9
|
+
Something else here
|
10
|
+
%li.divider
|
11
|
+
%li.nav-header
|
12
|
+
Nav header
|
13
|
+
%li
|
14
|
+
%a(href="#")
|
15
|
+
Separated link
|
16
|
+
%li
|
17
|
+
%a(href="#")
|
18
|
+
One more separated link
|
19
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title><%%= content_for?(:title) ? yield(:title) : "<%= app_name.titleize %>" %></title>
|
7
|
+
<%%= csrf_meta_tags %>
|
8
|
+
|
9
|
+
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
10
|
+
<!--[if lt IE 9]>
|
11
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script>
|
12
|
+
<![endif]-->
|
13
|
+
|
14
|
+
<%%= stylesheet_link_tag "application", :media => "all" %>
|
15
|
+
<style>
|
16
|
+
|
17
|
+
<%= style %>
|
18
|
+
|
19
|
+
</style>
|
20
|
+
<!-- For third-generation iPad with high-resolution Retina display: -->
|
21
|
+
<!-- Size should be 144 x 144 pixels -->
|
22
|
+
<%%= favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' %>
|
23
|
+
|
24
|
+
<!-- For iPhone with high-resolution Retina display: -->
|
25
|
+
<!-- Size should be 114 x 114 pixels -->
|
26
|
+
<%%= favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114' %>
|
27
|
+
|
28
|
+
<!-- For first- and second-generation iPad: -->
|
29
|
+
<!-- Size should be 72 x 72 pixels -->
|
30
|
+
<%%= favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72' %>
|
31
|
+
|
32
|
+
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
|
33
|
+
<!-- Size should be 57 x 57 pixels -->
|
34
|
+
<%%= favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png' %>
|
35
|
+
|
36
|
+
<!-- For all other devices -->
|
37
|
+
<!-- Size should be 32 x 32 pixels -->
|
38
|
+
<%%= favicon_link_tag 'favicon.ico', :rel => 'shortcut icon' %>
|
39
|
+
|
40
|
+
<%%= javascript_include_tag "application" %>
|
41
|
+
</head>
|
42
|
+
|
43
|
+
<body>
|
44
|
+
<%= body %>
|
45
|
+
</body>
|
46
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
!!! 5
|
2
|
+
%html(lang="en")
|
3
|
+
%head
|
4
|
+
%meta(charset="utf-8")
|
5
|
+
%meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
6
|
+
%title= content_for?(:title) ? yield(:title) : "<%= app_name.titleize %>"
|
7
|
+
= csrf_meta_tags
|
8
|
+
|
9
|
+
/ HTML5 shim, for IE6-8 support of HTML5 elements
|
10
|
+
/[if lt IE 9]
|
11
|
+
= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"
|
12
|
+
= stylesheet_link_tag "application", :media => "all"
|
13
|
+
:css
|
14
|
+
<%= style %>
|
15
|
+
= favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144'
|
16
|
+
= favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114'
|
17
|
+
= favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72'
|
18
|
+
= favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png'
|
19
|
+
= favicon_link_tag 'favicon.ico', :rel => 'shortcut icon'
|
20
|
+
|
21
|
+
= javascript_include_tag "application"
|
22
|
+
%body
|
23
|
+
<%= body %>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<div class="navbar navbar-inverse navbar-fixed-top">
|
2
|
+
<div class="navbar-inner">
|
3
|
+
<div class="container">
|
4
|
+
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
5
|
+
<span class="icon-bar"></span>
|
6
|
+
<span class="icon-bar"></span>
|
7
|
+
<span class="icon-bar"></span>
|
8
|
+
</button>
|
9
|
+
<a class="brand" href="#"><%= app_name.titleize %></a>
|
10
|
+
<div class="nav-collapse collapse">
|
11
|
+
<ul class="nav">
|
12
|
+
<%%= render :partial => 'shared/nav' %>
|
13
|
+
<li class="dropdown">
|
14
|
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">More<b class="caret"></b></a>
|
15
|
+
<ul class="dropdown-menu">
|
16
|
+
<%%= render :partial => 'shared/nav_second_tier.html.erb' %>
|
17
|
+
</ul>
|
18
|
+
</li>
|
19
|
+
</ul>
|
20
|
+
<form class="navbar-form pull-right">
|
21
|
+
<input class="span2" type="text" placeholder="Email">
|
22
|
+
<input class="span2" type="password" placeholder="Password">
|
23
|
+
<button type="submit" class="btn">Sign in</button>
|
24
|
+
</form>
|
25
|
+
</div><!--/.nav-collapse -->
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div class="container">
|
31
|
+
|
32
|
+
<!-- Main hero unit for a primary marketing message or call to action -->
|
33
|
+
<div class="hero-unit">
|
34
|
+
<h1>Hello, world!</h1>
|
35
|
+
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
36
|
+
<p><a href="#" class="btn btn-primary btn-large">Learn more »</a></p>
|
37
|
+
|
38
|
+
<%%= yield %>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<!-- Example row of columns -->
|
43
|
+
<div class="row">
|
44
|
+
<div class="span4">
|
45
|
+
<h2>Heading</h2>
|
46
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
47
|
+
<p><a class="btn" href="#">View details »</a></p>
|
48
|
+
</div>
|
49
|
+
<div class="span4">
|
50
|
+
<h2>Heading</h2>
|
51
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
52
|
+
<p><a class="btn" href="#">View details »</a></p>
|
53
|
+
</div>
|
54
|
+
<div class="span4">
|
55
|
+
<h2>Heading</h2>
|
56
|
+
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
57
|
+
<p><a class="btn" href="#">View details »</a></p>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<hr>
|
62
|
+
|
63
|
+
<footer>
|
64
|
+
<p>© Company 2013</p>
|
65
|
+
</footer>
|
66
|
+
|
67
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
.navbar.navbar-inverse.navbar-fixed-top
|
2
|
+
.navbar-inner
|
3
|
+
.container
|
4
|
+
%button.btn.btn-navbar(type="button" data-toggle="collapse" data-target=".nav-collapse")
|
5
|
+
%span.icon-bar
|
6
|
+
%span.icon-bar
|
7
|
+
%span.icon-bar
|
8
|
+
%a.brand(href="#")
|
9
|
+
<%= app_name.titleize %>
|
10
|
+
.nav-collapse.collapse
|
11
|
+
%ul.nav
|
12
|
+
= render :partial => 'shared/nav'
|
13
|
+
%li.dropdown
|
14
|
+
%a(href="#" class="dropdown-toggle" data-toggle="dropdown")
|
15
|
+
More
|
16
|
+
%b.caret
|
17
|
+
%ul.dropdown-menu
|
18
|
+
= render :partial => 'shared/nav_second_tier.html.erb'
|
19
|
+
%form.navbar-form.pull-right
|
20
|
+
%input.span2(type="text" placeholder="Email")
|
21
|
+
%input.span2(type="password" placeholder="Password")
|
22
|
+
%button.btn(type="submit")
|
23
|
+
Sign in
|
24
|
+
|
25
|
+
.container
|
26
|
+
.hero-unit
|
27
|
+
%h1
|
28
|
+
Hello, world!
|
29
|
+
%p
|
30
|
+
This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.
|
31
|
+
%p
|
32
|
+
%a(href="#" class="btn btn-primary btn-large")
|
33
|
+
Learn more »
|
34
|
+
|
35
|
+
= yield
|
36
|
+
|
37
|
+
|
38
|
+
.row
|
39
|
+
.span4
|
40
|
+
%h2
|
41
|
+
Heading
|
42
|
+
%p
|
43
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
44
|
+
%p
|
45
|
+
%a.btn(href="#")
|
46
|
+
View details »
|
47
|
+
.span4
|
48
|
+
%h2
|
49
|
+
Heading
|
50
|
+
%p
|
51
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
52
|
+
%p
|
53
|
+
%a.btn(href="#")
|
54
|
+
View details »
|
55
|
+
.span4
|
56
|
+
%h2
|
57
|
+
Heading
|
58
|
+
%p
|
59
|
+
Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
|
60
|
+
%p
|
61
|
+
%a.btn(href="#")
|
62
|
+
View details »
|
63
|
+
|
64
|
+
%hr
|
65
|
+
|
66
|
+
%footer
|
67
|
+
%p
|
68
|
+
© Company 2013
|
69
|
+
|
70
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
body {
|
3
|
+
padding-top: 60px;
|
4
|
+
padding-bottom: 40px;
|
5
|
+
}
|
6
|
+
.sidebar-nav {
|
7
|
+
padding: 9px 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
@media (max-width: 980px) {
|
11
|
+
/* Enable use of floated navbar text */
|
12
|
+
.navbar-text.pull-right {
|
13
|
+
float: none;
|
14
|
+
padding-left: 5px;
|
15
|
+
padding-right: 5px;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<div class="navbar navbar-inverse navbar-fixed-top">
|
2
|
+
<div class="navbar-inner">
|
3
|
+
<div class="container-fluid">
|
4
|
+
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
5
|
+
<span class="icon-bar"></span>
|
6
|
+
<span class="icon-bar"></span>
|
7
|
+
<span class="icon-bar"></span>
|
8
|
+
</button>
|
9
|
+
<a class="brand" href="#"><%= app_name.titleize %></a>
|
10
|
+
<div class="nav-collapse collapse">
|
11
|
+
<p class="navbar-text pull-right">
|
12
|
+
Logged in as <a href="#" class="navbar-link">Username</a>
|
13
|
+
</p>
|
14
|
+
<ul class="nav">
|
15
|
+
<%%= render :partial => 'shared/nav' %>
|
16
|
+
</ul>
|
17
|
+
</div><!--/.nav-collapse -->
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="container-fluid">
|
23
|
+
<div class="row-fluid">
|
24
|
+
<div class="span3">
|
25
|
+
<div class="well sidebar-nav">
|
26
|
+
<ul class="nav nav-list">
|
27
|
+
<%%= render :partial => 'shared/nav_second_tier' %>
|
28
|
+
</ul>
|
29
|
+
</div><!--/.well -->
|
30
|
+
</div><!--/span-->
|
31
|
+
<div class="span9">
|
32
|
+
<div class="hero-unit">
|
33
|
+
<h1>Hello, world!</h1>
|
34
|
+
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
35
|
+
<p><a href="#" class="btn btn-primary btn-large">Learn more »</a></p>
|
36
|
+
|
37
|
+
<%%= yield %>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
<div class="row-fluid">
|
41
|
+
<div class="span4">
|
42
|
+
<h2>Heading</h2>
|
43
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
44
|
+
<p><a class="btn" href="#">View details »</a></p>
|
45
|
+
</div><!--/span-->
|
46
|
+
<div class="span4">
|
47
|
+
<h2>Heading</h2>
|
48
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
49
|
+
<p><a class="btn" href="#">View details »</a></p>
|
50
|
+
</div><!--/span-->
|
51
|
+
<div class="span4">
|
52
|
+
<h2>Heading</h2>
|
53
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
54
|
+
<p><a class="btn" href="#">View details »</a></p>
|
55
|
+
</div><!--/span-->
|
56
|
+
</div><!--/row-->
|
57
|
+
<div class="row-fluid">
|
58
|
+
<div class="span4">
|
59
|
+
<h2>Heading</h2>
|
60
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
61
|
+
<p><a class="btn" href="#">View details »</a></p>
|
62
|
+
</div><!--/span-->
|
63
|
+
<div class="span4">
|
64
|
+
<h2>Heading</h2>
|
65
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
66
|
+
<p><a class="btn" href="#">View details »</a></p>
|
67
|
+
</div><!--/span-->
|
68
|
+
<div class="span4">
|
69
|
+
<h2>Heading</h2>
|
70
|
+
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
|
71
|
+
<p><a class="btn" href="#">View details »</a></p>
|
72
|
+
</div><!--/span-->
|
73
|
+
</div><!--/row-->
|
74
|
+
</div><!--/span-->
|
75
|
+
</div><!--/row-->
|
76
|
+
|
77
|
+
<hr>
|
78
|
+
|
79
|
+
<footer>
|
80
|
+
<p>© Company 2013</p>
|
81
|
+
</footer>
|
82
|
+
|
83
|
+
</div><!--/.fluid-container-->
|
@@ -0,0 +1,94 @@
|
|
1
|
+
.navbar.navbar-inverse.navbar-fixed-top
|
2
|
+
.navbar-inner
|
3
|
+
.container-fluid
|
4
|
+
%button.btn.btn-navbar(type="button" data-toggle="collapse" data-target=".nav-collapse")
|
5
|
+
%span.icon-bar
|
6
|
+
%span.icon-bar
|
7
|
+
%span.icon-bar
|
8
|
+
%a.brand(href="#")
|
9
|
+
<%= app_name.titleize %>
|
10
|
+
.nav-collapse.collapse
|
11
|
+
%p.navbar-text.pull-right
|
12
|
+
Logged in as
|
13
|
+
%a.navbar-link(href="#")
|
14
|
+
Username
|
15
|
+
%ul.nav
|
16
|
+
= render :partial => 'shared/nav'
|
17
|
+
|
18
|
+
|
19
|
+
.container-fluid
|
20
|
+
.row-fluid
|
21
|
+
.span3
|
22
|
+
.well.sidebar-nav
|
23
|
+
.nav.nav-list
|
24
|
+
= render :partial => 'shared/nav_second_tier'
|
25
|
+
.span9
|
26
|
+
.hero-unit
|
27
|
+
%h1
|
28
|
+
Hello, world!
|
29
|
+
%p
|
30
|
+
This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.
|
31
|
+
%p
|
32
|
+
%a.btn.btn-primary.btn-large(href="#")
|
33
|
+
Learn more »
|
34
|
+
|
35
|
+
= yield
|
36
|
+
|
37
|
+
.row-fluid
|
38
|
+
.span4
|
39
|
+
%h2
|
40
|
+
Heading
|
41
|
+
%p
|
42
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
43
|
+
%p
|
44
|
+
%a.btn(href="#")
|
45
|
+
View details »
|
46
|
+
.span4
|
47
|
+
%h2
|
48
|
+
Heading
|
49
|
+
%p
|
50
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
51
|
+
%p
|
52
|
+
%a.btn(href="#")
|
53
|
+
View details »
|
54
|
+
|
55
|
+
.span4
|
56
|
+
%h2
|
57
|
+
Heading
|
58
|
+
%p
|
59
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
60
|
+
%p
|
61
|
+
%a.btn(href="#")
|
62
|
+
View details »
|
63
|
+
|
64
|
+
.row-fluid
|
65
|
+
.span4
|
66
|
+
%h2
|
67
|
+
Heading
|
68
|
+
%p
|
69
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
70
|
+
%p
|
71
|
+
%a.btn(href="#")
|
72
|
+
View details »
|
73
|
+
.span4
|
74
|
+
%h2
|
75
|
+
Heading
|
76
|
+
%p
|
77
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
78
|
+
%p
|
79
|
+
%a.btn(href="#")
|
80
|
+
View details »
|
81
|
+
|
82
|
+
.span4
|
83
|
+
%h2
|
84
|
+
Heading
|
85
|
+
%p
|
86
|
+
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
|
87
|
+
%p
|
88
|
+
%a.btn(href="#")
|
89
|
+
View details »
|
90
|
+
|
91
|
+
%hr
|
92
|
+
%footer
|
93
|
+
%p
|
94
|
+
© Company 2013
|