Submissions.php: improve code readability.
parent
baf2d831ef
commit
117cc0431c
|
@ -347,13 +347,14 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Remarking'");
|
||||||
if ($att4 != "") {
|
if ($att4 != "") {
|
||||||
$full_link = $full_link . "| <a href='~\..\Lab_Report_Submisions\\$att4'>$att4</a>";
|
$full_link = $full_link . "| <a href='~\..\Lab_Report_Submisions\\$att4'>$att4</a>";
|
||||||
}
|
}
|
||||||
echo " <k href='#'> <div class='btn btn-default break-word ' style='dislay:block; word-wrap: break-word; border: 1px solid #F0F0F0;border-left: 4px solid #03407B;'>
|
echo "<div class='btn btn-default break-word' style='dislay:block; word-wrap: break-word; border: 1px solid #F0F0F0;border-left: 2px solid #eee;'>"
|
||||||
$title <br> by : <b> <span class = 'text-selectable'>$submitted_by </span> [ Marked $Marks ] </b> <br> Remarking Reason : <b>$remarking_reason </b>
|
. "$title <br>"
|
||||||
<hr> <span style='font-size:8pt'>Submitted : $posted <b> </b> "
|
. "Submitted by: <b> <span class = 'text-selectable'>$submitted_by </span> [ Marks: $Marks ] </b> <br>"
|
||||||
. "<button class='btn btn-secondary btn-sm' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'>Remark</button>"
|
. "<span style='color:orange'><i class='fa fa-info-circle'></i> Remarking reason:</span> $remarking_reason <br>"
|
||||||
. " <a href='~\..\Script.php?ignoreremarking=yes&id=$id&subid=$Submission_ID&header=$header&total=$total&status=Marked' class='btn btn-sm btn-light'>Ignore request</a>"
|
. "<button class='btn btn-light btn-sm' onclick='mark($Submission_ID,\"$title\",$total)'>Remark</button>"
|
||||||
. "<br> Attachments : $full_link </span>
|
. " <a href='~\..\Script.php?ignoreremarking=yes&id=$id&subid=$Submission_ID&header=$header&total=$total&status=Marked' class='btn btn-sm btn-light'>Ignore request</a> <br>"
|
||||||
</div></k>";
|
. "<small>Submitted at: $posted <br> Attachments: $full_link </small>"
|
||||||
|
. "</div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "";
|
echo "";
|
||||||
|
|
Loading…
Reference in New Issue