From 32b1e815009a305bf07932fececbac39bf108cf6 Mon Sep 17 00:00:00 2001 From: Lan Hui <lanhui@zjnu.edu.cn> Date: Fri, 25 Aug 2023 21:14:05 +0800 Subject: [PATCH] Submissions.php: format code. --- Submissions.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Submissions.php b/Submissions.php index ac720bc..a6f43a2 100644 --- a/Submissions.php +++ b/Submissions.php @@ -184,9 +184,12 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Pending' order by Sub } echo "<div class='btn btn-default break-word' style='dislay:block; word-wrap: break-word; border: 1px solid #F0F0F0;border-left:1px solid #eee;'> - $title <br> by: <b> <span class = 'text-selectable'>$submitted_by </span> </b> - <br> <span style='font-size:8pt'>Submitted : $posted <button class='btn btn-sm btn-primary' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'> Mark</button><br> Attachments : $full_link </span> -</div>"; + $title <br> + By: <b> <span class='text-selectable'> $submitted_by </span> </b> <br> + <small>Submitted on: $posted</small> + <button class='btn btn-sm btn-primary' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'> Mark </button><br> + Attachments : $full_link + </div>"; } } echo "";