-
Notifications
You must be signed in to change notification settings - Fork 0
/
0700_modal_popup_dialog.html.erb
31 lines (31 loc) · 1.06 KB
/
0700_modal_popup_dialog.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- ポップアップダイアログの基本 -->
<!DOCTYPE html>
<html lang="ja">
<html>
<head>
<meta charset="UTF-8" />
<link href="assets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />
<script src="assets/jquery.js" type="text/javascript"></script>
<script src="assets/bootstrap.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
<a data-toggle="modal" href="#main" class="btn btn-primary">起動</a>
<div class="modal hide fade" id="main">
<div class="modal-header">
<a data-dismiss="modal" class="close">×</a>
<h3>div.modal-header h3</h3>
</div>
<div class="modal-body">
<p>div.modal-body</p>
</div>
<div class="modal-footer">
<p>div.modal-footer</p>
<a href="#" class="btn btn-primary">btn btn-primary</a>
<a href="#" class="btn">btn</a>
<a data-dismiss="modal" class="btn">data-dismiss="modal" のタグで閉じれる</a>
</div>
</div>
</div>
</body>
</html>