rss-reader/templates/index.html.tera

65 lines
2.5 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-03 00:59:46 -08:00
<header class="top-bar">
<nav class="top-bar-buttons">
2025-02-02 01:23:21 -08:00
<button class="add-feed-button" id="addFeedButton">Add Feed</button>
2025-02-03 00:59:46 -08:00
</nav>
2025-02-02 23:42:53 -08:00
<h1 class="top-bar-title">RSS Reader</h1>
2025-02-03 17:50:14 -08:00
<div class="user-menu">
<button class="user-menu-button" id="userMenuButton">
2025-02-04 03:33:03 -08:00
<span class="user-menu-icon"><i class="fas fa-user"></i></span>
2025-02-03 17:50:14 -08:00
</button>
<div class="user-menu-dropdown" id="userMenuDropdown">
<button class="user-menu-item" id="logoutButton">Logout</button>
</div>
</div>
2025-02-03 00:59:46 -08:00
</header>
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-03 00:59:46 -08:00
<aside class="sidebar">
2025-02-02 11:36:15 -08:00
<h2>Feeds</h2>
2025-02-03 00:59:46 -08:00
<nav id="feedList">
</nav>
</aside>
<main class="main-content">
</main>
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>