2
This commit is contained in:
parent
4c2cfe8edd
commit
3de525bbb5
11
index.php
11
index.php
@ -28,15 +28,16 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
function getStatusIndicator($status) {
|
function getStatusIndicator($status) {
|
||||||
|
$icon_path = __DIR__ . '/assets/icons/';
|
||||||
switch ($status) {
|
switch ($status) {
|
||||||
case 'submitted':
|
case 'submitted':
|
||||||
return '<span class="status-icon submitted">' . file_get_contents("assets/icons/check.svg") . '</span>';
|
return '<span class="status-icon submitted">' . file_get_contents($icon_path . "check.svg") . '</span>';
|
||||||
case 'pending':
|
case 'pending':
|
||||||
return '<span class="status-icon pending">' . file_get_contents("assets/icons/clock.svg") . '</span>';
|
return '<span class="status-icon pending">' . file_get_contents($icon_path . "clock.svg") . '</span>';
|
||||||
case 'missed':
|
case 'missed':
|
||||||
return '<span class="status-icon missed">' . file_get_contents("assets/icons/x.svg") . '</span>';
|
return '<span class="status-icon missed">' . file_get_contents($icon_path . "x.svg") . '</span>';
|
||||||
case 'ooo':
|
case 'ooo':
|
||||||
return '<span class="status-icon ooo">' . file_get_contents("assets/icons/palm.svg") . '</span>';
|
return '<span class="status-icon ooo">' . file_get_contents($icon_path . "palm.svg") . '</span>';
|
||||||
default:
|
default:
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
@ -56,7 +57,7 @@
|
|||||||
<div class="d-flex justify-content-between align-items-center mb-4 flex-wrap">
|
<div class="d-flex justify-content-between align-items-center mb-4 flex-wrap">
|
||||||
<h1 class="h2 team-name"><?php echo htmlspecialchars($team_name); ?></h1>
|
<h1 class="h2 team-name"><?php echo htmlspecialchars($team_name); ?></h1>
|
||||||
<button class="btn btn-primary btn-lg record-btn" disabled>
|
<button class="btn btn-primary btn-lg record-btn" disabled>
|
||||||
<?php echo file_get_contents("assets/icons/video.svg"); ?>
|
<?php echo file_get_contents(__DIR__ . "/assets/icons/video.svg"); ?>
|
||||||
Record Update
|
Record Update
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user