mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
fixed navbar icon for mobile
This commit is contained in:
parent
c99400994b
commit
5afdfb2b3c
@ -6,7 +6,8 @@ payload = json.dumps({
|
|||||||
"website_id": 3,
|
"website_id": 3,
|
||||||
# "url": "ftp://132.249.213.137",
|
# "url": "ftp://132.249.213.137",
|
||||||
"url": "http://localhost:8000/",
|
"url": "http://localhost:8000/",
|
||||||
# "url": "http://ubuntu.mirrorservice.org/",
|
# "url": "http://dlst18.xyz/
|
||||||
|
# dl/vip/film/",
|
||||||
"priority": 2,
|
"priority": 2,
|
||||||
"callback_type": "",
|
"callback_type": "",
|
||||||
"callback_args": "{}"
|
"callback_args": "{}"
|
||||||
|
@ -119,6 +119,9 @@ body {
|
|||||||
color: #616161;
|
color: #616161;
|
||||||
border-bottom: 2px solid #6c6c6c;
|
border-bottom: 2px solid #6c6c6c;
|
||||||
}
|
}
|
||||||
|
.navbar-toggler-icon {
|
||||||
|
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.6)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
|
||||||
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
border-color: #b3b3b3;
|
border-color: #b3b3b3;
|
||||||
|
@ -67,7 +67,7 @@ def index_file_list(path: str, website_id):
|
|||||||
|
|
||||||
es = ElasticSearchEngine("od-database")
|
es = ElasticSearchEngine("od-database")
|
||||||
with open(path, "r") as f:
|
with open(path, "r") as f:
|
||||||
es.import_json(f.read(), website_id)
|
es.import_json(f.readlines(), website_id)
|
||||||
|
|
||||||
|
|
||||||
def search(term=""):
|
def search(term=""):
|
||||||
@ -92,7 +92,7 @@ def make_wide_filesystem(count=100000):
|
|||||||
|
|
||||||
|
|
||||||
# dump_local_filesystem("/mnt/")
|
# dump_local_filesystem("/mnt/")
|
||||||
# index_file_list("random_dump.json", 1000)
|
index_file_list("local_filesystem.json", 4)
|
||||||
# random_searches(100000)
|
# random_searches(100000)
|
||||||
# dump_random_files(20000 * 100000)
|
# dump_random_files(20000 * 100000)
|
||||||
make_wide_filesystem(10000)
|
# make_wide_filesystem(10000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user