Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
justafolk committed Oct 5, 2022
2 parents 3861947 + ff725eb commit 7da8c6f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions roles/admin/past_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ function ordinal($a) {
<th scope="col">Date</th>
<th scope="col">Status</th>
<th scope="col">View</th>
<th scope="col">Reschedule</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -171,6 +172,7 @@ function ordinal($a) {
<td>$date</td>
<td>$status</td>
<td><a href='report.php?id=$fid' class='btn btn-primary'>View</a></td>
<td><a href='reschedule.php?id=$fid' class='btn btn-primary'>Edit</a></td>
</tr>";
$i++;
}
Expand Down
17 changes: 9 additions & 8 deletions roles/faculty/create_group.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,14 @@
</div>
<div class=col-md-4>
<label for="name">Additional Roll numbers (Units)</label>
<input type="text" value="<?php echo $_POST["addrollunit"] ?>" class="form-control" id="name" name="addrollunit" placeholder="split with ','">
<input type="text" value="<?php echo $_POST["addrollunit"] ?>" class="form-control" id="name" name="addrollunit" placeholder="split with ';'">
</div>
</div>

<br />
<br />

<center><button type="submit" class="btn btn-primary" name="checkroll">Summarise range</submit>
<center> <button type="submit" class="btn btn-primary" name="checkroll">Summarise range</submit>
</center>
</div>

Expand All @@ -251,19 +251,20 @@

if (isset($_POST['checkroll']) or isset($_POST['finalroll'])) {
?>
<span style="color:red;">*</span> Click to add / remove students from group.


<br>
<span class="badge bg-success">Add
<span class="badge bg-success">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>

Add to group
<b>Green checkbox indicates student is in the course group.</b>
<br>

<span class="badge bg-danger">Remove
<span class="badge bg-danger">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>
Remove from group
<b>Red checkbox indicates student is not in the course group.</b>
<br>
<br>
<span style="color:red;">*</span> <b> Click on the roll number to add/remove student from group.</b>
<br>

<?php
Expand Down

0 comments on commit 7da8c6f

Please sign in to comment.