-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (47 loc) · 1.37 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<!-- Place favicon.ico in the root directory -->
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="css/bulma.css">
<meta name="theme-color" content="#fafafa">
<script src="js/jquery-3.5.1.min.js"></script>
<script src="webprog.js"></script>
<script>
let configsubject;
let controller;
let view;
function init() {
configsubject = new ConfigSubject();
controller = new Controller(configsubject);
view = new View(controller, "btnprog", "titxt", "logtxt");
}
window.onload = init;
</script>
</head>
<body>
<section class="section">
<div class="container pb-1">
<h1 class="title">MSP430 Web Programmer</h1>
<h2 class="subtitle">webprog.js</h2>
<textarea class="textarea" id="titxt">
</textarea>
</div>
<div class="container pb-1">
<button id="btnprog">Program</button>
</div>
<div class="container pb-1">
<textarea class="textarea" id="logtxt">
</textarea>
</div>
</section>
</body>
</html>