Skip to content

Commit 3f89212

Browse files
committed
Merge pull request #199 from jeff-phillips-18/fixes
Add Cards View example to the toolbar directive docs.
2 parents 8efc8a5 + 1feb620 commit 3f89212

File tree

38 files changed

+2041
-936
lines changed

38 files changed

+2041
-936
lines changed

dist/angular-patternfly.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3893,7 +3893,7 @@ angular.module('patternfly.sort').directive('pfSort', function () {
38933893
* </ul>
38943894
*
38953895
* @example
3896-
<example module="patternfly.toolbars" deps="patternfly.filters, patternfly.sort">
3896+
<example module="patternfly.toolbars" deps="patternfly.filters, patternfly.sort, patternfly.views">
38973897
<file name="index.html">
38983898
<div ng-controller="ViewCtrl" class="row example-container">
38993899
<div class="col-md-12">
@@ -3923,6 +3923,19 @@ angular.module('patternfly.sort').directive('pfSort', function () {
39233923
</div>
39243924
</div>
39253925
</div>
3926+
<div class="col-md-12 card-view-container" ng-if="viewType == 'cardView'">
3927+
<div pf-card-view config="vm.listConfig" items="items">
3928+
<div class="col-md-12">
3929+
<span>{{item.name}}</span>
3930+
</div>
3931+
<div class="col-md-12">
3932+
<span>{{item.address}}</span>
3933+
</div>
3934+
<div class="col-md-12">
3935+
<span>{{item.birthMonth}}</span>
3936+
</div>
3937+
</div>
3938+
</div>
39263939
<div class="col-md-12">
39273940
<label class="events-label">Current Filters: </label>
39283941
</div>

dist/docs/css/angular-patternfly.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
.card-view-pf .card.active,
150150
.card-view-pf .card.active:hover,
151151
.card-view-pf .card.active:focus {
152-
border: solid 3px #39a5dc;
152+
border: solid 3px #00a8e1;
153153
}
154154

155155
.card-view-pf .card:hover,
@@ -349,7 +349,7 @@
349349
position: relative;
350350
}
351351

352-
.-heatmap--pf-container-pf .loading {
352+
.heatmap-pf-container-pf .loading {
353353
position: absolute;
354354
top: 100px;
355355
right: 50%;

dist/docs/grunt-scripts/angular-animate.js

Lines changed: 296 additions & 48 deletions
Large diffs are not rendered by default.

dist/docs/grunt-scripts/angular-patternfly.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3893,7 +3893,7 @@ angular.module('patternfly.sort').directive('pfSort', function () {
38933893
* </ul>
38943894
*
38953895
* @example
3896-
<example module="patternfly.toolbars" deps="patternfly.filters, patternfly.sort">
3896+
<example module="patternfly.toolbars" deps="patternfly.filters, patternfly.sort, patternfly.views">
38973897
<file name="index.html">
38983898
<div ng-controller="ViewCtrl" class="row example-container">
38993899
<div class="col-md-12">
@@ -3923,6 +3923,19 @@ angular.module('patternfly.sort').directive('pfSort', function () {
39233923
</div>
39243924
</div>
39253925
</div>
3926+
<div class="col-md-12 card-view-container" ng-if="viewType == 'cardView'">
3927+
<div pf-card-view config="vm.listConfig" items="items">
3928+
<div class="col-md-12">
3929+
<span>{{item.name}}</span>
3930+
</div>
3931+
<div class="col-md-12">
3932+
<span>{{item.address}}</span>
3933+
</div>
3934+
<div class="col-md-12">
3935+
<span>{{item.birthMonth}}</span>
3936+
</div>
3937+
</div>
3938+
</div>
39263939
<div class="col-md-12">
39273940
<label class="events-label">Current Filters: </label>
39283941
</div>

0 commit comments

Comments
 (0)