-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (72 loc) · 2.52 KB
/
index.html
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="A jQuery plugin to parse and display go gibo(圍棋棋譜)">
<meta name="author" content="carlcarl">
<title>CaGO Example</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="vendor/bootstrap/3.3.5/css/bootstrap.min.css" />
<style>
body {
padding-top: 50px;
}
h1 {
padding-bottom: 20px;
font-size: 5rem;
}
.example, .example2 {
margin: 0 auto;
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<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="#">CaGo</a>
</div>
<div id="navbar" 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>
</nav>
<div class="container">
<div class="starter-template">
<h1 class="text-center">CaGo Example</h1>
<div class="example">
</div>
<div class="example2">
</div>
</div>
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="vendor/jquery/1.11.3/jquery.min.js"></script>
<script src="vendor/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="js/cago.js"></script>
<script>
$(function(){
$(".example").cago("./example.sgf");
$(".example2").cago("./example.sgf");
});
</script>
</body>
</html>
<!-- vim: set tabstop=2 expandtab shiftwidth=2 softtabstop=2: -->