js__bootstrap_demos/chapter5/2modal-custombootstrap.html
2015-04-05 08:15:50 +02:00

61 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Blasting off with Bootstrap</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-COMPATIBLE" content="IE=Edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="bootstrap-3.3.4/dist/css/bootstrap.css"/>
<!--[if lt IE 9]>
<script src="../js/html5shiv.3-7-0.js"></script>
<script src="../js/respond.1-4-2.min.js"></script>
<![endif]-->
</head>
<body>
<div class="modal fade" id="myModal">
<!-- Sizing wrapper -->
<!-- default width: 600px, modal-lg: 900px, modal-sm: 300px -->
<div class="modal-dialog">
<!-- Content wrapper -->
<div class="modal-content">
<!-- Modal header -->
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Welcome back!</h4>
</div>
<!-- Modal body -->
<div class="modal-body">
<h1>Hello readers!</h1>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">Save</button>
</div>
</div>
</div>
</div>
<div class="container">
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
Trigger modal
</button>
<p>Do not use <kbd>lessc bootstrap.less &gt; bootstrap.css</kbd> to compile
Bootstrap, use <kbd>npm install</kbd> then <kbd>grunt dist</kbd> instead.</p>
<p>More info on
<a href="http://getbootstrap.com/getting-started/#grunt">http://getbootstrap.com/getting-started/#grunt</a></p>
</div>
<!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
<script src="../js/jquery-1.11.2.min.js"></script>
<script src="bootstrap-3.3.4/dist/js/bootstrap.js"></script>
</body>
</html>