-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (64 loc) · 2.57 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>
<head>
<title>SySearch</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="css" style="display: none;">
<link rel="stylesheet" href="css/style.css">
</div>
<span id="sy-popout">⊞</span>
<div id="main">
<div class="sy-header">
<h1 class="sy-title"><span class="sy-title-blue">Sy</span>Search</h1>
<a class="sy-settings-link" id="settings-link" href="#">Settings</a>
</div>
<div class="sy-searchbar">
<input type="text" class="sy-input sy-input-inline" id="search"></input>
<span class="sy-button" id="search-btn">Search</span>
</div>
<div class="sy-resultcount" id="resultcount"></div>
<div id="searchresults"></div>
</div>
<div id="settings" class="hidden">
<div class="sy-settings-header">
<h1 class="sy-title">Settings</h1>
</div>
<h2>Included wikis</h2>
<div class="sy-wikilist" id="wikilist">
</div>
<div id="wikilist-add" class="sy-searchbar">
<input type="text" class="sy-input sy-input-inline" id="wikilist-add-input" placeholder="https://wiki.archlinux.org" />
<span class="sy-button" id="wikilist-add-btn"> Add </span>
</div>
<h2>Search Settings</h2>
<div class="sy-settings-item">
<label for="search-type">Search type</label>
<select class="sy-select" id="search-type">
<option value="automatic">Automatic</option>
<option value="exact">Exact Match</option>
<option value="partial">Partial Match</option>
</select>
</div>
<div class="sy-settings-item">
<label for="search-on-type">Search on type</label>
<input type="checkbox" id="auto-search"></input>
</div>
<h2>Design settings</h2>
<div class="sy-settings-item">
<label for="theme">Theme</label>
<select id="theme" class="sy-select">
<option value="style.css">Default</option>
<option value="dark.css">Dark</option>
<option value="solarized.css">Solarized</option>
<option value="highcontrast.css">High Contrast</option>
<option value="lsd.css">LSD</option>
</select>
</div>
<span class="sy-button" id="save-settings"> Save </span>
</div>
<script src="js/fg.js"></script>
<script src="js/settings.js"></script>
</body>
</html>