-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
136 lines (107 loc) · 3.85 KB
/
options.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="jquery-3.5.0.min.js" type="text/javascript"></script>
<script src="html2screenshot.js" type="text/javascript"></script>
<link rel="stylesheet" href="styles/styles.css" type="text/css">
</head>
<body>
<div id="nav">
<div id="searchbar">
<div id="fastSearch">
<input id="searchInput" tabindex="0" placeholder="Search (⌘+K)" autocomplete="off">
<ul id="searchResults">
</ul>
</div>
</div>
</div>
<div id="appcontainer">
<div id="leftnav">
<div id="article-scrollContainer"></div>
<span id="capture-helper">⌘+Shift+S to save a quote on any site</span>
</div>
<div id="rightpanel">
<div id="titlebar">
<div>
<div id="titlebar-author" contenteditable="true">Author</div>
<div id="titlebar-title" contenteditable="true">Title</div>
</div>
<button id="titlebar-delete">Delete Article</button>
<div id="titlebar-options"></div>
</div>
<div id="panel-scrollContainer"></div>
</div>
</div>
<button id="clearStorage">Clear Storage</button>
<button id="exportQuotes">Export quotes</button>
<template id="articleItem">
<div class="article">
<img class="mini-favicon"/>
<div class="title"></div>
<div class="url"></div>
</div>
</template>
<template id="quote">
<div class="quoteblock">
<div class="meta">
<div class="date">Created </div>
<div class="linkback"><a target="_blank" href="">View Original</a></div>
</div>
<div class="quote-container">
<div class="portal-container-519256">
<div id="portal-parent-519256" class="portal-parent-519256">
<div class="portal-content-519256">
</div>
</div>
<div class="portal-head-519256">
<div class="portal-avatar-519256"><img class="mini-favicon-519256" src=""/></div>
<div class="portal-metadata-519256">
<div class="portal-title-519256">
<div class="portal-author-519256"></div>
<div class="title-wrapper-519256"></div>
</div>
</div>
<div class="portal-backlink-519256" data-html2canvas-ignore="true"><a target="_blank" href="" class="portal-arrow-519256">Go to text <span class="right-arrow">→</span></a></div>
</div>
</div>
<div class="quote-controls">
<button id="embedLink" class="control-button"><> Embed</button>
<button id="copyimg" class="control-button">Copy Image</button>
<button id="copy" class="control-button">Copy Text</button>
<button id="delete" class="control-button">Delete</button>
</div>
</div>
<div class="comment" contenteditable="true"></div>
</div>
</template>
<template id="embed">
<link rel="stylesheet" href="https://files-lovat-six.now.sh/quote.css" type="text/css">
<div class="portal-container-519256">
<div id="portal-parent-519256" class="portal-parent-519256">
<div class="portal-content-519256">
</div>
</div>
<div class="portal-head-519256">
<div class="portal-avatar-519256"><img class="mini-favicon-519256" src=""/></div>
<div class="portal-metadata-519256">
<div class="portal-title-519256">
<div class="portal-author-519256"></div>
<div class="title-wrapper-519256"></div>
</div>
</div>
<div class="portal-backlink-519256"><a target="_blank" href="" class="portal-arrow-519256">Go to text <span class="right-arrow">→</span></a></div>
</div>
</div>
</template>
<template id="searchitem">
<div class="searchitem">
<div class="title"></div>
</div>
</template>
<script src="options.js"></script>
<script src="fuse.js"></script> <!-- download and copy over fuse.js file from fusejs.io -->
<script src="fastsearch.js"></script>
<script src="jquery-resizable.js"></script>
</body>
</html>