-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.html
49 lines (45 loc) · 1.38 KB
/
Main.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>${Title}</title>
</head>
<body>
<div ws-template="Calculator">
<label>Variable</label>
<input ws-var="Variable" type="text" />
<br />
<label>From</label>
<input ws-var="From" type="text" />
<br />
<label>To</label>
<input ws-var="To" type="text" />
<br />
<label>Formula</label>
<input ws-var="Formula" type="text" />
<br />
<button ws-onclick="OnSend" type="submit">Click me!</button>
<canvas ws-anchor="Canvas" width="1000" height="400"></canvas>
</div>
<h1 style="color:red;">Hello world!</h1>
<h2>Again, hello world!</h2>
<div ws-replace="Container"></div>
<div ws-children-template="ContactForm">
<label>Name</label>
<input ws-var="Name" type="text" />
<br />
<label>Email</label>
<input ws-var="Email" type="text" />
<br />
<label>Message</label>
<textarea ws-var="Message"></textarea>
<br />
<button ws-onclick="OnSend" type="submit">Click me!</button>
<div style="border:1px solid #ccc;padding:1em;">
<h2>${Response}</h2>
</div>
</div>
<script ws-replace="scripts"></script>
</body>
</html>