patternfly-sass 3.3.3 → 3.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/spec/html/cards.html CHANGED
@@ -142,41 +142,47 @@
142
142
  <div class="row row-cards-pf">
143
143
  <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
144
144
  <div class="col-xs-6 col-sm-4 col-md-2">
145
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
145
146
  <div class="card-pf card-pf-accented card-pf-aggregate-status">
146
- <h2 class="card-pf-title">
147
- <span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">0</span> Ipsum
148
- </h2>
149
- <div class="card-pf-body">
150
- <p class="card-pf-aggregate-status-notifications">
151
- <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span>
152
- </p>
153
- </div>
154
- </div>
147
+ <h2 class="card-pf-title">
148
+ <span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">0</span> Ipsum
149
+ </h2>
150
+ <div class="card-pf-body">
151
+ <p class="card-pf-aggregate-status-notifications">
152
+ <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span>
153
+ </p>
154
+ </div>
155
+ </div>
156
+
155
157
  </div>
156
158
  <div class="col-xs-6 col-sm-4 col-md-2">
159
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
157
160
  <div class="card-pf card-pf-accented card-pf-aggregate-status">
158
- <h2 class="card-pf-title">
159
- <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">20</span> Amet</a>
160
- </h2>
161
- <div class="card-pf-body">
162
- <p class="card-pf-aggregate-status-notifications">
163
- <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span>
164
- <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-warning-triangle-o"></span>1</a></span>
165
- </p>
166
- </div>
167
- </div>
161
+ <h2 class="card-pf-title">
162
+ <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">20</span> Amet</a>
163
+ </h2>
164
+ <div class="card-pf-body">
165
+ <p class="card-pf-aggregate-status-notifications">
166
+ <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span>
167
+ <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-warning-triangle-o"></span>1</a></span>
168
+ </p>
169
+ </div>
170
+ </div>
171
+
168
172
  </div>
169
173
  <div class="col-xs-6 col-sm-4 col-md-2">
174
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
170
175
  <div class="card-pf card-pf-accented card-pf-aggregate-status">
171
- <h2 class="card-pf-title">
172
- <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">9</span> Adipiscing</a>
173
- </h2>
174
- <div class="card-pf-body">
175
- <p class="card-pf-aggregate-status-notifications">
176
- <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span>
177
- </p>
178
- </div>
179
- </div>
176
+ <h2 class="card-pf-title">
177
+ <a href="#"><span class="fa fa-shield"></span><span class="card-pf-aggregate-status-count">9</span> Adipiscing</a>
178
+ </h2>
179
+ <div class="card-pf-body">
180
+ <p class="card-pf-aggregate-status-notifications">
181
+ <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span>
182
+ </p>
183
+ </div>
184
+ </div>
185
+
180
186
  </div>
181
187
  <div class="col-xs-6 col-sm-4 col-md-2">
182
188
  <div class="card-pf card-pf-accented card-pf-aggregate-status">
@@ -218,47 +224,53 @@
218
224
  <div class="row row-cards-pf">
219
225
  <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
220
226
  <div class="col-xs-12 col-sm-4 col-md-3 col-lg-2">
227
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
221
228
  <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini">
222
- <h2 class="card-pf-title">
223
- <span class="fa fa-rebel"></span>
224
- <span class="card-pf-aggregate-status-count">0</span> Ipsum
225
- </h2>
226
- <div class="card-pf-body">
227
- <p class="card-pf-aggregate-status-notifications">
228
- <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span>
229
- </p>
230
- </div>
231
- </div>
229
+ <h2 class="card-pf-title">
230
+ <span class="fa fa-rebel"></span>
231
+ <span class="card-pf-aggregate-status-count">0</span> Ipsum
232
+ </h2>
233
+ <div class="card-pf-body">
234
+ <p class="card-pf-aggregate-status-notifications">
235
+ <span class="card-pf-aggregate-status-notification"><a href="#" class="add" data-toggle="tooltip" data-placement="top" title="Add Ipsum"><span class="pficon pficon-add-circle-o"></span></a></span>
236
+ </p>
237
+ </div>
238
+ </div>
239
+
232
240
  </div>
233
241
  <div class="col-xs-12 col-sm-4 col-md-3 col-lg-2">
242
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
234
243
  <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini">
