|
324 | 324 |
|
325 | 325 | <table class="table table-striped table-hover"> |
326 | 326 | <thead> |
327 | | - <tr> |
328 | | - <th>Example</th> |
329 | | - <th>Code</th> |
330 | | - </tr> |
| 327 | + <tr> |
| 328 | + <th>Example</th> |
| 329 | + <th>Code</th> |
| 330 | + </tr> |
331 | 331 | </thead> |
332 | 332 | <tbody> |
333 | | - <tr> |
334 | | - <td> |
335 | | - <modal-toggle Target="testing"> |
336 | | - Launch Demo |
337 | | - </modal-toggle> |
| 333 | + <tr> |
| 334 | + <td> |
| 335 | + <modal-toggle Target="testing"> |
| 336 | + Launch Demo |
| 337 | + </modal-toggle> |
338 | 338 |
|
339 | | - <modal id="testing" class="im-weird" vertically-centered="true" > |
340 | | - <modal-header Title="Testing Modal Header"> |
341 | | - <modal-header-dismiss></modal-header-dismiss> |
342 | | - </modal-header> |
343 | | - <modal-body> |
344 | | - <form-input asp-for="FirstName"></form-input> |
345 | | - </modal-body> |
346 | | - <modal-footer> |
347 | | - <bs-button bs-color="Secondary" dismisses="modal">Close</bs-button> |
348 | | - </modal-footer> |
349 | | - </modal> |
350 | | - </td> |
351 | | - <td> |
352 | | - <code> |
353 | | - <modal-toggle Target="testing"> |
354 | | - Launch Demo |
355 | | - </modal-toggle> |
| 339 | + <modal id="testing" class="im-weird" vertically-centered="true" > |
| 340 | + <modal-header Title="Testing Modal Header"> |
| 341 | + <modal-header-dismiss></modal-header-dismiss> |
| 342 | + </modal-header> |
| 343 | + <modal-body> |
| 344 | + <form-input asp-for="FirstName"></form-input> |
| 345 | + </modal-body> |
| 346 | + <modal-footer> |
| 347 | + <bs-button bs-color="Secondary" dismisses="modal">Close</bs-button> |
| 348 | + </modal-footer> |
| 349 | + </modal> |
| 350 | + </td> |
| 351 | + <td> |
| 352 | + <code> |
| 353 | + <modal-toggle Target="testing"> |
| 354 | + Launch Demo |
| 355 | + </modal-toggle> |
356 | 356 |
|
357 | | - <modal id="testing"> |
358 | | - <modal-header Title="Testing Modal Header"> |
359 | | - <modal-header-dismiss></modal-header-dismiss> |
360 | | - </modal-header> |
361 | | - <modal-body> |
362 | | - <form-input asp-for="FirstName"></form-input> |
363 | | - </modal-body> |
364 | | - <modal-footer> |
365 | | - <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> |
366 | | - </modal-footer> |
367 | | - </modal> |
368 | | - </code> |
369 | | - </td> |
370 | | - </tr> |
| 357 | + <modal id="testing"> |
| 358 | + <modal-header Title="Testing Modal Header"> |
| 359 | + <modal-header-dismiss></modal-header-dismiss> |
| 360 | + </modal-header> |
| 361 | + <modal-body> |
| 362 | + <form-input asp-for="FirstName"></form-input> |
| 363 | + </modal-body> |
| 364 | + <modal-footer> |
| 365 | + <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> |
| 366 | + </modal-footer> |
| 367 | + </modal> |
| 368 | + </code> |
| 369 | + </td> |
| 370 | + </tr> |
371 | 371 | <tr> |
372 | 372 | <td> |
373 | 373 | <modal-toggle Target="testing-secondary"> |
|
409 | 409 | </tbody> |
410 | 410 | </table> |
411 | 411 |
|
| 412 | +<h2>Progress</h2> |
| 413 | +<table class="table table-striped table-hover"> |
| 414 | + <thead> |
| 415 | + <tr> |
| 416 | + <th>Description</th> |
| 417 | + <th>Display</th> |
| 418 | + </tr> |
| 419 | + </thead> |
| 420 | + <tbody> |
| 421 | + <tr> |
| 422 | + <th>Simple Progress</th> |
| 423 | + <th><progress progress-value="75" ></progress></th> |
| 424 | + </tr> |
| 425 | + <tr> |
| 426 | + <th>With Background</th> |
| 427 | + <th><progress progress-value="75" background-color="BootstrapColor.Danger"></progress></th> |
| 428 | + </tr> |
| 429 | + <tr> |
| 430 | + <th>With Background, Striped</th> |
| 431 | + <th><progress progress-value="75" background-color="BootstrapColor.Danger" is-striped="true"></progress></th> |
| 432 | + </tr> |
| 433 | + <tr> |
| 434 | + <th>With Background, Striped, Animated</th> |
| 435 | + <th><progress progress-value="75" background-color="BootstrapColor.Danger" is-striped="true" is-animated="true"></progress></th> |
| 436 | + </tr> |
| 437 | + <tr> |
| 438 | + <th>With Background, Striped, Animated, Label</th> |
| 439 | + <th><progress progress-value="75" background-color="BootstrapColor.Danger" is-striped="true" is-animated="true" progress-display-label="75%"></progress></th> |
| 440 | + </tr> |
| 441 | + </tbody> |
| 442 | +</table> |
| 443 | + |
| 444 | +<h2>OffCanvas</h2> |
| 445 | +<table class="table table-striped table-hover"> |
| 446 | + <thead> |
| 447 | + <tr> |
| 448 | + <th>Description</th> |
| 449 | + <th>Display</th> |
| 450 | + </tr> |
| 451 | + </thead> |
| 452 | + <tbody> |
| 453 | + <tr> |
| 454 | + <td>Simple Setup</td> |
| 455 | + <td> |
| 456 | + <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample" aria-controls="offcanvasExample"> |
| 457 | + Show Demo |
| 458 | + </button> |
| 459 | + <offcanvas id="offcanvasExample"> |
| 460 | + <offcanvas-header title="Example 1"> |
| 461 | + <offcanvas-dismiss></offcanvas-dismiss> |
| 462 | + </offcanvas-header> |
| 463 | + <offcanvas-body> |
| 464 | + <h3>Magic Content</h3> |
| 465 | + <p>Goes here!</p> |
| 466 | + </offcanvas-body> |
| 467 | + </offcanvas> |
| 468 | + </td> |
| 469 | + </tr> |
| 470 | + <tr> |
| 471 | + <td>Static Backdrop</td> |
| 472 | + <td> |
| 473 | + <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample2" aria-controls="offcanvasExample2"> |
| 474 | + Show Example |
| 475 | + </button> |
| 476 | + <offcanvas id="offcanvasExample2" static-backdrop="true"> |
| 477 | + <offcanvas-header title="Example 2"> |
| 478 | + <offcanvas-dismiss></offcanvas-dismiss> |
| 479 | + </offcanvas-header> |
| 480 | + <offcanvas-body> |
| 481 | + <h3>Magic Content</h3> |
| 482 | + <p>Goes here!</p> |
| 483 | + </offcanvas-body> |
| 484 | + </offcanvas> |
| 485 | + </td> |
| 486 | + </tr> |
| 487 | + <tr> |
| 488 | + <td>Body Scroll Backdrop</td> |
| 489 | + <td> |
| 490 | + <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample3" aria-controls="offcanvasExample3"> |
| 491 | + Show Example |
| 492 | + </button> |
| 493 | + <offcanvas id="offcanvasExample3" enable-body-scrolling="true"> |
| 494 | + <offcanvas-header title="Example 3"> |
| 495 | + <offcanvas-dismiss></offcanvas-dismiss> |
| 496 | + </offcanvas-header> |
| 497 | + <offcanvas-body> |
| 498 | + <h3>Magic Content</h3> |
| 499 | + <p>Goes here!</p> |
| 500 | + </offcanvas-body> |
| 501 | + </offcanvas> |
| 502 | + </td> |
| 503 | + </tr> |
| 504 | + <tr> |
| 505 | + <td>Placement</td> |
| 506 | + <td> |
| 507 | + <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample4" aria-controls="offcanvasExample4"> |
| 508 | + Show Example |
| 509 | + </button> |
| 510 | + <offcanvas id="offcanvasExample4" placement="End"> |
| 511 | + <offcanvas-header title="Example 4"> |
| 512 | + <offcanvas-dismiss></offcanvas-dismiss> |
| 513 | + </offcanvas-header> |
| 514 | + <offcanvas-body> |
| 515 | + <h3>Magic Content</h3> |
| 516 | + <p>Goes here!</p> |
| 517 | + </offcanvas-body> |
| 518 | + </offcanvas> |
| 519 | + </td> |
| 520 | + </tr> |
| 521 | + </tbody> |
| 522 | +</table> |
412 | 523 | <style> |
413 | 524 | code { |
414 | 525 | white-space: pre; |
|
0 commit comments