Various changes

mobile-friendly ui updates
admin user-edit bugfix
file cleanup
added searchFields
add blog search
remove unused code
add maintenance mode config
This commit is contained in:
Joey Kimsey
2025-01-30 13:11:02 -05:00
parent b5996dc7db
commit 5e621883ff
106 changed files with 1154 additions and 787 deletions

View File

@ -1,14 +1,14 @@
<h2>Inbox</h2>
<form action="{ROOT_URL}messages/delete" method="post">
<table class="table table-striped">
<table class="table table-striped text-center">
<thead>
<tr>
<th style="width: 20%">From</th>
<th style="width: 25%">Subject</th>
<th style="width: 15%">Last Reply</th>
<th style="width: 20%"></th>
<th style="width: 15%">From</th>
<th style="width: 40%">Subject</th>
<th style="width: 20%">Last Reply</th>
<th style="width: 10%"></th>
<th style="width: 10%">
<th style="width: 10%"></th>
<th style="width: 5%">
<INPUT type="checkbox" onchange="checkAll(this)" name="check.t" value="T_[]"/>
</th>
</tr>
@ -16,11 +16,11 @@
<tbody>
{LOOP}
<tr {unreadBadge}>
<td><a href="{ROOT_URL}home/profile/{userFrom}">{userFrom}</a></td>
<td><a href="{ROOT_URL}messages/view/{ID}">{subject}</a></td>
<td>{DTC}{lastReply}{/DTC}</td>
<td><a href="{ROOT_URL}messages/read/{ID}">Mark as read</a></td>
<td><a href="{ROOT_URL}messages/delete/{ID}">Delete</a></td>
<td><a href="{ROOT_URL}home/profile/{userFrom}" class="text-decoration-none">{userFromPretty}</a></td>
<td><a href="{ROOT_URL}messages/view/{ID}" class="text-decoration-none">{subject}</a></td>
<td>{DTC date}{lastReply}{/DTC}</td>
<td><a href="{ROOT_URL}messages/read/{ID}" class="btn btn-sm btn-info"><i class="fa-solid fa-envelope-open"></i></a></td>
<td><a href="{ROOT_URL}messages/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
<td>
<input type="checkbox" value="{ID}" name="T_[]">
</td>
@ -35,5 +35,6 @@
{/ALT}
</tbody>
</table>
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button> <a href="{ROOT_URL}messages/create" class="btn btn-sm btn-primary">New message</a>
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
<a href="{ROOT_URL}messages/create" class="btn btn-sm btn-primary">New message</a>
</form>