Use card class while displaying assignments in New and Marked tabs.
							parent
							
								
									6af2d77912
								
							
						
					
					
						commit
						a4a413f700
					
				
							
								
								
									
										21
									
								
								Course.php
								
								
								
								
							
							
						
						
									
										21
									
								
								Course.php
								
								
								
								
							|  | @ -171,11 +171,13 @@ if( $_SESSION['user_type'] == "Student") | |||
| 			    if($att4!=""){ | ||||
| 				$full_link= $full_link."| <a href='~\..\Lab_Report_Assignments\\$att4'>$att4</a>";     | ||||
| 			    } | ||||
| 			    echo "<div class='btn btn-default break-word' style='dislay:block; word-wrap: break-word; border-left:4px solid #e6f2ff;'>
 | ||||
|                                       <div class='alert alert-warning'>Time left: $days_remaining</div> | ||||
|   $title ($Marks Marks, $type) <br> <span style='font-size:8pt'> $ins</span> | ||||
|    <br> <span style='font-size:10pt'>Posted:$posted   Deadline:$deadline          <a href='~\..\SubmitLab.php?id=$labid&url=$url' class='btn btn-sm btn-primary' style='margin-left:50px;'>Submit</a><br> Attachments : $full_link </span> | ||||
| </div>";
 | ||||
| 			    echo "<div class='card' style='word-wrap: break-word;'><div class='card-body'>
 | ||||
|   <h5 class='card-title'>$title</h5> <h6 class='card-subtitle''>($Marks Marks, $type)</h6> <br> <p class='card-text'> $ins </p> | ||||
|   <p> <small>Attachments</small>: $full_link </p> | ||||
|   <p class='card-text'> <small> Posted: $posted     Deadline: $deadline </small> </p> | ||||
|   <div class='alert alert-warning'>Time left: $days_remaining</div> | ||||
|   <p><a href='~\..\SubmitLab.php?id=$labid&url=$url' class='btn btn-primary'>Submit</a></p> | ||||
|                                       </div></div>";
 | ||||
| 			     | ||||
| 		    }} | ||||
| 		    echo ""; | ||||
|  | @ -417,9 +419,8 @@ where Lab_Report_ID=$lab_repo_id and (lab_report_submissions.Student_id='$studen | |||
| 			} | ||||
|                          | ||||
| 			 | ||||
| 			echo "<div class='btn btn-default break-word' style='dislay:block; word-wrap: break-word; border: 1px solid #F0F0F0;border-left: 4px solid #03407B;'>
 | ||||
|   $title  <b> ($marks marks out of $Originalmarks)</b><br><small> Lecturer feedback: $notes </small>   $remarking   <br> <small>Submitted files :";
 | ||||
| 
 | ||||
| 			echo "<div class='card' style='word-wrap:break-word;'> <div class='card-body'>
 | ||||
|   <h5 class='card-title'>$title</h5>  <h5 class='card-subtitle'>($marks marks out of $Originalmarks)</h6><br> <p class='card-text'>Lecturer feedback $notes    $remarking</p> <small>Submitted files: ";
 | ||||
| 			$Sub_result = mysqli_query($con,"SELECT `Submission_ID`, `Submission_Date`, lab_report_submissions.Lab_Report_ID,
 | ||||
|   lab_report_submissions.Student_id sub_std, lab_report_submissions.Course_Group_id, `Attachment1`, | ||||
|   `Notes`, `Attachment2`, `Attachment3`, `Attachment4`, `Marks`, lab_report_submissions.Status,  | ||||
|  | @ -458,7 +459,7 @@ where Lab_Report_ID=$lab_repo_id and (lab_report_submissions.Student_id='$studen | |||
| 			} | ||||
| 			 | ||||
| 		    }} | ||||
| 		    echo "</small></div>"; | ||||
| 		    echo "</small></div></div>"; | ||||
| 		    ?>  
 | ||||
| 		     | ||||
| 		</div>       | ||||
|  | @ -550,8 +551,6 @@ where course_group_members_table.Course_Group_id=$id"); | |||
| } | ||||
| ?>
 | ||||
| 
 | ||||
| <?php include 'Footer.php';?>
 | ||||
| 
 | ||||
| </div> | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -354,7 +354,7 @@ WHERE Course_ID=$course_id"); | |||
| 		<?php  | ||||
| 		$user_name=$_SESSION['user_fullname']; | ||||
| 		 | ||||
| 		echo "<div><b>My courses</b></div>"; | ||||
| 		echo "<h1 class='display-6'>My courses</h1>"; | ||||
| 		 | ||||
| 		$result = mysqli_query($con,"SELECT `Course_ID`, `Course_Name`, `Academic_Year`, `Faculty`, " | ||||
| 					  . "`Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members`   , users_table.Full_Name  FROM `courses_table` INNER JOIN users_table ON users_table.User_ID=courses_table.Lecturer_User_ID where courses_table.Lecturer_User_ID=$user_d ORDER BY Academic_Year DESC, URL ASC"); | ||||
|  | @ -572,7 +572,7 @@ if( $_SESSION['user_type']=="Student") | |||
| 		} | ||||
| 	    } | ||||
| 	    // Otherwise, list the student's joined courses (already done), in reverse chronological order
 | ||||
| 	    echo "<h4> My courses </h4>"; | ||||
| 	    echo "<h1 class='display-6'> My courses </h1>"; | ||||
| 	    $result = mysqli_query($con,"SELECT users_table.Full_Name, course_students_table.Status, courses_table.Course_ID, `Course_Name`, `Academic_Year`, `Faculty`, `Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members` FROM `courses_table`
 | ||||
| INNER JOIN users_table | ||||
|           ON users_table.User_ID=courses_table.Lecturer_User_ID | ||||
|  |  | |||
|  | @ -71,7 +71,7 @@ if (isset($_SESSION["user_fullname"])) { | |||
| </div> | ||||
| 
 | ||||
| <div id="footer"> | ||||
|     LRR was originally developed in 2018 as a <a href="http://lanlab.org/course/2018f/se/homepage.html">software engineering course project</a> by Mohamed Nor and Elmahdi Houzi.  Please submit your suggestions or bug reports to Mr Lan. <a href="./homepage">More information ...</a> | ||||
|     LRR was originally developed in 2018 as a <a href="http://lanlab.org/course/2018f/se/homepage.html">software engineering course project</a> by Mohamed Nor and Elmahdi Houzi.  Please submit your bug reports to Mr Lan. <a href="./homepage">More information ...</a> | ||||
| </div> | ||||
| 
 | ||||
| </body> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue