|
10 | 10 | <script src="ui-bootstrap-tpls-<%= pkg.version%>.js"></script>
|
11 | 11 | <script src="assets/plunker.js"></script>
|
12 | 12 | <script src="assets/app.js"></script>
|
13 |
| - <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/<%= bsversion %>/css/bootstrap.min.css" rel="stylesheet"/> |
| 13 | + |
| 14 | + <link href="http://netdna.bootstrapcdn.com/bootstrap/<%= bsversion %>/css/bootstrap.css" rel="stylesheet"/> |
| 15 | + <link href="http://netdna.bootstrapcdn.com/font-awesome/<%= faversion %>/css/font-awesome.min.css" rel="stylesheet"> |
14 | 16 | <link rel="stylesheet" href="assets/rainbow.css"/>
|
15 | 17 | <link rel="stylesheet" href="assets/demo.css"/>
|
16 |
| - |
17 | 18 | <link rel="author" href="https://github.com/angular-ui/bootstrap/graphs/contributors">
|
18 | 19 | </head>
|
19 | 20 | <body class="ng-cloak" ng-controller="MainCtrl">
|
20 | 21 | <header class="navbar navbar-fixed-top">
|
21 | 22 | <div class="navbar-inner">
|
22 | 23 | <div class="container">
|
23 |
| - <div class="dropdown pull-left"> |
24 |
| - <a class="brand dropdown-toggle" role="button" data-toggle="dropdown" href="#"> |
25 |
| - UI Bootstrap |
26 |
| - <b class="caret"></b> |
27 |
| - </a> |
28 |
| - <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> |
29 |
| - <li><a href="https://github.com/angular-ui/"><strong>Related Projects:</strong></a></li> |
30 |
| - <li class="divider"></li> |
31 |
| - <li><a href="http://angular-ui.github.io/">AngularUI</a></li> |
32 |
| - <li><a href="http://angular-ui.github.io/ng-grid/">Grid</a></li> |
33 |
| - <li><a href="https://github.com/angular-ui/AngularJs.tmbundle">AngularJS.tmbundle</a></li> |
34 |
| - <li><a href="https://github.com/angular-ui/ui-router">Router <span class="label label-success">New!</span></a></li> |
35 |
| - </ul> |
36 |
| - </div> |
37 |
| - <div class="nav-collapse"> |
38 |
| - <ul class="nav"> |
39 |
| - <li> |
40 |
| - <a href="#" role="button" class="dropdown-toggle"> |
41 |
| - Directives <b class="caret"></b> |
42 |
| - </a> |
43 |
| - <ul class="dropdown-menu"> |
44 |
| - <% demoModules.forEach(function(module) { %> |
45 |
| - <li><a href="#<%= module.name %>"><%= module.displayName %></a></li> |
46 |
| - <% }); %> |
47 |
| - </ul> |
48 |
| - </li> |
49 |
| - <li><a href="#getting_started">Getting started</a></li> |
| 24 | + <ul class="nav navbar-nav"> |
| 25 | + <li class="dropdown"> |
| 26 | + <a href="#" class="navbar-brand dropdown-toggle"> |
| 27 | + UI Bootstrap <b class="caret"></b> |
| 28 | + </a> |
| 29 | + <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> |
| 30 | + <li><a href="https://github.com/angular-ui/"><strong>Related Projects:</strong></a></li> |
| 31 | + <li class="divider"></li> |
| 32 | + <li><a href="http://angular-ui.github.io/">AngularUI</a></li> |
| 33 | + <li><a href="http://angular-ui.github.io/ng-grid/">Grid</a></li> |
| 34 | + <li><a href="https://github.com/angular-ui/AngularJs.tmbundle">AngularJS.tmbundle</a></li> |
| 35 | + <li><a href="https://github.com/angular-ui/ui-router">Router <span class="label label-success">New!</span></a></li> |
| 36 | + </ul> |
| 37 | + </li> |
| 38 | + |
| 39 | + <li class="dropdown"> |
| 40 | + <a href="#" role="button" class="dropdown-toggle"> |
| 41 | + Directives <b class="caret"></b> |
| 42 | + </a> |
| 43 | + <ul class="dropdown-menu"> |
| 44 | + <% demoModules.forEach(function(module) { %> |
| 45 | + <li><a href="#<%= module.name %>"><%= module.displayName %></a></li> |
| 46 | + <% }); %> |
| 47 | + </ul> |
| 48 | + </li> |
| 49 | + <li><a href="#getting_started">Getting started</a></li> |
50 | 50 | </ul>
|
51 |
| - </div> |
52 | 51 | </div>
|
53 | 52 | </div>
|
54 | 53 | </header>
|
55 |
| -<div style="margin: 32px;"></div> |
| 54 | +<div class="header-placeholder"></div> |
56 | 55 | <div role="main">
|
57 |
| - |
58 | 56 | <header class="hero-unit" id="overview">
|
59 | 57 | <div class="container">
|
60 | 58 | <h1>
|
@@ -116,15 +114,13 @@ <h1>
|
116 | 114 | </div>
|
117 | 115 | </div>
|
118 | 116 | </header>
|
119 |
| - |
120 | 117 | <div class="container">
|
121 |
| - |
122 |
| - <section id="getting_started"> |
123 |
| - <div class="page-header"> |
124 |
| - <h1>Getting started</h1> |
125 |
| - </div> |
126 |
| - <div class="row"> |
127 |
| - <div class="span12"> |
| 118 | + <section id="getting_started" class="row"> |
| 119 | + <div class="col-12"> |
| 120 | + <div class="page-header"> |
| 121 | + <h1>Getting started</h1> |
| 122 | + </div> |
| 123 | + <div> |
128 | 124 | <h3>Dependencies</h3>
|
129 | 125 | <p>
|
130 | 126 | This repository contains a set of <strong>native AngularJS directives</strong> based on
|
@@ -166,47 +162,48 @@ <h3>CSS</h3>
|
166 | 162 | </div>
|
167 | 163 | </div>
|
168 | 164 | </section>
|
169 |
| - |
170 |
| - <% demoModules.forEach(function(module) { %> |
171 |
| - <section id="<%= module.name %>"> |
172 |
| - <div class="page-header"> |
173 |
| - <h1><%= module.displayName %><small> |
174 |
| - (<a target="_blank" href="https://github.com/angular-ui/bootstrap/tree/master/src/<%= module.name %>">ui.bootstrap.<%= module.name %></a>) |
175 |
| - </small></h1> |
176 |
| - </div> |
177 |
| - <div class="row"> |
178 |
| - <div class="span6"> |
179 |
| - <%= module.docs.html %> |
180 |
| - </div> |
181 |
| - <div class="span6"> |
182 |
| - <%= module.docs.md %> |
183 |
| - </div> |
184 |
| - </div> |
185 |
| - <hr> |
186 |
| - <div class="row"> |
187 |
| - <div class="span12" ng-controller="PlunkerCtrl"> |
188 |
| - <div class="pull-right"> |
189 |
| - <button class="btn btn-info" id="plunk-btn" ng-click="edit('<%= ngversion%>', '<%= bsversion %>', '<%= pkg.version%>', '<%= module.name %>')"><i class="icon-edit icon-white"></i> Edit in plunker</button> |
190 |
| - </div> |
191 |
| - <tabset> |
192 |
| - <tab heading="Markup"> |
193 |
| - <div plunker-content="markup"> |
194 |
| - <pre ng-non-bindable><code data-language="html"><%- module.docs.html %></code></pre> |
| 165 | + <% demoModules.forEach(function(module) { %> |
| 166 | + <section id="<%= module.name %>" class="row"> |
| 167 | + <div class="col-12"> |
| 168 | + <div class="page-header"> |
| 169 | + <h1><%= module.displayName %><small> |
| 170 | + (<a target="_blank" href="https://github.com/angular-ui/bootstrap/tree/master/src/<%= module.name %>">ui.bootstrap.<%= module.name %></a>) |
| 171 | + </small></h1> |
| 172 | + </div> |
| 173 | + <div class="row"> |
| 174 | + <div class="col-6"> |
| 175 | + <%= module.docs.html %> |
195 | 176 | </div>
|
196 |
| - </tab> |
197 |
| - <tab heading="JavaScript"> |
198 |
| - <div plunker-content="javascript"> |
199 |
| - <pre ng-non-bindable><code data-language="javascript"><%- module.docs.js %></code></pre> |
| 177 | + <div class="col-6"> |
| 178 | + <%= module.docs.md %> |
200 | 179 | </div>
|
201 |
| - </tab> |
202 |
| - </tabset> |
203 |
| - </div> |
204 |
| - </div> |
205 |
| - </section> |
206 |
| - <script><%= module.docs.js %></script> |
207 |
| - <% }); %> |
208 |
| - </div> |
209 |
| -</div> |
| 180 | + </div> |
| 181 | + <hr> |
| 182 | + <div class="row"> |
| 183 | + <div class="col-12" ng-controller="PlunkerCtrl"> |
| 184 | + <div class="pull-right"> |
| 185 | + <button class="btn btn-info" id="plunk-btn" ng-click="edit('<%= ngversion%>', '<%= bsversion %>', '<%= pkg.version%>', '<%= module.name %>')"><i class="icon-edit icon-white"></i> Edit in plunker</button> |
| 186 | + </div> |
| 187 | + <tabset> |
| 188 | + <tab heading="Markup"> |
| 189 | + <div plunker-content="markup"> |
| 190 | + <pre ng-non-bindable><code data-language="html"><%- module.docs.html %></code></pre> |
| 191 | + </div> |
| 192 | + </tab> |
| 193 | + <tab heading="JavaScript"> |
| 194 | + <div plunker-content="javascript"> |
| 195 | + <pre ng-non-bindable><code data-language="javascript"><%- module.docs.js %></code></pre> |
| 196 | + </div> |
| 197 | + </tab> |
| 198 | + </tabset> |
| 199 | + </div> |
| 200 | + </div> |
| 201 | + </div> |
| 202 | + </section> |
| 203 | + <script><%= module.docs.js %></script> |
| 204 | + <% }); %> |
| 205 | + </div><!-- /.container --> |
| 206 | +</div><!-- /.main --> |
210 | 207 | <footer class="footer">
|
211 | 208 | <div class="container">
|
212 | 209 | <p>Designed and built by <a href="https://github.com/angular-ui?tab=members" target="_blank">Angular-UI team</a> and <a href="https://github.com/angular-ui/bootstrap/graphs/contributors" target="_blank">contributors</a>.</p>
|
|
0 commit comments