Submissions.php: format code and make the appearance better.
							parent
							
								
									eef551c2fb
								
							
						
					
					
						commit
						44cd46451b
					
				|  | @ -268,10 +268,12 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Marked'  Order by lab | |||
|                             // if you want to use text-selectable class on whole div, just call the css class
 | ||||
| 
 | ||||
| 
 | ||||
|                             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>        [ Marks: $Marks ] </b>     | ||||
|    <hr> Marking notes: $notes<br> <span style='font-size:8pt'>Submitted : $posted        <b>  </b> <button class='btn btn-light btn-sm' style='margin-left:50px;' onclick='mark($Submission_ID,\"$title\",$total)'>Remark</button><br> Attachments : $full_link </span> | ||||
| </div>";
 | ||||
|                             echo "<div class='btn btn-default break-word' style='dislay:block; word-wrap:break-word; border:1px solid #F0F0F0; border-left:1px solid #eee;'>
 | ||||
|                                       <b> $title </b>     [Marks: $Marks] <button class='btn btn-light btn-sm' onclick='mark($Submission_ID,\"$title\",$total)'>Remark</button><br> | ||||
|                                       <small>Submitted by <span class = 'text-selectable'>$submitted_by</span> on $posted</small> | ||||
|                                       <span class='badge badge-info'>Marking comments</span> $notes <br> | ||||
|                                       Attachments : $full_link | ||||
|                                   </div>";
 | ||||
|                         } | ||||
|                     } | ||||
|                     echo ""; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue