Merge branch 'main' into allthebookmarks-com

This commit is contained in:
Joey Kimsey
2024-12-20 14:12:15 -05:00
5 changed files with 20 additions and 11 deletions

View File

@ -12,6 +12,9 @@
.context-main {
color: #fff;
}
.context-second {
color: #1e1e1e;
}
.context-main-bg {
background-color: #2c2c2c;
}

View File

@ -1,5 +1,4 @@
<div class="col-8 mx-auto p-4 rounded shadow-sm mb-5 context-main-bg mt-4 container">
<div class="col-8 mx-auto p-4 rounded shadow-sm mb-5 context-main-bg mt-4 container">
<h2 class="text-center mb-4">Bug Report</h2>
<p>Thank you for visiting our bug reporting page. We value our users' input highly and in an effort to better serve your needs, please fill out the form below to help us address this issue.</p>
<p>We read each and every bug report submitted, and by submitting this form you allow us to send you a follow-up email.</p>
@ -49,4 +48,4 @@
<button type="submit" name="submit" value="submit" class="btn btn-primary btn-lg">Submit</button>
</div>
</form>
</div>
</div>

View File

@ -130,8 +130,10 @@ class Notification extends DatabaseModel {
}
if ( $message->seenAt == 0 ) {
$message->unseenBadge = Views::simpleView( 'notifications.unseenBadge' );
$message->markReadLink = '<a href="{ROOT_URL}notifications/markRead/'.$message->ID.'" class="btn btn-sm btn-primary"><i class="fa-solid fa-fw fa-envelope-open"></i></a>';
} else {
$message->unseenBadge = '';
$message->markReadLink = '';
}
$out[] = (object) $message;
if ( !empty( $end ) ) {

View File

@ -1,8 +1,7 @@
<div class="container py-4">
<div class="col-8 mx-auto p-4 rounded shadow-sm context-main-bg my-4">
<div class="row justify-content-center">
<div class="col-md-8">
<legend>Notifications</legend>
<legend class="text-center">Notifications</legend>
<table class="table">
<thead>
<tr>
@ -14,14 +13,20 @@
<tbody>
{LOOP}
<tr {unseenBadge}>
<td>{notification}</td>
<td><a href="{ROOT_URL}notifications/markRead/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
<td><a href="{ROOT_URL}notifications/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
<td class=" context-main">{notification}</td>
<td>
{markReadLink}
</td>
<td>
<a href="{ROOT_URL}notifications/delete/{ID}" class="btn btn-sm btn-danger">
<i class="fa fa-fw fa-trash"></i>
</a>
</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td colspan="7">
<td colspan="7" class=" context-main">
No Notifications
</td>
</tr>

View File

@ -1,4 +1,4 @@
<div class="col-8 mx-auto p-4 rounded shadow-sm mb-5 context-main-bg mt-4">
<div class="col-8 mx-auto p-4 rounded shadow-sm context-main-bg my-4">
<h2 class="text-center text-primary mb-4">Welcome to AllTheBookmarks</h2>
<p class="lead">
AllTheBookmarks was built out of a need to manage my own bookmarks better. As a web developer, I would not only use URLs for every aspect of my job, but I also needed to switch browsers, operating systems, or devices. For years, I had a version of this tool that I used on my own local network. In 2025, I'm bringing it to anyone who wants it.