added refresh every 60 seconds
This commit is contained in:
parent
2d07bc7471
commit
665d7f5150
@ -13,10 +13,11 @@ def generate_pdf_list_html(directory, output_file="pdf_list.html"):
|
||||
# Get the current timestamp
|
||||
generation_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
||||
# HTML content with updated styling
|
||||
# HTML content with updated styling and auto-refresh
|
||||
html_content = f'''<html>
|
||||
<head>
|
||||
<title>PDF Files</title>
|
||||
<meta http-equiv="refresh" content="60"> <!-- Auto-refresh every 60 seconds -->
|
||||
<style>
|
||||
body {{ font-family: "Courier New", Courier, monospace; background-color: #0d1b2a; color: #e0e0e0; margin: 0; padding: 100px; }}
|
||||
.container {{ max-width: 800px; background: #1b2631; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); border-radius: 12px; padding: 30px; margin: auto; margin-top: 40px; }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user