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 != "") { | ||||
|                                 $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;'>
 | ||||
|   $title  <br> by : <b> <span class = 'text-selectable'>$submitted_by </span>         [ Marked $Marks ] </b> <br> Remarking Reason : <b>$remarking_reason </b> | ||||
|    <hr> <span style='font-size:8pt'>Submitted : $posted        <b>  </b> " | ||||
|                                 . "<button class='btn btn-secondary btn-sm' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'>Remark</button>" | ||||
|                                 . "      <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> Attachments : $full_link </span>  
 | ||||
| </div></k>";
 | ||||
|                             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>" | ||||
| 			       .   "Submitted by: <b> <span class = 'text-selectable'>$submitted_by </span>         [ Marks: $Marks ] </b> <br>" | ||||
| 			       .   "<span style='color:orange'><i class='fa fa-info-circle'></i> Remarking reason:</span> $remarking_reason <br>" | ||||
|                                .   "<button class='btn btn-light btn-sm' onclick='mark($Submission_ID,\"$title\",$total)'>Remark</button>" | ||||
|                                .   "  <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>" | ||||
| 			       .   "<small>Submitted at: $posted <br> Attachments: $full_link </small>" | ||||
| 			       . "</div>"; | ||||
|                         } | ||||
|                     } | ||||
|                     echo ""; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue