2021-07-13 18:53:08 +03:00
|
|
|
<. include!("../../components/headers/index.html"); .> <.
|
|
|
|
include!("../navbar/index.html"); .>
|
2021-07-12 18:52:26 +03:00
|
|
|
<div class="tmp-layout">
|
2021-07-13 18:53:08 +03:00
|
|
|
<. 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>
|
2021-07-13 18:53:08 +03:00
|
|
|
</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>·</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>
|
2021-07-13 18:53:08 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<. } .>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- end of container -->
|
|
|
|
<. include!("../../components/footers.html"); .>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</div>
|