235
- <h2 class="card-pf-title">
236
- <span class="fa fa-paper-plane"></span>
237
- <a href="#">
238
- <span class="card-pf-aggregate-status-count">20</span> Amet
239
- </a>
240
- </h2>
241
- <div class="card-pf-body">
242
- <p class="card-pf-aggregate-status-notifications">
243
- <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span>
244
- </p>
245
- </div>
246
- </div>
244
+ <h2 class="card-pf-title">
245
+ <span class="fa fa-paper-plane"></span>
246
+ <a href="#">
247
+ <span class="card-pf-aggregate-status-count">20</span> Amet
248
+ </a>
249
+ </h2>
250
+ <div class="card-pf-body">
251
+ <p class="card-pf-aggregate-status-notifications">
252
+ <span class="card-pf-aggregate-status-notification"><a href="#"><span class="pficon pficon-error-circle-o"></span>4</a></span>
253
+ </p>
254
+ </div>
255
+ </div>
256
+
247
257
  </div>
248
258
  <div class="col-xs-12 col-sm-4 col-md-3 col-lg-2">
259
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
249
260
  <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini">
250
- <h2 class="card-pf-title">
251
- <span class="pficon pficon-cluster"></span>
252
- <a href="#">
253
- <span class="card-pf-aggregate-status-count">9</span> Adipiscing
254
- </a>
255
- </h2>
256
- <div class="card-pf-body">
257
- <p class="card-pf-aggregate-status-notifications">
258
- <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span>
259
- </p>
260
- </div>
261
- </div>
261
+ <h2 class="card-pf-title">
262
+ <span class="pficon pficon-cluster"></span>
263
+ <a href="#">
264
+ <span class="card-pf-aggregate-status-count">9</span> Adipiscing
265
+ </a>
266
+ </h2>
267
+ <div class="card-pf-body">
268
+ <p class="card-pf-aggregate-status-notifications">
269
+ <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span>
270
+ </p>
271
+ </div>
272
+ </div>
273
+
262
274
  </div>
263
275
  <div class="col-xs-12 col-sm-4 col-md-3 col-lg-2">
264
276
  <div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-aggregate-status-mini">
@@ -307,121 +319,124 @@
307
319
  </div>
308
320
  </div>
309
321
  <div class="row row-cards-pf">
310
- <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
311
322
  <div class="col-xs-12 col-sm-6 col-md-4">
323
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
312
324
  <div class="card-pf">
313
- <div class="card-pf-heading">
314
- <h2 class="card-pf-title">
315
- Top Utilized Clusters
316
- </h2>
317
- </div>
318
- <div class="card-pf-body">
319
- <div class="progress-description">
320
- RHOS6-Controller
321
- </div>
322
- <div class="progress progress-label-top-right">
323
- <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100" style="width: 95%;" data-toggle="tooltip" title="95% Used">
324
- <span><strong>190.0 of 200.0 GB</strong> Used</span>
325
- </div>
326
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;" data-toggle="tooltip" title="5% Available">
327
- <span class="sr-only">5% Available</span>
328
- </div>
329
- </div>
330
- <div class="progress-description">
331
- CFMEQE-Cluster
332
- </div>
333
- <div class="progress progress-label-top-right">
334
- <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Used">
335
- <span><strong>100.0 of 200.0 GB</strong> Used</span>
336
- </div>
337
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Available">
338
- <span class="sr-only">50% Available</span>
339
- </div>
340
- </div>
341
- <div class="progress-description">
342
- RHOS-Undercloud
343
- </div>
344
- <div class="progress progress-label-top-right">
345
- <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%;" data-toggle="tooltip" title="70% Used">
346
- <span><strong>140.0 of 200.0 GB</strong> Used</span>
347
- </div>
348
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%;" data-toggle="tooltip" title="30% Available">
349
- <span class="sr-only">30% Available</span>
350
- </div>
351
- </div>
352
- <div class="progress-description">
353
- RHEL6-Controller
354
- </div>
355
- <div class="progress progress-label-top-right">
356
- <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="76.5" aria-valuemin="0" aria-valuemax="100" style="width: 76.5%;" data-toggle="tooltip" title="76.5% Used">
357
- <span><strong>153.0 of 200.0 GB</strong> Used</span>
358
- </div>
359
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="23.5" aria-valuemin="0" aria-valuemax="100" style="width: 23.5%;" data-toggle="tooltip" title="23.5% Available">
360
- <span class="sr-only">23.5% Available</span>
361
- </div>
362
- </div>
363
- </div>
364
- </div>
325
+ <div class="card-pf-heading">
326
+ <h2 class="card-pf-title">
327
+ Top Utilized Clusters
328
+ </h2>
329
+ </div>
330
+ <div class="card-pf-body">
331
+ <div class="progress-description">
332
+ RHOS6-Controller
333
+ </div>
334
+ <div class="progress progress-label-top-right">
335
+ <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100" style="width: 95%;" data-toggle="tooltip" title="95% Used">
336
+ <span><strong>190.0 of 200.0 GB</strong> Used</span>
337
+ </div>
338
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%;" data-toggle="tooltip" title="5% Available">
339
+ <span class="sr-only">5% Available</span>
340
+ </div>
341
+ </div>
342
+ <div class="progress-description">
343
+ CFMEQE-Cluster
344
+ </div>
345
+ <div class="progress progress-label-top-right">
346
+ <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Used">
347
+ <span><strong>100.0 of 200.0 GB</strong> Used</span>
348
+ </div>
349
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="50% Available">
350
+ <span class="sr-only">50% Available</span>
351
+ </div>
352
+ </div>
353
+ <div class="progress-description">
354
+ RHOS-Undercloud
355
+ </div>
356
+ <div class="progress progress-label-top-right">
357
+ <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%;" data-toggle="tooltip" title="70% Used">
358
+ <span><strong>140.0 of 200.0 GB</strong> Used</span>
359
+ </div>
360
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%;" data-toggle="tooltip" title="30% Available">
361
+ <span class="sr-only">30% Available</span>
362
+ </div>
363
+ </div>
364
+ <div class="progress-description">
365
+ RHEL6-Controller
366
+ </div>
367
+ <div class="progress progress-label-top-right">
368
+ <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="76.5" aria-valuemin="0" aria-valuemax="100" style="width: 76.5%;" data-toggle="tooltip" title="76.5% Used">
369
+ <span><strong>153.0 of 200.0 GB</strong> Used</span>
370
+ </div>
371
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="23.5" aria-valuemin="0" aria-valuemax="100" style="width: 23.5%;" data-toggle="tooltip" title="23.5% Available">
372
+ <span class="sr-only">23.5% Available</span>
373
+ </div>
374
+ </div>
375
+ </div>
376
+ </div>
377
+
365
378
  </div>
