diff --git a/httpFS.log b/httpFS.log new file mode 100644 index 0000000..603e4a4 --- /dev/null +++ b/httpFS.log @@ -0,0 +1,279 @@ +08:39:25 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +08:39:25 06.09.24: [redmi-note-12] GET [200] '/files/', 13 ms +08:39:29 06.09.24: Notification onDestroy +08:39:29 06.09.24: Server was stopped +08:39:29 06.09.24: Server was stopped +08:41:21 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +08:41:21 06.09.24: [redmi-note-12] GET [200] '/files/', 6 ms +08:42:16 06.09.24: [redmi-note-12] GET [200] '/files/', 19 ms +08:42:17 06.09.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=%221%22', 259 ms +08:42:17 06.09.24: [redmi-note-12] GET [200] '/api/files/list?path=%22/files/%22', 379 ms +08:42:45 06.09.24: [redmi-note-12] GET [200] '/files/', 15 ms +08:42:46 06.09.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=%221%22', 256 ms +08:42:46 06.09.24: [redmi-note-12] GET [200] '/api/files/list?path=%22/files/%22', 279 ms +08:43:01 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 11 ms +08:43:01 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 18 ms +08:43:09 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 20 ms +08:43:09 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 5 ms +08:43:13 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 17 ms +08:43:13 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 15 ms +08:43:17 06.09.24: [redmi-note-12] GET [200] '/files/doc/git%20hub%20ramifica%C3%A7%C3%B5es%20l.html', 18 ms +08:43:18 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 14 ms +08:43:18 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 14 ms +08:43:44 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 9 ms +08:43:45 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 8 ms +08:43:48 06.09.24: [ip6-localhost] [localhost] GET [200] '/files/', 7 ms +08:43:49 06.09.24: [ip6-localhost] [localhost] GET [200] '/api/files/tree?recursion=%221%22', 119 ms +08:43:49 06.09.24: [ip6-localhost] [localhost] GET [200] '/api/files/list?path=%22/files/%22', 129 ms +08:43:51 06.09.24: [ip6-localhost] [localhost] GET [200] '/files/', 20 ms +08:43:51 06.09.24: [ip6-localhost] [localhost] GET [200] '/api/files/list?path=%22/files/%22', 200 ms +08:43:51 06.09.24: [ip6-localhost] [localhost] GET [200] '/api/files/tree?recursion=%221%22', 198 ms +08:44:48 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 12 ms +08:44:49 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 14 ms +08:44:52 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 19 ms +08:44:52 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 18 ms +08:44:55 06.09.24: App was closed +08:44:58 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 17 ms +08:44:58 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 12 ms +08:45:06 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 13 ms +08:45:06 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 10 ms +08:45:13 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 16 ms +08:45:13 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 11 ms +08:45:25 06.09.24: [redmi-note-12] GET [200] '/files/', 6 ms +08:45:26 06.09.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=%221%22', 194 ms +08:45:26 06.09.24: [redmi-note-12] GET [200] '/api/files/list?path=%22/files/%22', 211 ms +08:45:29 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 9 ms +08:45:29 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 10 ms +08:45:29 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 9 ms +08:45:32 06.09.24: [redmi-note-12] GET [200] '/files/doc/pysdl2%20janelas.html', 28 ms +08:45:35 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 9 ms +08:45:35 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 6 ms +08:50:10 06.09.24: Server will be restarted +08:50:10 06.09.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +08:50:10 06.09.24: Server was stopped +09:10:16 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +09:10:16 06.09.24: [redmi-note-12] GET [200] '/files/', 6 ms +09:10:27 06.09.24: Server will be restarted +09:10:27 06.09.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +09:10:27 06.09.24: [localhost] GET [200] '/files/', 5 ms +09:10:42 06.09.24: [redmi-note-12] [192.168.1.11] GET [200] '/files/__site_principal__V6.html', 33 ms +09:10:42 06.09.24: [redmi-note-12] [192.168.1.11] GET [200] '/files/verifier.json', 11 ms +09:10:42 06.09.24: Server will be restarted +09:10:42 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +09:10:42 06.09.24: Server was stopped +10:00:30 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +10:00:30 06.09.24: [redmi-note-12] GET [200] '/files/', 6 ms +10:00:35 06.09.24: Server was stopped +10:00:35 06.09.24: Notification onDestroy +10:00:35 06.09.24: Server was stopped +10:00:45 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +10:00:45 06.09.24: [redmi-note-12] GET [200] '/files/', 3 ms +10:00:47 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 26 ms +10:00:49 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 6 ms +10:01:03 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 13 ms +10:01:06 06.09.24: [redmi-note-12] GET [200] '/files/', 17 ms +10:01:06 06.09.24: [redmi-note-12] GET [200] '/files/', 12 ms +10:01:07 06.09.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=%221%22', 212 ms +10:01:07 06.09.24: [redmi-note-12] GET [200] '/api/files/list?path=%22/files/%22', 217 ms +10:01:19 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 21 ms +10:02:03 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 18 ms +10:02:06 06.09.24: [redmi-note-12] GET [200] '/files/doc/pysdl2%20janelas.html', 26 ms +10:02:23 06.09.24: App was closed +10:02:42 06.09.24: [redmi-note-12] GET [200] '/files/' [ERROR] Broken pipe, 23 ms +10:02:42 06.09.24: [redmi-note-12] GET [200] '/files/', 15 ms +10:02:42 06.09.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=%221%22', 146 ms +10:02:42 06.09.24: [redmi-note-12] GET [200] '/api/files/list?path=%22/files/%22', 203 ms +10:06:19 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 14 ms +10:06:28 06.09.24: [redmi-note-12] GET [200] '/files/doc/svg.html', 20 ms +10:11:14 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 21 ms +10:11:17 06.09.24: [redmi-note-12] GET [200] '/files/doc/code%20colorido%20html.html', 19 ms +10:15:30 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 8 ms +10:15:32 06.09.24: [redmi-note-12] GET [200] '/files/doc/svg.html', 18 ms +10:20:55 06.09.24: Server will be restarted +10:20:55 06.09.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +10:20:55 06.09.24: Server was stopped +11:07:57 06.09.24: Server was started at 192.168.0.103:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +11:07:57 06.09.24: [192.168.0.103] GET [200] '/files/', 17 ms +11:08:02 06.09.24: App was closed +11:08:18 06.09.24: Server was stopped +11:08:27 06.09.24: Server was started at 192.168.0.103:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +11:08:27 06.09.24: [192.168.0.103] GET [200] '/files/', 7 ms +11:09:15 06.09.24: [192.168.0.103] GET [200] '/files/', 15 ms +11:09:15 06.09.24: [192.168.0.103] GET [200] '/api/files/tree?recursion=%221%22', 224 ms +11:09:16 06.09.24: [192.168.0.103] GET [200] '/api/files/list?path=%22/files/%22', 322 ms +11:09:46 06.09.24: [192.168.0.103] GET [200] '/files/', 5 ms +11:09:47 06.09.24: [192.168.0.103] GET [200] '/api/files/tree?recursion=%221%22', 200 ms +11:09:47 06.09.24: [192.168.0.103] GET [200] '/api/files/list?path=%22/files/%22', 218 ms +11:09:57 06.09.24: [192.168.0.103] GET [200] '/files/__site_principal__V6.html', 10 ms +11:09:57 06.09.24: [192.168.0.103] GET [200] '/files/verifier.json', 15 ms +11:10:03 06.09.24: [192.168.0.103] GET [200] '/files/doc/svg.html', 14 ms +11:10:14 06.09.24: [192.168.0.103] GET [200] '/files/__site_principal__V6.html', 12 ms +11:10:14 06.09.24: [192.168.0.103] GET [200] '/files/verifier.json', 10 ms +11:10:47 06.09.24: App was closed +11:13:19 06.09.24: [192.168.0.105] GET [200] '/files/__site_principal__V6.html', 20 ms +11:13:19 06.09.24: [192.168.0.105] GET [200] '/files/verifier.json', 16 ms +11:13:57 06.09.24: [192.168.0.105] GET [200] '/files/__site_principal__V6.html', 18 ms +11:13:57 06.09.24: [192.168.0.105] GET [200] '/files/verifier.json', 21 ms +11:14:17 06.09.24: [192.168.0.105] GET [200] '/files/doc/pysdl2%20base.html', 10 ms +11:17:34 06.09.24: [192.168.0.105] GET [200] '/files/__site_principal__V6.html', 22 ms +11:17:34 06.09.24: [192.168.0.105] GET [200] '/files/verifier.json', 13 ms +11:17:38 06.09.24: [192.168.0.105] GET [200] '/files/doc/svg.html', 23 ms +13:03:15 06.09.24: [192.168.0.103] GET [200] '/files/', 36 ms +13:03:15 06.09.24: [192.168.0.103] GET [200] '/files/' [ERROR] Broken pipe, 73 ms +13:03:17 06.09.24: [192.168.0.103] GET [200] '/api/files/tree?recursion=%221%22', 364 ms +13:03:17 06.09.24: [192.168.0.103] GET [200] '/api/files/list?path=%22/files/%22', 436 ms +13:03:24 06.09.24: [192.168.0.103] GET [200] '/files/__site_principal__V6.html', 22 ms +13:03:25 06.09.24: [192.168.0.103] GET [200] '/files/verifier.json', 13 ms +13:03:29 06.09.24: [192.168.0.103] GET [200] '/files/doc/svg.html', 15 ms +13:03:36 06.09.24: [192.168.0.103] GET [200] '/files/__site_principal__V6.html', 8 ms +13:03:37 06.09.24: [192.168.0.103] GET [200] '/files/verifier.json', 7 ms +13:03:40 06.09.24: [192.168.0.103] GET [200] '/files/doc/code%20colorido%20html.html', 18 ms +13:06:11 06.09.24: Server will be restarted +13:06:11 06.09.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +13:06:11 06.09.24: Server was stopped +13:06:11 06.09.24: Notification onDestroy +13:06:11 06.09.24: Server was stopped +13:30:09 06.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +13:30:09 06.09.24: [redmi-note-12] GET [200] '/files/', 6 ms +13:30:19 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 56 ms +13:30:19 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 13 ms +13:30:22 06.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 19 ms +13:30:22 06.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 12 ms +13:30:27 06.09.24: [redmi-note-12] GET [200] '/files/doc/intelig%C3%AAncia%20artificial.html', 18 ms +13:37:33 06.09.24: Server will be restarted +13:37:33 06.09.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +13:37:33 06.09.24: Server was stopped +07:58:51 07.09.24: Server was started at 192.168.1.11:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +07:58:52 07.09.24: [redmi-note-12] GET [200] '/files/', 6 ms +07:59:34 07.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 33 ms +07:59:34 07.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 11 ms +08:00:09 07.09.24: [desktop-vfnk15d] GET [200] '/files/__site_principal__V6.html', 10 ms +08:00:10 07.09.24: [desktop-vfnk15d] GET [200] '/files/verifier.json', 20 ms +08:02:16 07.09.24: [desktop-vfnk15d] GET [200] '/files/doc/pysdl2%20janelas.html', 26 ms +08:09:22 07.09.24: App was closed +08:09:28 07.09.24: [redmi-note-12] GET [200] '/files/__site_principal__V6.html', 18 ms +08:09:28 07.09.24: [redmi-note-12] GET [200] '/files/verifier.json', 13 ms +12:13:58 07.09.24: Server will be restarted +12:13:58 07.09.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +12:13:58 07.09.24: Server was stopped +15:02:23 10.09.24: Server was started at 10.113.71.196:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +15:02:24 10.09.24: [10.113.71.196] GET [200] '/files/', 8 ms +15:02:28 10.09.24: Server was stopped +15:02:28 10.09.24: Notification onDestroy +15:02:28 10.09.24: Server was stopped +15:02:39 10.09.24: Server was started at 10.113.71.196:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +15:02:39 10.09.24: [10.113.71.196] GET [200] '/files/', 6 ms +15:02:53 10.09.24: Server was stopped +15:03:37 10.09.24: Server was started at 10.113.71.196:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +15:03:37 10.09.24: [10.113.71.196] GET [200] '/files/', 6 ms +15:03:40 10.09.24: [10.113.71.196] GET [200] '/files/', 7 ms +15:03:40 10.09.24: [10.113.71.196] GET [200] '/api/files/list?path=%22/files/%22', 175 ms +15:03:40 10.09.24: [10.113.71.196] GET [200] '/api/files/tree?recursion=%221%22', 251 ms +15:03:42 10.09.24: [10.113.71.196] GET [200] '/api/files/list?path=%22/files/.git/%22', 110 ms +15:03:42 10.09.24: [10.113.71.196] GET [200] '/api/files/tree?recursion=%221%22', 191 ms +15:03:45 10.09.24: [10.113.71.196] GET [200] '/api/files/list?path=%22/files/%22', 117 ms +15:03:45 10.09.24: [10.113.71.196] GET [200] '/api/files/tree?recursion=%221%22', 195 ms +15:03:51 10.09.24: [10.113.71.196] GET [200] '/files/__site_principal__V6.html', 25 ms +15:03:51 10.09.24: [10.113.71.196] GET [200] '/files/verifier.json', 17 ms +15:04:04 10.09.24: [10.113.71.196] GET [200] '/files/doc/exception%20personalizados.html', 25 ms +15:06:57 10.09.24: [10.113.71.196] GET [200] '/files/__site_principal__V6.html', 14 ms +15:06:57 10.09.24: [10.113.71.196] GET [200] '/files/verifier.json', 10 ms +15:07:02 10.09.24: [10.113.71.196] GET [200] '/files/doc/intelig%C3%AAncia%20artificial%20reconhecendo%20de%20linguagens.html', 20 ms +15:07:10 10.09.24: [10.113.71.196] GET [200] '/files/__site_principal__V6.html', 16 ms +15:07:10 10.09.24: [10.113.71.196] GET [200] '/files/verifier.json', 16 ms +15:07:17 10.09.24: App was closed +15:30:08 10.09.24: Notification onDestroy +15:30:08 10.09.24: Server was stopped +16:08:14 24.10.24: Server was started at 192.168.1.32:8080 in '/storage/emulated/0/__Projetos__/doc_gpt' +16:08:14 24.10.24: [redmi-note-12] GET [200] '/files/', 7 ms +16:08:18 24.10.24: Server was stopped +16:08:18 24.10.24: Notification onDestroy +16:08:18 24.10.24: Server was stopped +16:10:11 24.10.24: Server was started at 192.168.1.32:8080 in '/storage/emulated/0/__Projetos__/leitura-simples' +16:10:11 24.10.24: [redmi-note-12] GET [200] '/files/', 10 ms +16:10:39 24.10.24: Server was stopped +16:15:38 24.10.24: Server was started at 192.168.1.32:8080 in '/storage/emulated/0/__Projetos__/leitura-simples' +16:15:38 24.10.24: [redmi-note-12] GET [200] '/files/', 7 ms +16:16:02 24.10.24: [redmi-note-12] GET [200] '/files/', 9 ms +16:16:03 24.10.24: [redmi-note-12] GET [200] '/api/files/list?path=%27%2Ffiles%2F%27', 56 ms +16:16:03 24.10.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=1', 217 ms +16:16:15 24.10.24: [redmi-note-12] GET [200] '/files/', 15 ms +16:16:16 24.10.24: [redmi-note-12] GET [200] '/api/files/list?path=%27%2Ffiles%2F%27', 70 ms +16:16:16 24.10.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=1', 209 ms +16:16:42 24.10.24: [redmi-note-12] GET [200] '/files/', 17 ms +16:16:42 24.10.24: [redmi-note-12] GET [200] '/api/files/list?path=%27%2Ffiles%2F%27', 67 ms +16:16:43 24.10.24: [redmi-note-12] GET [200] '/api/files/tree?recursion=1', 234 ms +16:17:12 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 20 ms +16:17:12 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 12 ms +16:17:12 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 26 ms +16:17:12 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 36 ms +16:17:12 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 27 ms +16:17:12 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 31 ms +16:18:48 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 17 ms +16:18:48 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 20 ms +16:18:48 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 14 ms +16:18:48 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 22 ms +16:18:48 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 23 ms +16:18:48 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 28 ms +16:18:56 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 13 ms +16:18:56 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 35 ms +16:18:56 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 15 ms +16:18:56 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 24 ms +16:18:56 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 25 ms +16:18:56 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 35 ms +16:19:01 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 17 ms +16:19:01 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 21 ms +16:19:01 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 24 ms +16:19:01 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 25 ms +16:19:01 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 29 ms +16:19:01 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 42 ms +16:19:07 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 20 ms +16:19:07 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 29 ms +16:19:07 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 23 ms +16:19:07 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 25 ms +16:19:07 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 28 ms +16:19:07 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 41 ms +16:19:48 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 20 ms +16:19:48 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 20 ms +16:19:48 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 15 ms +16:19:49 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 23 ms +16:19:49 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 25 ms +16:19:49 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 38 ms +16:20:27 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 24 ms +16:20:27 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 20 ms +16:20:27 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 14 ms +16:20:27 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 25 ms +16:20:27 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 20 ms +16:20:27 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 35 ms +16:34:17 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 30 ms +16:34:17 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 24 ms +16:34:17 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 18 ms +16:34:17 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 14 ms +16:34:17 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 17 ms +16:34:17 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 33 ms +16:34:23 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 39 ms +16:34:23 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 16 ms +16:34:23 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 29 ms +16:34:23 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 31 ms +16:34:23 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 23 ms +16:34:23 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 13 ms +16:34:42 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 17 ms +16:34:42 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 12 ms +16:34:42 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 17 ms +16:34:42 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 24 ms +16:34:42 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 25 ms +16:34:42 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 39 ms +16:34:51 24.10.24: [redmi-note-12] GET [200] '/files/index.html', 35 ms +16:34:51 24.10.24: [redmi-note-12] GET [200] '/files/style.css', 17 ms +16:34:52 24.10.24: [redmi-note-12] GET [200] '/files/script.js', 30 ms +16:34:52 24.10.24: [redmi-note-12] GET [200] '/files/confg.js', 22 ms +16:34:52 24.10.24: [redmi-note-12] GET [200] '/files/img/book_page.png', 23 ms +16:34:52 24.10.24: [redmi-note-12] GET [200] '/files/img/image-removebg-preview.png', 28 ms +16:38:27 24.10.24: Server will be restarted +16:38:27 24.10.24: Server was started at 127.0.0.1:8080 in '/storage/emulated/0/__Projetos__/leitura-simples' +16:38:27 24.10.24: Server was stopped +16:55:30 24.10.24: Server was started at 192.168.1.32:8080 in '/storage/emulated/0/__Projetos__/leitura-simples' +16:55:30 24.10.24: [redmi-note-12] GET [200] '/files/', 8 ms +16:55:34 24.10.24: Server was stopped +16:55:34 24.10.24: Notification onDestroy +16:55:34 24.10.24: Server was stopped diff --git a/script.js b/script.js index 0b3ad99..33049d7 100644 --- a/script.js +++ b/script.js @@ -34,6 +34,7 @@ function scrollarParagrafo(pixels) { // top: pixels - 55, // behavior: "smooth", // }); + paragrafo.scrollTo({ top: pixels, behavior: "smooth", @@ -93,8 +94,10 @@ page.addEventListener("click", () => { heightp = Number(paragrafo_style.height.replace('px', '')) pixels = heightp + scrolltop; console.log("pixels", pixels, "height", heightp); - + setTimeout(function () { scrollarParagrafo(pixels); + }, 1000); + let teste = highlight_top_erd; console.log("paragrafo_style", teste); if (marcador.value == "button") { @@ -195,3 +198,56 @@ setaps.addEventListener("click", () => { console.log("seta para baixo"); move_marcador(false); }); + + +// ---------------------------------------------------------------------------------------------------------------------- +// barra de scroll +let scroll_top = document.createElement("div"); +let is_scroll = document.getElementsByClassName("scroll"); + +// Selecionar o elemento (por exemplo, pela classe) +var elemento = document.getElementById("paragraph"); +// Obter o tamanho da janela (viewport) +var larguraJanela = window.innerWidth; +var alturaJanela = window.innerHeight; + + +let style = document.createElement("style"); +style.type = "text/css"; +style.innerText = ` + .scroll_top { + background-color: green; + position: fixed; + width: 0%; + height: 10px; + bottom: 0px; + left: 0; + z-index: -1; + } + @media (max-width: 768px) { + .scroll_top { + top: 0px; + left: 0; + } + } +`; +document.body.appendChild(style); + + +scroll_top.classList.add("scroll_top"); +document.body.appendChild(scroll_top); + +paragrafo.addEventListener("scroll", () => { + let vertical = + (paragrafo.scrollTop / (paragrafo.scrollHeight - paragrafo.clientHeight)) * + 100; + let horizontal = (vertical / 100) * window.innerWidth; + scroll_top.style.width = horizontal + 1 + "px"; +}); + + + +// Comparar os tamanhos +console.log("Largura da janela: " + larguraJanela + "px"); +console.log("Altura da janela: " + alturaJanela + "px"); + diff --git a/style.css b/style.css index f034235..4e15984 100644 --- a/style.css +++ b/style.css @@ -2,6 +2,7 @@ #paragraph { width: 50%; + margin: 10px auto; line-height: 1.5em; @@ -206,7 +207,7 @@ body { @media (max-width: 768px) { body { - padding: 10px; + padding: 0px; } header { @@ -263,11 +264,12 @@ body { left: 60%; } #paragraph { - max-height: calc(95vh - 40px); + max-height: calc(88vh - 40px); z-index: 2; width: 95%; /* O parágrafo se ajusta à largura da tela */ /* font-size: 14px; Fonte um pouco menor para celular */ /* Reduz a altura para celulares */ + } .highlight{ z-index: -1; diff --git a/utils.json b/utils.json new file mode 100644 index 0000000..a306f5c --- /dev/null +++ b/utils.json @@ -0,0 +1,12 @@ +{ + "pc":{ "low":15, + "middle":0 + + + }, + "mobile":{ + "low":12.5, + "middle":17.52, + "high":22 + } +} \ No newline at end of file