mCaptcha/templates/panel/notifications/index.html

51 lines
1.8 KiB
HTML
Raw Normal View History

<. include!("../../components/headers/index.html"); .> <.
include!("../navbar/index.html"); .>
2021-07-12 18:52:26 +03:00
<div class="tmp-layout">
<. include!("../header/index.html"); .>
<main class="panel-main">
<!-- Main content container -->
<div class="inner-container">
<!-- Main menu/ important actions roaster -->
<table class="notification__table">
<thead class="notification__heading">
2021-07-14 17:39:00 +03:00
<tr>
<th colspan="4" class="notification__title-text">Your Notifications</th>
</tr>
</thead>
<tbody class="notification__body">
<. for notification in n.iter() { .>
<tr class="notification__item">
<td>
<h3 class="notification__item-heading">
<.= notification.heading .>
</h3>
<p class="notification__item-text"><.= notification.message .></p>
2021-07-14 17:39:00 +03:00
<div class="notification-data__container">
<span class="notification__sender"><.= notification.name .></span>
2021-07-14 19:08:03 +03:00
<span>&#183;</span>
<span class="notification__received"><.= notification.print_date() .></span>
2021-07-14 17:39:00 +03:00
</div>
</td>
<td class="notification__mark-read-col">
<button class="notification__mark-read-btn">
<img
class="notification__mark-read"
src="<.= crate::FILES
.get("./static/cache/img/svg/check.svg")
.unwrap() .>"
alt="Mark Read"
/>
</button>
</td>
</tr>
<. } .>
</tbody>
</table>
</div>
<!-- end of container -->
<. include!("../../components/footers.html"); .>
</div>
</main>
</div>