366
379
  <div class="col-xs-12 col-sm-6 col-md-4">
380
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
367
381
  <div class="card-pf">
368
- <div class="card-pf-heading">
369
- <h2 class="card-pf-title">
370
- Quotas
371
- </h2>
372
- </div>
373
- <div class="card-pf-body">
374
- <div class="progress-container progress-description-left progress-label-right">
375
- <div class="progress-description">
376
- CPU
377
- </div>
378
- <div class="progress">
379
- <div class="progress-bar" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%;" data-toggle="tooltip" title="25% Used">
380
- <span><strong>115 of 460</strong> MHz</span>
381
- </div>
382
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%;" data-toggle="tooltip" title="75% Available">
383
- <span class="sr-only">75% Available</span>
384
- </div>
385
- </div>
386
- </div>
387
- <div class="progress-container progress-description-left progress-label-right">
388
- <div class="progress-description">
389
- Memory
390
- </div>
391
- <div class="progress">
392
- <div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Used">
393
- <span><strong>8 of 16</strong> GB</span>
394
- </div>
395
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Available">
396
- <span class="sr-only">50% Available</span>
397
- </div>
398
- </div>
399
- </div>
400
- <div class="progress-container progress-description-left progress-label-right">
401
- <div class="progress-description">
402
- Pods
403
- </div>
404
- <div class="progress">
405
- <div class="progress-bar" role="progressbar" aria-valuenow="62.5" aria-valuemin="0" aria-valuemax="100" style="width: 62.5%;" data-toggle="tooltip" title="62.5% Used">
406
- <span><strong>5 of 8</strong> Total</span>
407
- </div>
408
- <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="37.5" aria-valuemin="0" aria-valuemax="100" style="width: 37.5%;" data-toggle="tooltip" title="37.5% Available">
409
- <span class="sr-only">37.5% Available</span>
410
- </div>
411
- </div>
412
- </div>
413
- <div class="progress-container progress-description-left progress-label-right">
414
- <div class="progress-description">
415
- Services
416
- </div>
417
- <div class="progress">
418
- <div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;" data-toggle="tooltip" title="100% Used">
419
- <span><strong>2 of 2</strong> Total</span>
420
- </div>
421
- </div>
422
- </div>
423
- </div>
424
- </div>
382
+ <div class="card-pf-heading">
383
+ <h2 class="card-pf-title">
384
+ Quotas
385
+ </h2>
386
+ </div>
387
+ <div class="card-pf-body">
388
+ <div class="progress-container progress-description-left progress-label-right">
389
+ <div class="progress-description">
390
+ CPU
391
+ </div>
392
+ <div class="progress">
393
+ <div class="progress-bar" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%;" data-toggle="tooltip" title="25% Used">
394
+ <span><strong>115 of 460</strong> MHz</span>
395
+ </div>
396
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%;" data-toggle="tooltip" title="75% Available">
397
+ <span class="sr-only">75% Available</span>
398
+ </div>
399
+ </div>
400
+ </div>
401
+ <div class="progress-container progress-description-left progress-label-right">
402
+ <div class="progress-description">
403
+ Memory
404
+ </div>
405
+ <div class="progress">
406
+ <div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Used">
407
+ <span><strong>8 of 16</strong> GB</span>
408
+ </div>
409
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%;" data-toggle="tooltip" title="8 GB Available">
410
+ <span class="sr-only">50% Available</span>
411
+ </div>
412
+ </div>
413
+ </div>
414
+ <div class="progress-container progress-description-left progress-label-right">
415
+ <div class="progress-description">
416
+ Pods
417
+ </div>
418
+ <div class="progress">
419
+ <div class="progress-bar" role="progressbar" aria-valuenow="62.5" aria-valuemin="0" aria-valuemax="100" style="width: 62.5%;" data-toggle="tooltip" title="62.5% Used">
420
+ <span><strong>5 of 8</strong> Total</span>
421
+ </div>
422
+ <div class="progress-bar progress-bar-remaining" role="progressbar" aria-valuenow="37.5" aria-valuemin="0" aria-valuemax="100" style="width: 37.5%;" data-toggle="tooltip" title="37.5% Available">
423
+ <span class="sr-only">37.5% Available</span>
424
+ </div>
425
+ </div>
426
+ </div>
427
+ <div class="progress-container progress-description-left progress-label-right">
428
+ <div class="progress-description">
429
+ Services
430
+ </div>
431
+ <div class="progress">
432
+ <div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;" data-toggle="tooltip" title="100% Used">
433
+ <span><strong>2 of 2</strong> Total</span>
434
+ </div>
435
+ </div>
436
+ </div>
437
+ </div>
438
+ </div>
439
+
425
440
  </div>
