UNPKG

patternfly

Version:

This reference implementation of PatternFly is based on [Bootstrap v3](http://getbootstrap.com/). Think of PatternFly as a "skinned" version of Bootstrap with additional components and customizations.

80 lines 4.26 kB
<!DOCTYPE html> <!--[if IE 9]><html class="ie9"><![endif]--> <!--[if gt IE 9]><!--> <html> <!--<![endif]--> <head> <title>Modals - PatternFly</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="../dist/img/favicon.ico"> <!-- iPad retina icon --> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../dist/img/apple-touch-icon-precomposed-152.png"> <!-- iPad retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../dist/img/apple-touch-icon-precomposed-144.png"> <!-- iPad non-retina icon --> <link rel="apple-touch-icon-precomposed" sizes="76x76" href="../dist/img/apple-touch-icon-precomposed-76.png"> <!-- iPad non-retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../dist/img/apple-touch-icon-precomposed-72.png"> <!-- iPhone 6 Plus icon --> <link rel="apple-touch-icon-precomposed" sizes="120x120" href="../dist/img/apple-touch-icon-precomposed-180.png"> <!-- iPhone retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../dist/img/apple-touch-icon-precomposed-114.png"> <!-- iPhone non-retina icon (iOS < 7) --> <link rel="apple-touch-icon-precomposed" sizes="57x57" href="../dist/img/apple-touch-icon-precomposed-57.png"> <link href="../dist/css/patternfly.min.css" rel="stylesheet" media="screen, print"> <link href="../dist/css/patternfly-additions.min.css" rel="stylesheet" media="screen, print"> <link href="tests.css" rel="stylesheet" media="screen, print"> <script src="../components/jquery/dist/jquery.min.js"></script> <script src="../components/bootstrap/dist/js/bootstrap.min.js"></script> <script src="../dist/js/patternfly.min.js"></script> </head> <body> <div class="container"> <div class="page-header"> <h1>Modals</h1> </div> <div class="alert alert-warning"> <span class="pficon pficon-warning-triangle-o"></span> These examples are included for development testing purposes. For official documentation, see <a href="https://www.patternfly.org" class="alert-link">https://www.patternfly.org</a> and <a href="http://getbootstrap.com" class="alert-link">http://getbootstrap.com</a>. </div> <hr> <button class="btn btn-default" data-toggle="modal" data-target="#myModal">Launch demo modal</button> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> <span class="pficon pficon-close"></span> </button> <h4 class="modal-title" id="myModalLabel">Modal Title</h4> </div> <div class="modal-body"> <form class="form-horizontal"> <div class="form-group"> <label class="col-sm-3 control-label" for="textInput">Field One</label> <div class="col-sm-9"> <input type="text" id="textInput" class="form-control"></div> </div> <div class="form-group"> <label class="col-sm-3 control-label" for="textInput2">Field Two</label> <div class="col-sm-9"> <input type="text" id="textInput2" class="form-control"></div> </div> <div class="form-group"> <label class="col-sm-3 control-label" for="textInput3">Field Three</label> <div class="col-sm-9"> <input type="text" id="textInput3" class="form-control"> </div> </div> </form> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-primary">Save</button> </div> </div> </div> </div> </div><!-- /container --> </body> </html>