forked from mipmip/home-manager-option-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (140 loc) · 7.06 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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>NixNeovim - Option Search</title>
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<link rel="search" type="application/opensearchdescription+xml" title="NixNeovim - Option Search" href="opensearch.xml" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script async src="https://umami.pimsnel.com/script.js" data-website-id="8e970d59-b517-4ba6-9b92-207e7dbdb4b1"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href="css/nucleus.css" rel="stylesheet">
<link href="css/style-nix.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<div id="lastUpdateElement" style="position:absolute; line-height: 11px; right: 37px;top:59px;"></div>
<div class="logo">
<a class="baselink" href="./" style="font-size: 28px; color: #CCC;">
<img src="https://avatars.githubusercontent.com/u/120017835?s=200&v=4" style="padding-bottom: 2px;">
NixNeovim Options Search
</a>
</div>
<nav class="shortcuts">
<li style="padding-top:10px;">
<a href="https://github.com/NixNeovim/NixNeovim" rel="noopener">
<i class="fa fa-book"></i> <label>NixNeovim Documentation</label>
</a>
</li>
<li style="padding-top:10px;">
<a href="https://github.com/mipmip/home-manager-option-search" rel="noopener">
<i class="fa fa-github"></i> <label>Source</label>
</a>
</li>
<li style="margin-left:9px;padding-top:14px;">
<iframe style="width:51px;" src="https://ghbtns.com/github-btn.html?user=NixNeovim&repo=nixneovim-option-search&type=star&count=false&text=true" frameborder="0" scrolling="0" width="150" height="20" title="GitHub"></iframe>
</li>
</nav>
</header>
<div class="container" style="padding-top:70px;">
<!-- Modal -->
<div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body" id="myModalBody">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="searchform" xstyle="background-color: white;top:54px;position:sticky;>
<form method="get" action="?" onSubmit="searchEnter()">
<div class="form-group">
<label for="searchInput">
Option Search
<span style="font-weight:normal;font-size:smaller;"> (<span><span id="optionCountBadge" style="font-weight:normal;font-size:smaller;" xclass="badge"></span><span style="font-weight:normal;font-size:smaller;">)<span>
</label>
<input class="form-control" type="search" id="searchInput" placeholder="Search.. e.g. vim">
</div>
<div class="form-group">
<label for="advcheck">
search options
<input id="advcheck" type="checkbox" data-toggle="collapse" data-target="#advanced" />
</div>
</form>
<div class="collapse" id="advanced" >
<ul class="list-inline" style="margin-top:5px;margin-bottom:5px;">
<li>Search in</li>
<li><input type="checkbox" checked id="indexOnTitleCheckbox"> Title</li>
<li><input type="checkbox" checked id="indexOnDescriptionCheckbox"> Description</li>
<li>Strategy</li>
<li>
<select id="indexStrategySelect" style="margin-bottom:0">
<option value="JsSearch.AllSubstringsIndexStrategy">All substrings</option>
<option value="JsSearch.ExactWordIndexStrategy">Exact match</option>
<option value="JsSearch.PrefixIndexStrategy" selected>Prefix matching</option>
</select>
</li>
</div>
<table id="indexedOptionsTableHeader" style="margin-bottom:0;" class="table table-striped table-condensed hidden">
<thead>
<tr>
<th>Title</th>
<th class="phonehide">Description</th>
<th class="phonehide">Type</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<table id="indexedOptionsTable" class="table table-striped table-condensed hidden">
<!--
<thead>
<tr>
<th>Title</th>
<th>Description</th>
<th>Type</th>
</tr>
</thead>
-->
<tbody>
</tbody>
</table>
<div id="loadingProgressBar" class="progress">
<div class="progress-bar progress-bar-striped active"
role="progressbar"
aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%;">
Loading option data...
</div>
</div>
</div>
<!-- <footer class=" navbar-fixed-bottom" > -->
<!-- <div > -->
<!-- <p> -->
<!-- Powered by the <a href="https://nix-community.org/">Nix Community</a> | -->
<!-- <a href="https://github.com/mipmip/home-manager-option-search#credits">Credits</a> | -->
<!-- <a href="https://nix-community.github.io/home-manager/">Home Manager Documentation</a> -->
<!-- </p> -->
<!-- <p> -->
<!-- Made with ❤️ by <a href="https://github.com/mipmip">Pim Snel</a> -->
<!-- </p> -->
<!-- </div> -->
<!-- </footer> -->
<!--<script type="text/javascript" src="https://rawgit.com/kristopolous/Porter-Stemmer/master/PorterStemmer1980.min.js"></script>-->
<!--<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/umd/js-search.min.js"></script>-->
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/umd/js-search.min.js"></script>
<script type="text/javascript" src="js/script.js?version=2023-12-12"></script>
</body>
</html>