426
441
  <div class="col-xs-12 col-sm-6 col-md-4">
427
442
  <div class="card-pf">
@@ -485,296 +500,300 @@
485
500
  </div>
486
501
  </div><!-- /row -->
487
502
  <div class="row row-cards-pf">
488
- <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
489
- <div class="col-md-12">
490
- <div class="card-pf card-pf-utilization">
491
- <div class="card-pf-heading">
492
- <p class="card-pf-heading-details">Last 30 days</p>
493
- <h2 class="card-pf-title">
494
- Utilization
495
- </h2>
496
- </div>
497
- <div class="card-pf-body">
498
- <div class="row">
499
- <div class="col-xs-12 col-sm-4 col-md-4">
500
- <h3 class="card-pf-subtitle">CPU</h3>
501
- <p class="card-pf-utilization-details">
502
- <span class="card-pf-utilization-card-details-count">50</span>
503
+ <div class="col-md-12">
504
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
505
+ <div class="card-pf card-pf-utilization">
506
+ <div class="card-pf-heading">
507
+ <p class="card-pf-heading-details">Last 30 days</p>
508
+ <h2 class="card-pf-title">
509
+ Utilization
510
+ </h2>
511
+ </div>
512
+ <div class="card-pf-body">
513
+ <div class="row">
514
+ <div class="col-xs-12 col-sm-4 col-md-4">
515
+ <h3 class="card-pf-subtitle">CPU</h3>
516
+ <p class="card-pf-utilization-details">
517
+ <span class="card-pf-utilization-card-details-count">50</span>
503
518
  <span class="card-pf-utilization-card-details-description">
504
519
  <span class="card-pf-utilization-card-details-line-1">Available</span>
505
520
  <span class="card-pf-utilization-card-details-line-2">of 1000 MHz</span>
506
521
  </span>
507
- </p>
508
- <div id="chart-pf-donut-1"></div>
509
- <div class="chart-pf-sparkline" id="chart-pf-sparkline-1"></div>
510
- <script>
511
- var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
512
- donutConfig.bindto = '#chart-pf-donut-1';
513
- donutConfig.color = {
514
- pattern: ["#cc0000","#D1D1D1"]
515
- };
516
- donutConfig.data = {
517
- type: "donut",
518
- columns: [
519
- ["Used", 95],
520
- ["Available", 5]
521
- ],
522
- groups: [
523
- ["used", "available"]
524
- ],
525
- order: null
526
- };
527
- donutConfig.tooltip = {
528
- contents: function (d) {
529
- return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
530
- Math.round(d[0].ratio * 100) + '%' + ' MHz ' + d[0].name +
531
- '</span>';
532
- }
533
- };
522
+ </p>
523
+ <div id="chart-pf-donut-1"></div>
524
+ <div class="chart-pf-sparkline" id="chart-pf-sparkline-1"></div>
525
+ <script>
526
+ var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
527
+ donutConfig.bindto = '#chart-pf-donut-1';
528
+ donutConfig.color = {
529
+ pattern: ["#cc0000","#D1D1D1"]
530
+ };
531
+ donutConfig.data = {
532
+ type: "donut",
533
+ columns: [
534
+ ["Used", 95],
535
+ ["Available", 5]
536
+ ],
537
+ groups: [
538
+ ["used", "available"]
539
+ ],
540
+ order: null
541
+ };
542
+ donutConfig.tooltip = {
543
+ contents: function (d) {
544
+ return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
545
+ Math.round(d[0].ratio * 100) + '%' + ' MHz ' + d[0].name +
546
+ '</span>';
547
+ }
548
+ };
534
549
 
