forked from SanguineL/PietPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (98 loc) · 4.32 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Alex Strickland" />
<meta name="copyright" content="2023" />
<title>PietPlus</title>
<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap"
rel="stylesheet"
/>
<!-- Stylesheet -->
<link rel="stylesheet" href="style.css" />
<script src="https://kit.fontawesome.com/60e56e3ac4.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="main">
<div class="left-column">
<div class="button_wrapper">
<button class="colorbutton" id='lbutton0'></button>
<button class="colorbutton" id='mbutton0'></button>
<button class="colorbutton" id='rbutton0'></button>
<button class="colorbutton" id='lbutton1'></button>
<button class="colorbutton" id='mbutton1'></button>
<button class="colorbutton" id='rbutton1'></button>
<button class="colorbutton" id='lbutton2'></button>
<button class="colorbutton" id='mbutton2'></button>
<button class="colorbutton" id='rbutton2'></button>
<button class="colorbutton" id='lbutton3'></button>
<button class="colorbutton" id='mbutton3'></button>
<button class="colorbutton" id='rbutton3'></button>
<button class="colorbutton" id='lbutton4'></button>
<button class="colorbutton" id='mbutton4'></button>
<button class="colorbutton" id='rbutton4'></button>
<button class="colorbutton" id='lbutton5'></button>
<button class="colorbutton" id='mbutton5'></button>
<button class="colorbutton" id='rbutton5'></button>
<button class="colorbutton" id='lbutton6' type="reset">
<i class="fa-solid fa-minus" style="color:white"></i>
</button>
<button class="colorbutton" id='mbutton6' type="reset">
<i class="fa-solid fa-minus"></i>
</button>
<button class="switchbutton" id="toolswitch" type="reset">
<i class="fa-solid fa-fill" id="tool-icon"></i>
</button>
</div> <!-- END OF BUTTON WRAPPER -->
<div class="block-info">
<label id="block-info-label"></label>
</div>
</div> <!-- END OF LEFT COLUMN -->
<div class="wrapper">
<div class="options">
<div class="opt-wrapper">
<button id="reset-grid">Config Grid</button>
<button id="clear-grid">Clear Grid</button>
<button id="erase-btn">Erase</button>
<button id="paint-btn">Draw</button>
<input type="file" class="file" id="attachment" style="display: none;" />
<button id="upload-image-btn">Import</button>
<button id="save-image-btn">Save</button>
</div>
</div> <!-- END OF OPTIONS -->
<dialog id = "dialog">
<div class="gridDir">
<label for="width-range">Width</label>
<input type="number" id="width-range" max="300"/>
</div>
<div class="gridDir">
<label for="height-range">Height</label>
<input type="number" id="height-range" max="300" />
</div>
<button id="submit-grid">Create Grid</button>
</dialog>
<div class="container"></div>
</div>
<div class="controls_wrapper">
<textarea id="command-display" class="command-disp" disabled></textarea>
<button class="command-button" id="start-button">Start</button>
<button class="command-button" id="step-button">Step</button>
<button class="command-button" id="pause-button">Pause</button>
<label id="dpcc-label">DP:-> CC:<-</label>
<label>Stack</label>
<textarea id="stack-display" class="ide-info" disabled></textarea>
<label>Input</label>
<textarea id="input" class="ide-info" spellcheck="false"></textarea>
<label>Output</label>
<textarea id="output" class="ide-info" disabled></textarea>
</div>
</div>
<!-- Script -->
<script src="script.js"></script>
<script src="interpreter/codel_tools.js"></script>
<script src="interpreter/interpreter.js"></script>
<script src="interpreter/actions.js"></script>
</body>
</html>