<?php
$title = 'Workflow Inbox';

require
BASE_PATH .
'/app/views/admin/conference_home/workflow_notifications_widget.php';

?>

<div class="container-fluid py-4">

<div class="card border-0 shadow-lg rounded-4">

<div class="card-body">

<h2 class="fw-bold">

<i class="fa fa-inbox text-primary"></i>

Workflow Inbox

</h2>

<hr>

<?php if(empty($items)): ?>

<div class="alert alert-success">

No pending workflow tasks.

</div>

<?php else: ?>

<table class="table table-hover">

<thead>

<tr>

<th>Conference</th>

<th>Status</th>

<th>Action Required</th>

<th></th>

</tr>

</thead>

<tbody>

<?php foreach($items as $row): ?>

<tr>

<td>

<?= htmlspecialchars(
$row['conference_name']
) ?>

</td>

<td>

<?= htmlspecialchars(
$row['status']
) ?>

</td>

<td>

<?= htmlspecialchars(
$row['action_required']
) ?>

</td>

<td>

<a
class="btn btn-primary btn-sm"
href="/easychair/admin/conference-home/deployment">

Open

</a>

</td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

<?php endif; ?>

</div>

</div>

</div>
