forked from bline/bootstrap-webpack-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (95 loc) · 3.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!-- ## index.html -->
<!-- ### Html Header -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>bootstrap-webpack example</title>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<!-- ### Main Header -->
<div id="header" class="jumbotron">
<h2>bootstrap-webpack example</h2>
<p>
This is an example of using <a href="https://github.com/bline/bootstrap-webpack">bootstrap-webpack</a>.
You may also find the gulpfile useful if you use <a href="http://gulpjs.com/">gulp</a>.
</p>
<p>
<a class="btn btn-primary" href="https://github.com/bline/bootstrap-webpack">bootstrap-webpack</a>
<a class="btn btn-info" href="https://github.com/bline/bootstrap-webpack-example">bootstrap-webpack-example</a>
</p>
</div>
<!--
### Navigation
This navigation bar is affixed to the top of the screen once
the browser scrolls past the [Main Header].
-->
<div id="nav">
<nav class="navbar navbar-default navbar-static">
<div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="glyphicon glyphicon-bar"></span>
<span class="glyphicon glyphicon-bar"></span>
<span class="glyphicon glyphicon-bar"></span>
</a>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav" role="tablist">
<!-- Loop over each file and present a navigation link to activate the tab. -->
<% _.forEach(docs, function (doc, i) { %>
<li role="presentation" class="<%= i === 0 ? 'active' : '' %>">
<a href="#<%= doc.id %>" role="tab" data-toggle="tab"><%= doc.file.relative %></a>
</li>
<% }); %>
</ul>
</div>
</div>
</nav>
</div>
<!--
### Main Content
Outputs the generated html and docs in two panes.
-->
<div class="tab-content doc-content">
<% _.forEach(docs, function (doc, i) { %>
<div role="tabpanel" class="tab-pane fade<%= i === 0 ? ' in active' : '' %>" id="<%= doc.id %>">
<table class="file-table">
<!-- doc.docco is an array of sections. Each one contains the -->
<!-- html for displaying the documention and code associated with it. -->
<% _.forEach(doc.docco, function (section, i) { %>
<tr>
<td class="file-docs">
<%= section.docsHtml %>
</td>
<!-- If no code text, leave an empty cell for formatting -->
<td class="file-code">
<% if (!(/^\s*$/).test(section.codeText)) { %>
<%= section.codeHtml %>
<% } else { %>
<% } %>
</td>
</tr>
<% }); %>
</table>
</div>
<% }); %>
</div>
</div>
<!-- ### Scripts -->
<!-- The main entry point generated by [webpack](http://github.com/webpack/webpack) -->
<script src="main.js"></script>
<!-- Use google-code-prettify to enhance the code view. -->
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
</body>
</html>