-
Notifications
You must be signed in to change notification settings - Fork 55
/
index.php
82 lines (77 loc) · 2.74 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
<?php
use \Tsugi\Util\U;
use \Tsugi\Util\Net;
use \Tsugi\Core\LTIX;
use \Tsugi\UI\Output;
require "top.php";
require "nav.php";
$warn_domain = "@umich.edu";
?>
<!-- Fix for smartphone screen responsiveness -->
<style>
code {
word-break: break-word;
}
</style>
<div id="container">
<div style="margin-left: 10px; float:right">
<iframe width="400" height="225" src="https://www.youtube.com/embed/oxJQB4f2MMs?rel=0" frameborder="0" allowfullscreen></iframe>
</div>
<h1>Django for Everybody</h1>
<p>
This web site is building a set of free materials, lectures, and assignments to help students
learn the Django web development framework.
You can take this course and receive a certificate at:
<ul>
<li><a href="https://www.coursera.org/specializations/django" target="_blank">Coursera: Django for Everybody Specialization</a></li>
<li><a href="https://www.edx.org/xseries/michiganx-django-for-everybody" target="_blank">edX: Django for Everybody XSeries Program</a></li>
<!--
<li><a href="https://www.futurelearn.com/programs/django" target="_blank">FutureLearn: Django for Everybody</a></li>
-->
<li><a href="https://www.youtube.com/watch?v=o0XbHvKxw7Y" target="_blank">FreeCodeCamp: Django for Everybody</a>
<li><a href="https://online.umich.edu/series/django/" target="_blank">Free certificates for University of Michigan students and staff</a></li>
</ul>
</p>
<p>
We use the free
<a href="https://www.pythonanywhere.com" target="_blank">PythonAnywhere</a> hosting environment
to deploy and test our Django projects and applications. You can keep using this hosting environent
to develop and deploy your Django applications after you complete the course.
</p>
<?php
$month = date('n');
$email = U::get($_SESSION, 'email');
if ( ($month == 1 || $month == 9 ) && U::endsWith($email, $warn_domain) ) {
?>
<p style="border: 2px red solid; margin: 5px; padding: 5px;">
You are logged in using an <?= $warn_domain ?> email address. If you are taking
this course for credit, you need to do your assignments through the campus LMS
(i.e. Canvas) to get credit for the assignments.
</p>
<?php
}
?>
<h2>Technology</h2>
<p>
This site uses <a href="http://www.tsugi.org" target="_blank">Tsugi</a>
framework to embed a learning
management system into this site and handle the autograders.
If you are interested in collaborating
to build these kinds of sites for yourself, please see the
<a href="http://www.tsugi.org" target="_blank">tsugi.org</a> website.
<h3>Copyright</h3>
<p>
The material produced specifically for this site is by Charles Severance and others
and is Copyright Creative Commons Attribution 3.0
unless otherwise indicated.
</p>
<!--
<?php
echo("IP Address: ".Net::getIP()."\n");
echo(Output::safe_var_dump($_SESSION));
var_dump($USER);
?>
-->
</div>
<?php
require "footer.php";