-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (59 loc) · 1.58 KB
/
index.html
File metadata and controls
66 lines (59 loc) · 1.58 KB
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>React pagination box</title>
<style>
body,
html {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
}
body #wrapper,
html #wrapper {
width: 1000px;
margin: 0 auto;
padding: 40px 0;
}
body .pagination-box ul,
html .pagination-box ul {
padding: 0;
text-align: center;
}
body .pagination-box ul li,
html .pagination-box ul li {
list-style: none;
display: inline-block;
margin: 0 2px;
}
body .pagination-box ul li.active a,
html .pagination-box ul li.active a {
color: #fff;
background-color: #ccc;
}
body .pagination-box ul li.disabled a,
html .pagination-box ul li.disabled a {
color: #ccc;
}
body .pagination-box ul li a,
html .pagination-box ul li a {
color: #999;
border: 1px solid #ccc;
border-radius: 5px;
padding: 5px 10px;
display: block;
text-decoration: none;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="paginatorBox"></div>
<div id="paginatorBox2"></div>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons.js"></script>
<script src="example/bundle.js"></script>
</html>