-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
57 lines (54 loc) · 2.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Observables from Scratch</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
</head>
<body class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h1><a href="//github.com/maniator/servable">servable Observable</a> examples</h1>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3>Reverse text in an input</h3>
<div id="myText">Type in input</div>
<div id="myTextReverse">Type in input</div>
<input class="form-control" id="myInput" value="Type in input" />
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3>Adding two numbers</h3>
<div class="form-group">
<form class="form-inline">
<input class="x form-control" /> + <input class="y form-control" /> = <span class="result"></span>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h3>Drag and drop element</h3>
<div id="widget" style="position: fixed; width: 150px; background-color: blue; color: white">Drag me</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<h3>Log</h3>
<p id="log"></p>
</div>
</div>
<script type="module" type="text/javascript" src="./logger.js"></script>
<script type="module" type="text/javascript" src="./index.js"></script>
<script type="module" type="text/javascript" src="./adder.js"></script>
<script type="module" type="text/javascript" src="./dragdrop.js"></script>
</body>
</html>