forked from FooSoft/yomichan
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
145 lines (132 loc) · 7.38 KB
/
search.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
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en" data-page-type="search">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Rikaitan Search</title>
<link rel="icon" type="image/png" href="/images/icon16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/images/icon19.png" sizes="19x19">
<link rel="icon" type="image/png" href="/images/icon32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/images/icon38.png" sizes="38x38">
<link rel="icon" type="image/png" href="/images/icon48.png" sizes="48x48">
<link rel="icon" type="image/png" href="/images/icon64.png" sizes="64x64">
<link rel="icon" type="image/png" href="/images/icon128.png" sizes="128x128">
<link rel="stylesheet" type="text/css" href="/css/material.css">
<link rel="stylesheet" type="text/css" href="/css/display.css">
<link rel="stylesheet" type="text/css" href="/css/display-pronunciation.css">
<link rel="stylesheet" type="text/css" href="/css/structured-content.css">
<link rel="stylesheet" type="text/css" href="/css/search.css">
<link rel="stylesheet" type="text/css" href="/css/search-settings.css">
<script src="/js/display/search-main.js" type="module"></script>
</head>
<body hidden>
<div class="content-outer">
<div class="content">
<div class="content-scroll scrollbar" id="content-scroll">
<div id="above-sticky-header">
<div class="top-progress-bar-container"><div class="progress-bar-indeterminant" id="progress-indicator" hidden></div></div>
<div class="search-header-wrapper">
<div class="search-header">
<div id="intro">
<h1>Rikaitan Search</h1>
</div>
<div class="scan-disable">
<div class="search-options">
<div class="search-options-left">
<div class="search-option" id="search-option-profile-select">
<span class="profile-select-container"><select class="profile-select" id="profile-select">
<optgroup label="Default Profile" id="profile-select-option-group"></optgroup>
</select></span>
</div>
<label class="search-option" id="search-option-clipboard-monitor-container">
<label class="toggle"><input type="checkbox" id="clipboard-monitor-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
<span class="search-option-label">Clipboard monitor</span>
</label>
</div>
<div class="search-option" id="search-settings-button" data-modal-action="show,search-settings"><span class="icon" data-icon="cog"></span></div>
</div>
</div>
</div>
</div>
</div>
<div class="search-header-wrapper" id="sticky-search-header">
<div class="search-header">
<div class="search-textbox-container">
<textarea id="search-textbox" class="scrollbar" placeholder="Input a term, expression, sentence, or block of text" autocomplete="off" lang="ja" autofocus></textarea>
<button type="button" id="clear-button" class="clear-button"><span class="icon" data-icon="cross"></span></button>
<button type="button" id="search-back-button" class="search-button" hidden><span class="icon" data-icon="left-chevron"></span></button>
<button type="button" id="search-button" class="search-button"><span class="icon" data-icon="magnifying-glass"></span></button>
</div>
<div class="scan-disable scrollbar" id="query-parser-container" hidden>
<div id="query-parser-content" lang="ja"></div>
</div>
</div>
</div>
<div class="content-body" id="content-body">
<div class="content-body-inner">
<span tabindex="-1" id="content-scroll-focus"></span>
<div id="dictionary-entries"></div>
<div id="no-results" hidden>
<div class="entry">
<p>No results found.</p>
</div>
</div>
<div id="no-dictionaries" hidden>
<div class="entry">
<p>No dictionaries have been installed or enabled yet.</p>
<p><a href="/settings.html#!dictionaries" target="_blank">Go to Dictionaries settings.</a></p>
</div>
</div>
</div>
</div>
</div>
<div class="content-footer-container1"><div class="content-footer-container2"><div class="content-footer" id="content-footer"></div><div class="scrollbar-spacer scrollbar"></div></div></div>
</div>
</div>
<div id="popup-menus"></div>
<!-- Search settings modal -->
<div id="search-settings-modal" class="modal" tabindex="-1" role="dialog" hidden><div class="modal-content">
<div class="modal-header">
<div class="modal-title">Search Settings</div>
</div>
<div class="modal-body">
<div class="settings-item" id="query-parser-mode-container" hidden><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">
Parser
</div>
</div>
<div class="settings-item-right">
<select id="query-parser-mode-select"></select>
</div>
</div></div>
<div class="settings-item" id="search-option-wanakana"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">
Automatic kana conversion
</div>
</div>
<div class="settings-item-right">
<label class="toggle"><input type="checkbox" id="wanakana-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
</div>
</div></div>
<div class="settings-item"><div class="settings-item-inner">
<div class="settings-item-left">
<div class="settings-item-label">
Sticky search header
</div>
<div class="settings-item-description">
Search header stays on the page when scrolling down.
</div>
</div>
<div class="settings-item-right">
<label class="toggle"><input type="checkbox" id="sticky-header-enable"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
</div>
</div></div>
</div>
<div class="modal-footer">
<button type="button" data-modal-action="hide">Close</button>
</div>
</div></div>
</body>
</html>