-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
102 lines (94 loc) · 3.58 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
require_once "../config.php";
use \Tsugi\Core\LTIX;
// Retrieve the launch data if present
$LTI = LTIX::requireData();
$p = $CFG->dbprefix;
// Start of the output
$OUTPUT->header();
?>
<!-- Our main css file that overrides default Tsugi styling -->
<link rel="stylesheet" type="text/css" href="styles/main.css">
<?php
$OUTPUT->bodyStart();
include("menu.php");
$_SESSION['groups'] = 0;//Data for making groups
$_SESSION['groupType'] = 0;
echo('
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 text-left col-sm-offset-1">
<h2 class = "groupNumber">Randomly</h2>
</div>
<div class="col-sm-10 col-sm-offset-1 text-left">
<h4>This tool allows faculty to randomly pick a student, order students into a list, or create groups.</h4>
</div>
<div class="col-sm-6 col-sm-offset-3 mainCardsSizer">
<div class="row mainCardStyle">
<div class="col-sm-4 text-center">
<span class="fa fa-4x fa-user mainCardIconSpacing"></span>
</div>
<div class="col-sm-8 mainCardSubBackground">
<h3 class="mainCardTitle">
<a href="random-student.php">
Random Student
</a>
</h3>
<span>Randomly picks a student</span>
</div>
</div>
</div>
<div class="col-sm-6 col-sm-offset-3 mainCardsSizer">
<div class="row mainCardStyle">
<div class="col-sm-4 text-center">
<span class="fa fa-4x fa fa-list-ol mainCardIconSpacing"></span>
</div>
<div class="col-sm-8 mainCardSubBackground">
<h3 class="mainCardTitle">
<a href="random-order.php">
Random Order
</a>
</h3>
<span>Randomly orders students into a list</span>
</div>
</div>
</div>
<div class="col-sm-6 col-sm-offset-3 mainCardsSizer">
<div class="row mainCardStyle">
<div class="col-sm-4 text-center">
<span class="fa fa-4x fa-users mainCardIconSpacing"></span>
</div>
<div class="col-sm-8 mainCardSubBackground">
<h3 class="mainCardTitle">
<a href="random-groups.php">
Random Groups
</a>
</h3>
<span>Randomly groups students into a set number of groups or into groups of a set size</span>
</div>
</div>
</div>
<div class="col-sm-6 col-sm-offset-3 mainCardsSizer">
<div class="row mainCardStyle">
<div class="col-sm-4 text-center">
<span class="fa fa-4x fa-pencil-square-o mainCardIconSpacing"></span>
</div>
<div class="col-sm-8 mainCardSubBackground">
<h3 class="mainCardTitle">
<a href="random-custom.php">
Random Custom
</a>
</h3>
<span>Randomly chooses from a custom list</span>
</div>
</div>
</div>
</div>
</div>
');
$OUTPUT->footerStart();
?>
<!-- Our main javascript file for tool functions -->
<script src="scripts/randomly.js" type="text/javascript"></script>
<?php
$OUTPUT->footerEnd();