rss-reader/templates/index.html.tera

75 lines
3.1 KiB
Plaintext
Raw Normal View History

2025-01-31 20:18:24 -08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RSS Reader</title>
2025-02-04 03:33:03 -08:00
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
2025-02-01 00:39:16 -08:00
<link rel="stylesheet" href="/static/css/style.css">
2025-01-31 20:18:24 -08:00
</head>
2025-02-01 20:04:21 -08:00
<body class="with-sidebar">
2025-02-02 01:23:21 -08:00
<!-- Add Feed Modal -->
2025-02-03 00:59:46 -08:00
<dialog class="modal" id="addFeedModal">
<article class="modal-content">
<header class="modal-header">
2025-02-02 01:23:21 -08:00
<h2>Add RSS Feed</h2>
2025-02-03 00:59:46 -08:00
</header>
<section class="modal-body">
2025-02-02 01:23:21 -08:00
<form id="addFeedForm">
<div class="form-group">
<label for="feedUrl">Feed URL</label>
2025-02-02 02:11:13 -08:00
<input type="url" id="feedUrl" name="url" required
2025-02-02 01:23:21 -08:00
placeholder="https://example.com/feed.xml">
</div>
2025-02-02 02:11:13 -08:00
<div class="error-message" id="feedErrorMessage" style="display: none; color: red; margin-bottom: 10px;"></div>
2025-02-02 03:25:51 -08:00
<div class="loading-message" id="loadingMessage" style="display: none; color: #666; margin-bottom: 10px; text-align: center;">
<div class="spinner"></div>
<div>Loading feed information...</div>
</div>
2025-02-02 01:23:21 -08:00
</form>
2025-02-03 00:59:46 -08:00
</section>
<footer class="modal-footer">
2025-02-02 01:23:21 -08:00
<button type="button" class="btn-secondary" id="cancelAddFeed">Cancel</button>
2025-02-02 03:25:51 -08:00
<button type="button" class="btn-primary" id="confirmAddFeed">Add Feed</button>
2025-02-03 00:59:46 -08:00
</footer>
</article>
</dialog>
2025-02-02 01:23:21 -08:00
2025-02-06 02:17:57 -08:00
<aside class="sidebar" id="sidebar">
<div class="sidebar-header">
<h2>Feeds</h2>
<button class="sidebar-close" id="sidebarClose">
<i class="fas fa-times"></i>
</button>
</div>
2025-02-03 00:59:46 -08:00
<nav id="feedList">
</nav>
</aside>
2025-02-05 04:19:47 -08:00
<div class="main-content-area">
<header class="top-bar">
2025-02-06 02:17:57 -08:00
<button class="hamburger-menu" id="hamburgerMenu">
<i class="fas fa-bars"></i>
</button>
2025-02-06 02:05:55 -08:00
<button class="add-feed-button" id="addFeedButton" title="Add Feed">
<i class="fas fa-plus"></i>
</button>
<h1 class="top-bar-title">RSS Reader</h1>
<div class="user-menu">
<button class="user-menu-button" id="userMenuButton">
<span class="user-menu-icon"><i class="fas fa-user"></i></span>
</button>
<div class="user-menu-dropdown" id="userMenuDropdown">
2025-02-07 02:47:02 -08:00
<button class="user-menu-item" id="importOpmlButton">Import OPML</button>
2025-02-16 00:42:02 -08:00
<button class="user-menu-item" id="settingsButton">Settings</button>
<button class="user-menu-item" id="logoutButton">Logout</button>
</div>
</div>
</header>
2025-02-05 04:19:47 -08:00
<main id="main-content"></main>
</div>
2025-02-01 23:01:33 -08:00
2025-02-02 01:23:21 -08:00
<script src="/static/js/app.js"></script>
2025-01-31 20:18:24 -08:00
</body>
2025-02-01 16:53:58 -08:00
</html>