535
- var chart1 = c3.generate(donutConfig);
536
- var donutChartTitle = d3.select("#chart-pf-donut-1").select('text.c3-chart-arcs-title');
537
- donutChartTitle.text("");
538
- donutChartTitle.insert('tspan').text("950").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
539
- donutChartTitle.insert('tspan').text("MHz Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
550
+ var chart1 = c3.generate(donutConfig);
551
+ var donutChartTitle = d3.select("#chart-pf-donut-1").select('text.c3-chart-arcs-title');
552
+ donutChartTitle.text("");
553
+ donutChartTitle.insert('tspan').text("950").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
554
+ donutChartTitle.insert('tspan').text("MHz Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
540
555
 
541
- var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig();
542
- sparklineConfig.bindto = '#chart-pf-sparkline-1';
543
- sparklineConfig.data = {
544
- columns: [
545
- ['%', 10, 50, 28, 20, 31, 27, 60, 36, 52, 55, 62, 68, 69, 88, 74, 88, 95],
546
- ],
547
- type: 'area'
548
- };
549
- var chart2 = c3.generate(sparklineConfig);
550
- </script>
551
- </div>
552
- <div class="col-xs-12 col-sm-4 col-md-4">
553
- <h3 class="card-pf-subtitle">Memory</h3>
554
- <p class="card-pf-utilization-details">
555
- <span class="card-pf-utilization-card-details-count">256</span>
556
+ var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig();
557
+ sparklineConfig.bindto = '#chart-pf-sparkline-1';
558
+ sparklineConfig.data = {
559
+ columns: [
560
+ ['%', 10, 50, 28, 20, 31, 27, 60, 36, 52, 55, 62, 68, 69, 88, 74, 88, 95],
561
+ ],
562
+ type: 'area'
563
+ };
564
+ var chart2 = c3.generate(sparklineConfig);
565
+ </script>
566
+ </div>
567
+ <div class="col-xs-12 col-sm-4 col-md-4">
568
+ <h3 class="card-pf-subtitle">Memory</h3>
569
+ <p class="card-pf-utilization-details">
570
+ <span class="card-pf-utilization-card-details-count">256</span>
556
571
  <span class="card-pf-utilization-card-details-description">
557
572
  <span class="card-pf-utilization-card-details-line-1">Available</span>
558
573
  <span class="card-pf-utilization-card-details-line-2">of 432 GB</span>
559
574
  </span>
560
- </p>
561
- <div id="chart-pf-donut-2"></div>
562
- <div class="chart-pf-sparkline" id="chart-pf-sparkline-2"></div>
563
- <script>
564
- var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
565
- donutConfig.bindto = '#chart-pf-donut-2';
566
- donutConfig.color = {
567
- pattern: ["#3f9c35","#D1D1D1"]
568
- };
569
- donutConfig.data = {
570
- type: "donut",
571
- columns: [
572
- ["Used", 41],
573
- ["Available", 59]
574
- ],
575
- groups: [
576
- ["used", "available"]
577
- ],
578
- order: null
579
- };
580
- donutConfig.tooltip = {
581
- contents: function (d) {
582
- return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
583
- Math.round(d[0].ratio * 100) + '%' + ' GB ' + d[0].name +
584
- '</span>';
585
- }
586
- };
575
+ </p>
576
+ <div id="chart-pf-donut-2"></div>
577
+ <div class="chart-pf-sparkline" id="chart-pf-sparkline-2"></div>
578
+ <script>
579
+ var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
580
+ donutConfig.bindto = '#chart-pf-donut-2';
581
+ donutConfig.color = {
582
+ pattern: ["#3f9c35","#D1D1D1"]
583
+ };
584
+ donutConfig.data = {
585
+ type: "donut",
586
+ columns: [
587
+ ["Used", 41],
588
+ ["Available", 59]
589
+ ],
590
+ groups: [
591
+ ["used", "available"]
592
+ ],
593
+ order: null
594
+ };
595
+ donutConfig.tooltip = {
596
+ contents: function (d) {
597
+ return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
598
+ Math.round(d[0].ratio * 100) + '%' + ' GB ' + d[0].name +
599
+ '</span>';
600
+ }
601
+ };
587
602
 
588
- var chart3 = c3.generate(donutConfig);
589
- var donutChartTitle = d3.select("#chart-pf-donut-2").select('text.c3-chart-arcs-title');
590
- donutChartTitle.text("");
591
- donutChartTitle.insert('tspan').text("176").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
592
- donutChartTitle.insert('tspan').text("GB Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
603
+ var chart3 = c3.generate(donutConfig);
604
+ var donutChartTitle = d3.select("#chart-pf-donut-2").select('text.c3-chart-arcs-title');
605
+ donutChartTitle.text("");
606
+ donutChartTitle.insert('tspan').text("176").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
607
+ donutChartTitle.insert('tspan').text("GB Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
593
608
 
594
- var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig();
595
- sparklineConfig.bindto = '#chart-pf-sparkline-2';
596
- sparklineConfig.data = {
597
- columns: [
598
- ['%', 35, 36, 20, 30, 31, 22, 44, 36, 40, 41, 55, 52, 48, 48, 50, 40, 41],
599
- ],
600
- type: 'area'
601
- };
602
- var chart4 = c3.generate(sparklineConfig);
603
- </script>
604
- </div>
605
- <div class="col-xs-12 col-sm-4 col-md-4">
606
- <h3 class="card-pf-subtitle">Network</h3>
607
- <p class="card-pf-utilization-details">
608
- <span class="card-pf-utilization-card-details-count">200</span>
609
+ var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig();
610
+ sparklineConfig.bindto = '#chart-pf-sparkline-2';
611
+ sparklineConfig.data = {
612
+ columns: [
613
+ ['%', 35, 36, 20, 30, 31, 22, 44, 36, 40, 41, 55, 52, 48, 48, 50, 40, 41],
614
+ ],
615
+ type: 'area'
616
+ };
617
+ var chart4 = c3.generate(sparklineConfig);
618
+ </script>
619
+ </div>
620
+ <div class="col-xs-12 col-sm-4 col-md-4">
621
+ <h3 class="card-pf-subtitle">Network</h3>
622
+ <p class="card-pf-utilization-details">
623
+ <span class="card-pf-utilization-card-details-count">200</span>
609
624
  <span class="card-pf-utilization-card-details-description">
610
625
  <span class="card-pf-utilization-card-details-line-1">Available</span>
611
626
  <span class="card-pf-utilization-card-details-line-2">of 1300 Gbps</span>
612
627
  </span>
613
- </p>
614
- <div id="chart-pf-donut-3"></div>
615
- <div class="chart-pf-sparkline" id="chart-pf-sparkline-3"></div>
616
- <script>
617
- var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
618
- donutConfig.bindto = '#chart-pf-donut-3';
619
- donutConfig.color = {
620
- pattern: ["#EC7A08","#D1D1D1"]
621
- };
622
- donutConfig.data = {
623
- type: "donut",
624
- columns: [
625
- ["Used", 85],
626
- ["Available", 15]
627
- ],
628
- groups: [
629
- ["used", "available"]
630
- ],
631
- order: null
632
- };
633
- donutConfig.tooltip = {
634
- contents: function (d) {
635
- return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
636
- Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name +
637
- '</span>';
638
- }
639
- };
628
+ </p>
629
+ <div id="chart-pf-donut-3"></div>
630
+ <div class="chart-pf-sparkline" id="chart-pf-sparkline-3"></div>
631
+ <script>
632
+ var donutConfig = $().c3ChartDefaults().getDefaultDonutConfig('A');
633
+ donutConfig.bindto = '#chart-pf-donut-3';
634
+ donutConfig.color = {
635
+ pattern: ["#EC7A08","#D1D1D1"]
636
+ };
637
+ donutConfig.data = {
638
+ type: "donut",
639
+ columns: [
640
+ ["Used", 85],
641
+ ["Available", 15]
642
+ ],
643
+ groups: [
644
+ ["used", "available"]
645
+ ],
646
+ order: null
647
+ };
648
+ donutConfig.tooltip = {
649
+ contents: function (d) {
650
+ return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
651
+ Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name +
652
+ '</span>';
653
+ }
654
+ };
640
655
 
641
- var chart5 = c3.generate(donutConfig);
642
- var donutChartTitle = d3.select("#chart-pf-donut-3").select('text.c3-chart-arcs-title');
643
- donutChartTitle.text("");
644
- donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
645
- donutChartTitle.insert('tspan').text("Gbps Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
656
+ var chart5 = c3.generate(donutConfig);
657
+ var donutChartTitle = d3.select("#chart-pf-donut-3").select('text.c3-chart-arcs-title');
658
+ donutChartTitle.text("");
659
+ donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
660
+ donutChartTitle.insert('tspan').text("Gbps Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
646
661
 
647
- var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig();
648
- sparklineConfig.bindto = '#chart-pf-sparkline-3';
649
- sparklineConfig.data = {
650
- columns: [
651
- ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85],
652
- ],
653
- type: 'area'
654
- };
655
- var chart6 = c3.generate(sparklineConfig);
656
- </script>
657
- </div>
662
+ var sparklineConfig = $().c3ChartDefaults().getDefaultSparklineConfig();
663
+ sparklineConfig.bindto = '#chart-pf-sparkline-3';
664
+ sparklineConfig.data = {
665
+ columns: [
666
+ ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85],
667
+ ],
668
+ type: 'area'
669
+ };
670
+ var chart6 = c3.generate(sparklineConfig);
671
+ </script>
658
672
  </div>
659
673
  </div>
660
674
  </div>
661
675
  </div>
662
676
 
677
+ </div>
663
678
  </div><!-- /row -->
664
679
  <div class="row row-cards-pf">
665
- <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
666
- <div class="col-xs-12 col-sm-4 col-md-4">
667
- <div class="card-pf card-pf-utilization">
668
- <h2 class="card-pf-title">
669
- Network
670
- </h2>
671
- <div class="card-pf-body">
672
- <p class="card-pf-utilization-details">
673
- <span class="card-pf-utilization-card-details-count">200</span>
680
+ <div class="col-xs-12 col-sm-4 col-md-4">
681
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
682
+ <div class="card-pf card-pf-utilization">
683
+ <h2 class="card-pf-title">
684
+ Network
685
+ </h2>
686
+ <div class="card-pf-body">
687
+ <p class="card-pf-utilization-details">
688
+ <span class="card-pf-utilization-card-details-count">200</span>
674
689
  <span class="card-pf-utilization-card-details-description">
675
690
  <span class="card-pf-utilization-card-details-line-1">Available</span>
676
691
  <span class="card-pf-utilization-card-details-line-2">of 1300 Gbps</span>
677
692
  </span>
678
- </p>
679
- <div id="chart-pf-donut-4"></div>
680
- <div class="chart-pf-sparkline" id="chart-pf-sparkline-4"></div>
681
- <script>
682
- var c3ChartDefaults = $().c3ChartDefaults();
693
+ </p>
694
+ <div id="chart-pf-donut-4"></div>
695
+ <div class="chart-pf-sparkline" id="chart-pf-sparkline-4"></div>
696
+ <script>
697
+ var c3ChartDefaults = $().c3ChartDefaults();
683
698
 
684
- var donutConfig = c3ChartDefaults.getDefaultDonutConfig('A');
685
- donutConfig.bindto = '#chart-pf-donut-4';
686
- donutConfig.color = {
687
- pattern: ["#EC7A08","#D1D1D1"]
688
- };
689
- donutConfig.data = {
690
- type: "donut",
691
- columns: [
692
- ["Used", 85],
693
- ["Available", 15]
694
- ],
695
- groups: [
696
- ["used", "available"]
697
- ],
698
- order: null
699
- };
700
- donutConfig.tooltip = {
701
- contents: function (d) {
702
- return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
703
- Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name +
704
- '</span>';
705
- }
706
- };
699
+ var donutConfig = c3ChartDefaults.getDefaultDonutConfig('A');
700
+ donutConfig.bindto = '#chart-pf-donut-4';
701
+ donutConfig.color = {
702
+ pattern: ["#EC7A08","#D1D1D1"]
703
+ };
704
+ donutConfig.data = {
705
+ type: "donut",
706
+ columns: [
707
+ ["Used", 85],
708
+ ["Available", 15]
709
+ ],
710
+ groups: [
711
+ ["used", "available"]
712
+ ],
713
+ order: null
714
+ };
715
+ donutConfig.tooltip = {
716
+ contents: function (d) {
717
+ return '<span class="donut-tooltip-pf" style="white-space: nowrap;">' +
718
+ Math.round(d[0].ratio * 100) + '%' + ' Gbps ' + d[0].name +
719
+ '</span>';
720
+ }
721
+ };
707
722
 
708
- var chart1 = c3.generate(donutConfig);
709
- var donutChartTitle = d3.select("#chart-pf-donut-4").select('text.c3-chart-arcs-title');
710
- donutChartTitle.text("");
711
- donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
712
- donutChartTitle.insert('tspan').text("Gpbs Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
723
+ var chart1 = c3.generate(donutConfig);
724
+ var donutChartTitle = d3.select("#chart-pf-donut-4").select('text.c3-chart-arcs-title');
725
+ donutChartTitle.text("");
726
+ donutChartTitle.insert('tspan').text("1100").classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
727
+ donutChartTitle.insert('tspan').text("Gpbs Used").classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
713
728
 
714
- var sparklineConfig = c3ChartDefaults.getDefaultSparklineConfig();
715
- sparklineConfig.bindto = '#chart-pf-sparkline-4';
716
- sparklineConfig.data = {
717
- columns: [
718
- ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85],
719
- ],
720
- type: 'area'
721
- };
729
+ var sparklineConfig = c3ChartDefaults.getDefaultSparklineConfig();
730
+ sparklineConfig.bindto = '#chart-pf-sparkline-4';
731
+ sparklineConfig.data = {
732
+ columns: [
733
+ ['%', 60, 55, 70, 44, 31, 67, 54, 46, 58, 75, 62, 68, 69, 88, 74, 88, 85],
734
+ ],
735
+ type: 'area'
736
+ };
722
737
 
723
- var chart2 = c3.generate(sparklineConfig);
724
- </script>
725
- </div>
738
+ var chart2 = c3.generate(sparklineConfig);
739
+ </script>
726
740
  </div>
727
741
  </div>
728
742
 
743
+ </div>
729
744
  </div><!-- /row -->
730
745
  <div class="row row-cards-pf">
731
746
  <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
732
747
  <div class="col-xs-12 col-sm-6 col-md-5">
748
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
733
749
  <div class="card-pf">
734
- <div class="card-pf-heading">
735
- <div class="dropdown card-pf-time-frame-filter">
736
- <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
737
- Last 30 Days <span class="caret"></span>
738
- </button>
739
- <ul class="dropdown-menu dropdown-menu-right" role="menu">
740
- <li><a href="#">Last 60 Days</a></li>
741
- <li><a href="#">Last 90 Days</a></li>
742
- </ul>
743
- </div>
744
- <h2 class="card-pf-title">
745
- Card Title
746
- </h2>
747
- </div>
748
- <div class="card-pf-body">
749
- <p>[card contents]</p>
750
- </div>
751
- </div>
750
+ <div class="card-pf-heading">
751
+ <div class="dropdown card-pf-time-frame-filter">
752
+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
753
+ Last 30 Days <span class="caret"></span>
754
+ </button>
755
+ <ul class="dropdown-menu dropdown-menu-right" role="menu">
756
+ <li><a href="#">Last 60 Days</a></li>
757
+ <li><a href="#">Last 90 Days</a></li>
758
+ </ul>
759
+ </div>
760
+ <h2 class="card-pf-title">
761
+ Card Title
762
+ </h2>
763
+ </div>
764
+ <div class="card-pf-body">
765
+ <p>[card contents]</p>
766
+ </div>
767
+ </div>
768
+
752
769
  </div>
753
770
  <div class="col-xs-12 col-sm-6 col-md-7">
771
+ <!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
754
772
  <div class="card-pf">
755
- <h2 class="card-pf-title">
756
- Card Title
757
- </h2>
758
- <div class="card-pf-body">
759
- <p>[card contents]</p>
760
- </div>
761
- <div class="card-pf-footer">
762
- <div class="dropdown card-pf-time-frame-filter">
763
- <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
764
- Last 30 Days <span class="caret"></span>
765
- </button>
766
- <ul class="dropdown-menu dropdown-menu-right" role="menu">
767
- <li><a href="#">Last 60 Days</a></li>
768
- <li><a href="#">Last 90 Days</a></li>
769
- </ul>
770
- </div>
771
- <p>
772
- <a href="#" class="card-pf-link-with-icon">
773
- <span class="pficon pficon-add-circle-o"></span>Add New Cluster
774
- </a>
775
- </p>
776
- </div>
777
- </div>
773
+ <h2 class="card-pf-title">
774
+ Card Title
775
+ </h2>
776
+ <div class="card-pf-body">
777
+ <p>[card contents]</p>
778
+ </div>
779
+ <div class="card-pf-footer">
780
+ <div class="dropdown card-pf-time-frame-filter">
781
+ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
782
+ Last 30 Days <span class="caret"></span>
783
+ </button>
784
+ <ul class="dropdown-menu dropdown-menu-right" role="menu">
785
+ <li><a href="#">Last 60 Days</a></li>
786
+ <li><a href="#">Last 90 Days</a></li>
787
+ </ul>
788
+ </div>
789
+ <p>
790
+ <a href="#" class="card-pf-link-with-icon">
791
+ <span class="pficon pficon-add-circle-o"></span>Add New Cluster
792
+ </a>
793
+ </p>
794
+ </div>
795
+ </div>
796
+
778
797
  </div>
779
798
  </div><!-- /row -->
780
799
  <div class="row row-cards-pf">