-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<title>My Alogrithmic RSS Reader</title> | ||
<title>My RSS Algo</title> | ||
<style> | ||
/* Your custom styles can go here */ | ||
.read-article .card { | ||
|
@@ -82,18 +82,27 @@ | |
.btn-group { | ||
margin-top: auto; /* Push the button group to the bottom of the card */ | ||
} | ||
.my-4 { | ||
margin-top: 0; | ||
padding-top: 0; | ||
line-height: 0; | ||
} | ||
|
||
|
||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="my-4">My Alogrithmic RSS Reader</h1> | ||
<div class="my-3"> | ||
<div style="float:left;width:100%;margin-top: 20px;"> | ||
<div style="float:left"><h1 class="my-4">My RSS Algo</h1></div> | ||
<div style="float:right;"> | ||
<button id="add-feed" class="btn btn-primary">+</button> | ||
<button id="manage-feeds" class="btn btn-secondary">My Feeds</button> | ||
</div> | ||
<div class="my-3" style="float:left;width:100%;"> | ||
<span id="unread-count" class="text-danger">Unread: 0</span> | ||
<span id="read-count" class="text-success">Read/Skiped: 0</span> | ||
<button id="add-feed" class="btn btn-primary">Add A Feed</button> | ||
<button id="manage-feeds" class="btn btn-secondary">Manage Feeds</button> | ||
</div> | ||
</div> | ||
<div id="news-feed" class="row"> | ||
<!-- News articles will be dynamically added here --> | ||
|
@@ -225,9 +234,9 @@ <h5 class="card-title">${title}</h5> | |
<div> | ||
<button class="btn btn-success upvote ${hasUpvote ? 'thumbs-up' : ''}" data-item-id="${itemId}">👍</button> | ||
<button class="btn btn-danger downvote ${hasDownvote ? 'thumbs-down' : ''}" data-item-id="${itemId}">👎</button> | ||
<button class="btn btn-secondary skip ${isRead ? 'skip-read' : ''}" data-item-id="${itemId}">Skip</button> | ||
<button class="btn btn-secondary skip ${isRead ? 'skip-read' : ''}" data-item-id="${itemId}">Pass</button> | ||
</div> | ||
<a href="${link}" class="btn btn-${isRead ? 'secondary' : 'primary'} read-button" target="_blank">${isRead ? 'Read Again' : 'Read More'}</a> | ||
<a href="${link}" class="btn btn-${isRead ? 'secondary' : 'primary'} read-button" target="_blank">${isRead ? 'Read Again' : 'Read'}</a> | ||
</div> | ||
</div> | ||
<div class="card-footer"> | ||
|