-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (69 loc) · 2.81 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Pillarbox Theme Editor</title>
<link rel="stylesheet" href="scss/index.scss"/>
<script type="module" src="./src/index.js"></script>
</head>
<body>
<header>
<h1><img src="/pillarbox-logo.webp" class="logo" alt="Pillarbox logo"/> Pillarbox Theme Editor</h1>
<p>
Welcome to the Pillarbox Theme Editor: a dynamic web application designed to streamline and enhance your theme
creation process.<br>Design, customize, and generate themes that resonate with your unique brand identity.
</p>
</header>
<main>
<resizable-split-view>
<section slot="left">
<div class="section-title-container">
<h2>Craft your theme</h2>
<toggle-pane-button title="Select a file to edit" id="navigation-button">
<tree-view id="navigation"></tree-view>
</toggle-pane-button>
<button class="pbte-btn" id="download-button">
Export as .zip
</button>
<button class="pbte-btn alert" id="reset-button">
Reset changes
</button>
<confirmation-dialog id="reset-confirmation-dialog">
<span slot="title">Reset Your Workspace?</span>
<span slot="content">
Are you sure you want to reset your workspace? All unsaved changes will be lost and the
theme will revert to the default settings. This action cannot be undone.
</span>
<span slot="accept">Confirm Reset</span>
</confirmation-dialog>
</div>
<css-editor id="editor"></css-editor>
</section>
<section slot="right">
<div class="section-title-container">
<h2>Live Canvas Preview</h2>
<toggle-pane-button title="Change the media" label="Change the media" id="load-media-button">
<input id="src-input" type="text" placeholder="Enter a URN..." list="default-options"/>
<datalist id="default-options">
<option value="urn:srf:video:c4927fcf-e1a0-0001-7edd-1ef01d441651">Live video</option>
<option value="urn:rts:video:3608506">Live video (DVR)</option>
<option value="urn:srf:video:05457f66-fd67-4131-8e0a-6d85743efc39">Video</option>
<option value="urn:rsi:audio:2108350">Audio</option>
<option value="urn:rtr:audio:a029e818-77a5-4c2e-ad70-d573bb865e31">Live audio (DVR)</option>
</datalist>
</toggle-pane-button>
</div>
<preview-box id="preview"></preview-box>
</section>
</resizable-split-view>
</main>
<footer>
<a class="logo" href="https://www.srgssr.ch/en" target="_blank">
<img alt="SRG SSR" src="/srgssr-logo.png">
</a>
<span>Swiss Broadcasting Corporation</span>
</footer>
</body>
</html>