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.
140 lines (131 loc) • 5.75 kB
HTML
<!--[if IE 9]><html lang="en-us" class="ie9"><![endif]-->
<!--[if gt IE 9]><!-->
<html lang="en-us">
<!--<![endif]-->
<head>
<title>Toast Notifications - PatternFly</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<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 rel="stylesheet" href="../dist/css/patternfly.min.css" >
<link rel="stylesheet" href="../dist/css/patternfly-additions.min.css" >
<link href="tests.css" rel="stylesheet" media="screen, print">
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="../dist/js/patternfly.min.js"></script>
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Toast Notifications</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>
<div class="toast-pf alert alert-success">
<div class="pull-right toast-pf-action">
<a href="#">Start Server</a>
</div>
<span class="pficon pficon-ok"></span>
<strong>server</strong> has been added to <a href="#" class="alert-link">main server</a>.
</div>
<br>
<div class="toast-pf alert alert-warning">
<div class="pull-right toast-pf-action">
<a href="#">Reload Server</a>
</div>
<span class="pficon pficon-warning-triangle-o"></span>
The server configuration changed.
</div>
<br>
<div class="toast-pf alert alert-danger">
<div class="pull-right toast-pf-action">
<a href="#">Retry</a>
</div>
<span class="pficon pficon-error-circle-o"></span>
Failed to add <strong>server_abc</strong>.
</div>
<br>
<div class="toast-pf alert alert-info">
<div class="pull-right toast-pf-action">
<a href="#">View Details</a>
</div>
<span class="pficon pficon-info"></span>
This server is in the North West Datacenter.
</div>
<hr>
<div class="toast-pf alert alert-info">
<div class="dropdown pull-right dropdown-kebab-pf">
<button class="btn btn-link dropdown-toggle" type="button" id="dropdownKebabRight" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="fa fa-ellipsis-v"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownKebabRight">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
<div class="pull-right toast-pf-action">
<a href="#">Reload Server</a>
</div>
<span class="pficon pficon-info"></span>
<strong>Great job!</strong> This is really working out.
</div>
<br>
<div class="toast-pf alert alert-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
<span class="pficon pficon-ok"></span>
The server configuration changed.
</div>
<br>
<div class="toast-pf alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
<div class="pull-right toast-pf-action">
<a href="#">Reload Server</a>
</div>
<span class="pficon pficon-warning-triangle-o"></span>
The server configuration changed.
</div>
<br>
<div class="toast-pf alert alert-danger">
<span class="pficon pficon-error-circle-o"></span>
Failed to add <strong>server_abc</strong>.
</div>
<hr>
<div class="toast-pf toast-pf-max-width alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
<div class="pull-right toast-pf-action">
<a href="#">Reload Server</a>
</div>
<span class="pficon pficon-warning-triangle-o"></span>
Max-width is set on this example.
</div>
</div><!-- /container -->
</body>
</html>