Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 68e19ef

Browse files
Justin Hallpkozlowski-opensource
authored andcommitted
demo(all): style demo for bootstrap3
1 parent 3f33a16 commit 68e19ef

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ module.exports = function(grunt) {
1717

1818
grunt.initConfig({
1919
ngversion: '1.0.5',
20-
bsversion: '3.0.0-rc1',
21-
faversion: '3.2.1',
20+
bsversion: '3.0.0-rc2',
2221
modules: [],//to be filled in by build task
2322
pkg: grunt.file.readJSON('package.json'),
2423
dist: 'dist',

misc/demo/assets/demo.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ section {
3232
background-color: #f5f5f5;
3333
}
3434

35-
.hero-unit {
35+
.jumobotron {
3636
position: relative;
3737
padding: 40px 0;
3838
color: #fff;
@@ -54,11 +54,11 @@ section {
5454
-webkit-border-radius: 0;
5555
-o-border-radius: 0;
5656
}
57-
.hero-unit .btn, .pagination-centered .btn {
57+
.jumobotron .btn, .pagination-centered .btn {
5858
float: none;
5959
font-weight: normal;
6060
}
61-
.hero-unit p {
61+
.jumobotron p {
6262
margin: 1em 0;
6363
}
6464
.bs-docs-social {

misc/demo/index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<script src="assets/plunker.js"></script>
1212
<script src="assets/app.js"></script>
1313

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+
<link href="http://netdna.bootstrapcdn.com/bootstrap/<%= bsversion %>/css/bootstrap.min.css" rel="stylesheet"/>
15+
<link href="http://netdna.bootstrapcdn.com/bootstrap/<%= bsversion %>/css/bootstrap-glyphicons.css" rel="stylesheet">
1616
<link rel="stylesheet" href="assets/rainbow.css"/>
1717
<link rel="stylesheet" href="assets/demo.css"/>
1818
<link rel="author" href="https://github.com/angular-ui/bootstrap/graphs/contributors">
@@ -53,7 +53,7 @@
5353
</header>
5454
<div class="header-placeholder"></div>
5555
<div role="main">
56-
<header class="hero-unit" id="overview">
56+
<header class="jumbotron text-center" id="overview">
5757
<div class="container">
5858
<h1>
5959
UI Bootstrap
@@ -63,11 +63,11 @@ <h1>
6363
href="http://angular-ui.github.io">AngularUI Team</a></strong></p>
6464

6565
<p class="btn-group">
66-
<a class="btn" href="https://github.com/angular-ui/bootstrap"><i class="icon-github"></i> Code on Github</a>
66+
<a class="btn btn-default" href="https://github.com/angular-ui/bootstrap">Code on Github</a>
6767
<a class="btn btn-primary" href="https://github.com/angular-ui/bootstrap/tree/gh-pages">
68-
<i class="icon-download-alt icon-white"></i> Download <small>(<%= pkg.version%>)</small>
68+
<i class="glyphicon glyphicon-download-alt"></i> Download <small>(<%= pkg.version%>)</small>
6969
</a>
70-
<a class="btn" ng-click="showBuildModal()"><i class="icon-wrench"></i> Create a Build</a>
70+
<a class="btn btn-default" ng-click="showBuildModal()"><i class="glyphicon glyphicon-wrench"></i> Create a Build</a>
7171
</p>
7272
</div>
7373
<div class="bs-docs-social">
@@ -116,7 +116,7 @@ <h1>
116116
</header>
117117
<div class="container">
118118
<section id="getting_started" class="row">
119-
<div class="col-12">
119+
<div class="col-md-12">
120120
<div class="page-header">
121121
<h1>Getting started</h1>
122122
</div>
@@ -164,25 +164,25 @@ <h3>CSS</h3>
164164
</section>
165165
<% demoModules.forEach(function(module) { %>
166166
<section id="<%= module.name %>" class="row">
167-
<div class="col-12">
167+
<div class="col-md-12">
168168
<div class="page-header">
169169
<h1><%= module.displayName %><small>
170170
(<a target="_blank" href="https://github.com/angular-ui/bootstrap/tree/master/src/<%= module.name %>">ui.bootstrap.<%= module.name %></a>)
171171
</small></h1>
172172
</div>
173173
<div class="row">
174-
<div class="col-6">
174+
<div class="col-md-6">
175175
<%= module.docs.html %>
176176
</div>
177-
<div class="col-6">
177+
<div class="col-md-6">
178178
<%= module.docs.md %>
179179
</div>
180180
</div>
181181
<hr>
182182
<div class="row">
183-
<div class="col-12" ng-controller="PlunkerCtrl">
183+
<div class="col-md-12" ng-controller="PlunkerCtrl">
184184
<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>
185+
<button class="btn btn-info" id="plunk-btn" ng-click="edit('<%= ngversion%>', '<%= bsversion %>', '<%= pkg.version%>', '<%= module.name %>')"><i class="glyphicon glyphicon-edit"></i> Edit in plunker</button>
186186
</div>
187187
<tabset>
188188
<tab heading="Markup">
@@ -229,7 +229,7 @@ <h3 style="text-align: center;">{{buildErrorText}}</h3>
229229
</div>
230230
</div>
231231
<div class="modal-footer">
232-
<a class="btn btn-primary" ng-disabled="!selectedModules.length" ng-click="selectedModules.length && downloadBuild()"><i class="icon-download-alt icon-white"></i> Download {{selectedModules.length}} Modules</a>
232+
<a class="btn btn-primary" ng-disabled="!selectedModules.length" ng-click="selectedModules.length && downloadBuild()"><i class="glyphicon glyphicon-download-alt"></i> Download {{selectedModules.length}} Modules</a>
233233
<a class="btn" ng-click="cancel()">Cancel</a>
234234
</div>
235235
</script>

0 commit comments

Comments
 (0)