Update HTML templates and JavaScript for FastAPI compatibility
- Replace Flask url_for() with direct /static/ paths in all HTML templates - Update CSS and JavaScript file references to use FastAPI static mount - Convert Flask-specific template patterns to FastAPI-compatible syntax - Update JavaScript API endpoints to match new FastAPI route structure: * /api/series -> /api/v1/anime * /api/search -> /api/v1/anime/search * /api/rescan -> /api/v1/anime/rescan - Add web interface routes for serving HTML templates - Add template response endpoints for /app, /login, /setup, /queue - Mark HTML template and JavaScript migration tasks as completed - Maintain Jinja2 template compatibility with FastAPI
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AniWorld Manager - Login</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
||||
<link rel="stylesheet" href="/static/css/styles.css">
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||
<style>
|
||||
.login-container {
|
||||
|
||||
Reference in New Issue
Block a user