-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (60 loc) · 2.26 KB
/
index.html
File metadata and controls
71 lines (60 loc) · 2.26 KB
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
<!DOCTYPE html>
<html>
<head>
<script src="src/main.js"></script>
<link href="src/main.css" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<!-- Block Name -->
<sp-textfield id="block_name">
<sp-label slot="label">Block-Name</sp-label>
</sp-textfield>
<!-- Document-Variable -->
<sp-textfield id="block_document_variable">
<sp-label slot="label">Document-Variable</sp-label>
</sp-textfield>
<!-- Block-Type -->
<sp-label slot="label">Block-Type</sp-label>
<sp-dropdown id="block_type">
<sp-menu slot="options">
<sp-menu-item selected value="textline">Textline</sp-menu-item>
<sp-menu-item value="textflow">Textflow</sp-menu-item>
<sp-menu-item value="image">Image</sp-menu-item>
</sp-menu>
</sp-dropdown>
<sp-divider></sp-divider>
<!-- Default-Text -->
<sp-textfield id="block_default_text">
<sp-label slot="label">Default-Text</sp-label>
</sp-textfield>
<!-- Presets -->
<sp-label slot="label">Preset</sp-label>
<sp-dropdown id="block_preset">
<sp-menu slot="options">
<sp-menu-item selected value="none">No Preset</sp-menu-item>
<sp-menu-divider></sp-menu-divider>
<sp-menu-item value="image_fit">Image: Fit</sp-menu-item>
<sp-menu-item value="image_qrcode">Image: QR-Code</sp-menu-item>
</sp-menu>
</sp-dropdown>
<!-- Customizable -->
<sp-checkbox id="block_is_custom">Customizable</sp-checkbox>
<!-- Custom Variable Title -->
<sp-textfield id="block_custom_variable_title">
<sp-label slot="label">Variable-Title</sp-label>
</sp-textfield>
<!-- Custom Variable Type -->
<sp-textfield id="block_custom_variable_type">
<sp-label slot="label">Variable-Type</sp-label>
</sp-textfield>
<sp-divider></sp-divider>
<!-- Actions -->
<sp-button variant="cta" onclick="saveElementMetadata()">Save</sp-button>
<sp-button variant="warning" onclick="clearElementMetadata()">Clear</sp-button>
<sp-button variant="primary">Export as JSON</sp-button>
<!-- Info -->
<sp-label>© 2026 github.com/philippgitpush</sp-label>
</div>
</body>
</html>