-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidepanel.html
55 lines (48 loc) · 1.64 KB
/
sidepanel.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
<!doctype html>
<html>
<head>
<title>Code Viewer Sidepanel</title>
<link rel="stylesheet" href="sidepanel.css">
<link rel="stylesheet" href="prism.css">
<script src="prism.js"></script>
<script src="sidepanel.js" defer></script>
</head>
<body>
<div class="container">
<div class="header">
<h1>HTML & CSS Code Viewer</h1>
<div class="button-group">
<button class="btn" id="btn-html">HTML</button>
<button class="btn" id="btn-css">CSS</button>
<button class="btn" id="btn-gen">Generate</button>
</div>
</div>
<div class="content">
<div class="editors-container">
<div class="editor-wrapper">
<div class="editor-header">
<span class="editor-label">HTML</span>
<button class="btn-toggle" id="toggleEditorhtml">-</button>
</div>
<pre
class="editor"><code id="htmlInput" class="language-html" contenteditable="true" spellcheck="false"></code></pre>
</div>
<div class="editor-wrapper">
<div class="editor-header">
<span class="editor-label">CSS</span>
<button class="btn-toggle" id="toggleEditorcss">-</button>
</div>
<pre
class="editor"><code id="cssInput" class="language-css" contenteditable="true" spellcheck="false"></code></pre>
</div>
<div class="preview-container">
<iframe id="previewFrame" class="preview-frame"></iframe>
</div>
</div>
</div>
</div>
<footer class="message-container">
<p class="message">HTML & CSS Code Viewer extensions made by EnderMythex</p>
</footer>
</body>
</html>