forked from javiertoledo/bootstrap-rating-input
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
33 lines (31 loc) · 1.18 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap rating</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap core CSS -->
<link href="dist/css/bootstrap.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="dist/js/html5shiv.js"></script>
<script src="dist/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="survey-builder container">
<h2>Bootstrap rating</h2>
<hr/>
<h3>Default rating</h3>
<input type="number" class="rating"/>
<h3>Clearable rating</h3>
<input type="number" class="rating" data-clearable="remove"/>
<h3>Configurable rating</h3>
<input type="number" class="rating" data-min="0" data-max="10" data-clearable="remove"/>
<h3>Default rating disabled</h3>
<input type="number" class="rating" disabled="disabled" value="2"/>
</div>
<script type="text/javascript" src="dist/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="bootstrap-rating-input.js"></script>
</body>
</html>