-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (65 loc) · 2.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Information -->
<title>SVG Editor</title>
<!-- Stylesheet Link -->
<link rel="stylesheet" href="Style/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<!-- JavaScript Sources -->
<script src="js/Editor.js"></script>
<script src="js/Source.js"></script>
<!-- Defer the script to execute it after the document has loaded -->
<script defer src="js/app.js"></script>
<!-- vkBeautify Module -->
<script src="js/vkBeautify/vkbeautify.js"></script>
</head>
<body>
<!-- Toolbar Section -->
<div class="tools" id="toolsID">
<label>FileName: <input id="fileNameID" value="Untitled" /></label>
<label class="custom-checkbox">
Wireframe:
<input type="checkbox" id="wireframeID">
<span class="checkmark"><i class="fas fa-check"></i></span>
</label>
<label class="custom-checkbox">
PrettyView:
<input type="checkbox" id="prettyViewID" checked>
<span class="checkmark"><i class="fas fa-check"></i></span>
</label>
<label class="custom-checkbox">
WordWrap:
<input type="checkbox" id="wordWrapID" checked>
<span class="checkmark"><i class="fas fa-check"></i></span>
</label>
<button id="load">Load</button>
<button id="save">Save</button>
<button id="clear">Clear</button>
</div>
<!-- SVG Display Section -->
<div class="contentSvg" id="contentSvgID">
<svg class="stage" id="stageID" viewBox="0 0 600 400"></svg>
</div>
<!-- Textarea for SVG XML Code -->
<textarea class="txtArea" id="txtAreaID" spellcheck="false"></textarea>
<!-- Additional Parameter Input Section -->
<div class="addParam" id="addParamID">
<label>Parameter Name: <input type="text" name="paramName" id="paramNameID"></label>
<label>Parameter Type:
<select name="paramType" id="paramTypeID">
<option value="HmiColor">HmiColor</option>
<option value="number">number</option>
<option value="boolean">boolean</option>
<option value="string">string</option>
</select>
</label>
<label>Parameter DefaultValue: <input type="text" name="paramDefValue" id="paramDefValueID" /></label>
<label>Parameter Connection: <input type="text" name="paramConnectID" id="paramConnectID" /></label>
</div>
<!-- Button to Add Parameter -->
<button id="addButtonID" class="addButton">ADD</button>
<!-- Image (likely for docation or illustration) -->
<img src="./img/AutoSet.jpg" alt="Automation Set" id="automationSetImgID" width="200" height="160">
</body>
</html>