fixed indents
This commit is contained in:
@@ -335,8 +335,8 @@ data:
|
||||
</div>'''
|
||||
|
||||
html = f"""<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
@@ -390,8 +390,8 @@ data:
|
||||
.todo-list::-webkit-scrollbar-track {{ background: transparent; }}
|
||||
.todo-list::-webkit-scrollbar-thumb {{ background: var(--accent-40); border-radius: 3px; }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="add-form">
|
||||
<input type="text" class="add-input" id="newTodo" placeholder="+ Add a task" onkeypress="if(event.key==='Enter')addTodo()">
|
||||
@@ -442,8 +442,8 @@ data:
|
||||
}} catch(e) {{ showStatus('Error: ' + e.message, true); }}
|
||||
}}
|
||||
</script>
|
||||
</body>
|
||||
</html>"""
|
||||
</body>
|
||||
</html>"""
|
||||
return Response(content=html, media_type="text/html")
|
||||
|
||||
@APP.post("/userdata/todo/add")
|
||||
@@ -515,8 +515,8 @@ data:
|
||||
quotes_html += f'<div class="quote-item" data-index="{i}"><span class="quote-text">{q_escaped}</span><button class="quote-delete" onclick="deleteQuote({i})">×</button></div>'
|
||||
|
||||
html = f"""<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
@@ -594,8 +594,8 @@ data:
|
||||
.add-btn:hover {{ background: var(--accent-40); }}
|
||||
.empty-state {{ text-align: center; padding: 20px; opacity: 0.5; font-size: 13px; }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<button class="settings-btn" onclick="openModal()" title="Manage quotes">⚙️</button>
|
||||
<div class="quote-display">
|
||||
@@ -651,8 +651,8 @@ data:
|
||||
}} catch(e) {{ console.error(e); }}
|
||||
}}
|
||||
</script>
|
||||
</body>
|
||||
</html>"""
|
||||
</body>
|
||||
</html>"""
|
||||
return Response(content=html, media_type="text/html")
|
||||
|
||||
@APP.post("/userdata/motivation/add")
|
||||
|
||||
Reference in New Issue
Block a user