aboutsummaryrefslogtreecommitdiffstats
path: root/library/jgrowl/examples/bootstrap.html
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-07-06 11:05:22 +0000
committerMario <mario@mariovavti.com>2024-07-06 11:05:22 +0000
commit45275910e606a02b12393714ea3b0409da440d61 (patch)
tree10b2d173d58cb930f8df28fe75af73dd4974c08c /library/jgrowl/examples/bootstrap.html
parent0c1d0f7498661fb34dcca6f3c6566e757af310a7 (diff)
parentc04e781926a78e514cdf211fa24930a331149072 (diff)
downloadvolse-hubzilla-master.tar.gz
volse-hubzilla-master.tar.bz2
volse-hubzilla-master.zip
Merge branch '9.2RC'master
Diffstat (limited to 'library/jgrowl/examples/bootstrap.html')
-rw-r--r--library/jgrowl/examples/bootstrap.html91
1 files changed, 0 insertions, 91 deletions
diff --git a/library/jgrowl/examples/bootstrap.html b/library/jgrowl/examples/bootstrap.html
deleted file mode 100644
index 6e069a3b9..000000000
--- a/library/jgrowl/examples/bootstrap.html
+++ /dev/null
@@ -1,91 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="description" content="">
- <meta name="author" content="">
-
- <title>jGrowl and Bootstrap</title>
-
- <link rel="stylesheet" href="../jquery.jgrowl.css" type="text/css"/>
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
-
- <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
- <![endif]-->
-
- <style>
- body {
- padding-top: 50px;
- }
- </style>
- </head>
-
- <body>
- <div id="jGrowl-container1" class="jGrowl top-right"></div>
-
- <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">jGrowl</a>
- </div>
- <div class="collapse navbar-collapse">
- <ul class="nav navbar-nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#about">About</a></li>
- <li><a href="#contact">Contact</a></li>
- </ul>
- </div><!--/.nav-collapse -->
- </div>
- </div>
-
- <div class="container">
-
- <div>
- <h1>jGrowl and Bootstrap</h1>
- <p class="lead">This is a Bootstrap starter template with jGrowl integrated. As you can see it's extremely easy to make jGrowl look and feel like part of Bootstrap.</p>
- </div>
- <div id="jGrowl-container2" class="jGrowl"></div>
- </div><!-- /.container -->
-
-
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- Placed at the end of the document so the pages load faster -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
- <script type="text/javascript" src="../jquery.jgrowl.js"></script>
- <script type="text/javascript">
- (function($){
- $(function(){
- $.jGrowl.defaults.closerTemplate = '<div class="alert alert-info">Close All</div>';
-
- var alertTypes = ['success', 'info', 'warning', 'danger'];
-
- for (var i=0; i<10; i++) {
- setTimeout(function(){
- var alertType = alertTypes[Math.floor(Math.random()*alertTypes.length)];
-
- $('#jGrowl-container1').jGrowl({
- header: alertType.substring(0, 1).toUpperCase() + alertType.substring(1) + ' Notification',
- message: 'Hello world ',
- group: 'alert-' + alertType,
- life: 5000
- });
- }, i*2000);
- }
- });
- })(jQuery);
- </script>
- </body>
-</html>