google_forms/application/views/responses_list.php

52 lines
2.0 KiB
PHP
Raw Normal View History

2024-07-25 12:54:05 +00:00
2024-07-24 13:12:00 +00:00
<style>
.username-column {
color: darkblue; /* Dark blue color for title */
}
2024-07-25 12:54:05 +00:00
</style>
2024-07-17 12:21:51 +00:00
<div class="container">
<div class="row">
<div class="col-md-12 mt-4">
<div class="card">
<div class="card-header">
<?php if ($this->session->flashdata('status')): ?>
<div class="alert alert-success">
<?= $this->session->flashdata('status'); ?>
</div>
<?php endif; ?>
<h3>
Responses for "<?php echo $form->title; ?>"
</h3>
</div>
<div class="card-body">
<table id="basetable1" class="table table-bordered">
<thead>
<tr>
<th>Username</th>
<th>Submitted At</th>
2024-07-24 13:12:00 +00:00
<th>View</th>
2024-07-17 12:21:51 +00:00
</tr>
</thead>
<tbody>
<?php foreach ($responses as $response): ?>
<tr>
2024-07-24 13:12:00 +00:00
<td class="username-column"><?php echo $response->username; ?></td>
<td><?php echo $response->submitted_at; ?></td>
2024-07-19 10:46:18 +00:00
<td>
<a href="<?php echo base_url('responses/view/' . $response->response_id); ?>">
2024-07-24 13:12:00 +00:00
<i class="fas fa-eye"></i> <!-- Eye icon -->
2024-07-19 10:46:18 +00:00
</a>
</td>
2024-07-17 12:21:51 +00:00
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</body>
</html>