-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (89 loc) · 2.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Zoom chat log formatter</title>
<link rel="stylesheet" href="./meet.css" />
</head>
<body>
<!-- App view: dynamic panels -->
<div class="halftone screen-only"></div>
<div class="app-layout screen-only">
<div class="panel-navigator"></div>
<div class="app-panel-container">
<!-- Import panel-->
<div class="app-panel">
<h2 class="panel-label">Import</h2>
<div class="panel-toolbox">
<label for="upload-button" class="btn">
Open file
<input
type="file"
id="upload-button"
style="display: none"
onchange="onChange()"
/>
</label>
</div>
<div class="panel-contents">
<pre id="raw-file-contents"></pre>
</div>
</div>
<!-- Edit panel-->
<div class="app-panel">
<h2 class="panel-label">Filter and Edit</h2>
<div class="panel-toolbox">
<button class="btn" id="btn-add-replacement">
Add replacement
</button>
<button class="btn" id="btn-reset-settings">Reset</button>
</div>
<div class="panel-contents">
<div id="replacement-area-root"></div>
</div>
</div>
<!-- Export panel-->
<div class="app-panel">
<h2 class="panel-label">Export</h2>
<div class="panel-toolbox">
<button class="btn" id="copy-btn-html">Copy Formatted</button>
<button class="btn" id="copy-btn-md">Copy Markdown</button>
</div>
<div class="panel-contents">
<h3>Formatted preview</h3>
<div id="html-output-view"></div>
</div>
<div class="panel-toolbox">
<input
id="markdown-format-checkbox"
type="checkbox"
style="display: none"
onclick="handleObsidianLinkChange(this)"
/>
<label class="btn" for="markdown-format-checkbox">
Use wiki link in markdown
</label>
</div>
<div class="panel-contents">
<h3>Markdown preview</h3>
<pre id="markdown-contents"></pre>
</div>
</div>
</div>
</div>
<!-- Hovering selection tools -->
<template><div id="floatingTool">
<a id="flt-btn-replace-all">Replace All</a>
</div></template>
<!-- Custom view for easy printing -->
<div class="print-only">
<h1>Zoom Chat Export</h1>
<article>
<div id="html-print-view"></div>
</article>
</div>
<script src="./meet.js"></script>
</body>
</html>