forked from da15y/instantlist
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
52 lines (51 loc) · 2.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>InstantList JS</title>
<script>
window.config = {};
config['itemsPerPage'] = 25; // Количество вещей на страницу
config['layerIds'] = [36,45,31,11,56,27,57,85]; // Разрешённые LayerId
config['tableHolderId'] = "table-holder";
config['pagesHolderId'] = "pages-holder";
config['domain'] = "https://www.smeshariki.ru";
config['fsPath'] = 'fs';
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<script src="./items.min.js"></script> <!--- Loading items -->
<script src="./resources.min.js"></script> <!--- Loading resources -->
<script src="./list.js"></script> <!--- Loading main -->
<style>
.mark, mark {
padding: 0 !important;
background-color: #6c757d2e !important;
}
</style>
</head>
<body>
<nav class="navbar sticky-top navbar-dark bg-primary">
<div class="d-flex form-inline">
<a class="navbar-brand" href="#">InstantList</a>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0" id="inputGroup-sizing-sm"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
</svg></span>
</div>
<input id="instantlist_search" class="form-control me-2 border-left-0 border shadow-none" type="search" placeholder="Поиск..." aria-label="Search">
</div>
</div>
</nav>
<div class="container-fluid py-1">
<h1 id="title">Вещи</h1>
<noscript>
<h3>Внимание!</h3>
<p>Для работы списка включите JavaScript.</p>
</noscript>
<div id="table-holder" class="table-responsive"></div>
<div id="pages-holder"></div>
</div>
</body>
</html>