Summary Files Commits Branches @commit @diff @stats
path: root / src / teaching / upp-2025 / week02 / machine_table.html
blob: 1b9cc723cf2d47326f698cd192c6ebc9c481b52c (plain) (blame)
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<h1>Машинна таблица - УПП, Седмица 2, 09.10.2025</h1>
<p>
	<a href="./machine_manual.html?a">Упътване</a>
	&ensp;||&ensp;
	<a href="./index.html">Задачи</a>
</p>
<br/>

<table id="worksheet">
	<tr>
		<th></th>
		<th>A</th>
		<th>B</th>
		<th>C</th>
	</tr>
	<tr>
		<th>1</th><td spellcheck="false" contenteditable="true"></td>
		<td><button id="save">Запази</button></td>
		<td><button id="load">Зареди</button></td>
	</tr>
	<tr>
		<th>2</th><td spellcheck="false" contenteditable="true"></td>
		<td>INPUT1:</td><td id="input1" spellcheck="false" contenteditable="true"></td>
	</tr>
	<tr>
		<th>3</th><td spellcheck="false" contenteditable="true"></td>
		<td>INPUT2:</td><td id="input2" spellcheck="false" contenteditable="true"></td>
	</tr>
	<tr>
		<th>4</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>5</th><td spellcheck="false" contenteditable="true"></td>
		<td>A:</td><td id="regA">0</td>
	</tr>
	<tr>
		<th>6</th><td spellcheck="false" contenteditable="true"></td>
		<td>B:</td><td id="regB">0</td>
	</tr>
	<tr>
		<th>7</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>8</th><td spellcheck="false" contenteditable="true"></td>
		<td><button id="execute">Изпълни</button></td>
		<td>
			<input type="radio" id="speedChoice1" name="speed" value="250" />
			<label for="speedChoice1">Бързо</label>

			<input type="radio" id="speedChoice2" name="speed" value="1000" checked />
			<label for="speedChoice2">Бавно</label>
		</td>
	</tr>
	<tr>
		<th>9</th><td spellcheck="false" contenteditable="true"></td>
		<td><button id="stopresume">Спри</button></td><td></td>
	</tr>
	<tr>
		<th>10</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>11</th><td spellcheck="false" contenteditable="true"></td>
		<td>Грешка:</td><td id="errorMsg"></td>
	</tr>
	<tr>
		<th>12</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>13</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>14</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>15</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>16</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>17</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>18</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>19</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<th>20</th><td spellcheck="false" contenteditable="true"></td>
		<td></td><td></td>
	</tr>
	<tr>
		<td colspan="4"><button id="addrows">+10 реда</button></td>
	</tr>
</table>
<script type="text/javascript" src="./machine_table.js" crossorigin="anonymous" defer></script>