From a0c9162000af8f045dca21bfc605a248251e1dc1 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Sun, 30 Mar 2025 20:22:50 +0200 Subject: [PATCH] adds navigation items to nav and index --- scipaperloader/templates/index.html | 61 +++++++++++++++++++++++++++-- scipaperloader/templates/nav.html | 60 ++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+), 3 deletions(-) create mode 100644 scipaperloader/templates/nav.html diff --git a/scipaperloader/templates/index.html b/scipaperloader/templates/index.html index e3c90e7..d057bb7 100644 --- a/scipaperloader/templates/index.html +++ b/scipaperloader/templates/index.html @@ -1,6 +1,61 @@ {% extends 'base.html' %} {% block content %} -

Welcome to SciPaperLoader

-

Your paper scraping tool is ready.

-Upload CSV + +
+
+

Welcome to SciPaperLoader

+

Your paper scraping tool is ready.

+

A simple tool to scrape papers from Zotero API.

+
+ +
+
+
+
+
📄 CSV Import
+

Upload a 37-column CSV to import paper metadata. Only relevant fields (title, DOI, ISSN, etc.) are stored. Errors are reported without aborting the batch.

+ Upload Now +
+
+
+ +
+
+
+
🧠 Background Scraper
+

A daemon process runs hourly to fetch papers using Zotero API. Downloads are randomized to mimic human behavior and avoid detection.

+ View Logs +
+
+
+ +
+
+
+
📚 Paper Management
+

Monitor paper status (Pending, Done, Failed), download PDFs, and inspect errors. Files are stored on disk in structured folders per DOI.

+ Browse Papers +
+
+
+ +
+
+
+
🕒 Download Schedule
+

Control how many papers are downloaded per hour. Configure hourly volume (e.g. 2/hour at daytime, 0 at night) to match your bandwidth or usage pattern.

+ Adjust Schedule +
+
+
+
+ +
+

+ Powered by Flask • SQLite • Bootstrap • PyZotero
+ Designed for academic use on a local network. +

+
+
+ {% endblock %} \ No newline at end of file diff --git a/scipaperloader/templates/nav.html b/scipaperloader/templates/nav.html new file mode 100644 index 0000000..be55f69 --- /dev/null +++ b/scipaperloader/templates/nav.html @@ -0,0 +1,60 @@ +