forked from diogo55/OnlinePythonTutor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatrix.html
133 lines (93 loc) · 4.57 KB
/
matrix.html
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
Online Python Tutor
https://github.com/pgbovine/OnlinePythonTutor/
Copyright (C) Philip J. Guo ([email protected])
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
<head>
<title>Coding The Matrix - Python Lab</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
<!-- requirements for pytutor.js -->
<script type="text/javascript" src="js/d3.v2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="js/jquery.ba-bbq.min.js"></script> <!-- for handling back button and URL hashes -->
<script type="text/javascript" src="js/jquery.ba-dotimeout.min.js"></script> <!-- for event debouncing -->
<script type="text/javascript" src="js/jquery.jsPlumb-1.3.10-all-min.js "></script> <!-- for rendering SVG connectors
DO NOT UPGRADE ABOVE 1.3.10 OR ELSE BREAKAGE WILL OCCUR -->
<script type="text/javascript" src="js/diff_match_patch.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.11.4/jquery-ui.min.js"></script> <!-- for sliders and other UI elements -->
<link type="text/css" href="js/jquery-ui-1.11.4/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="js/pytutor.js"></script>
<link rel="stylesheet" href="css/pytutor.css"/>
<link rel="stylesheet" href="css/matrixtutor.css"/> <!-- include AFTER pytutor.css -->
<!-- requirements for opt-frontend.js -->
<!-- Ace online code editor -->
<script type="text/javascript" src="js/ace/src-min-noconflict/ace.js" charset="utf-8"></script>
<script type="text/javascript" src="js/opt-frontend-common.js"></script>
<script type="text/javascript" src="js/matrixtutor.js"></script>
<link rel="stylesheet" href="css/opt-frontend.css"/>
</head>
<body>
<div id="pyInputPane">
<h1 class="problemDescClass" style="margin-bottom: 25px; font-size: 16pt;"></h1>
Write your solution code here (will be submitted for grading):
<br/>
<div id="codeInputPane"></div> <!-- populate with a CodeMirror instance -->
<br/><br/>
Write your test code here (will <b>not</b> be submitted for grading):
<div id="testInputPane"></div> <!-- populate with a CodeMirror instance -->
<p>
<button id="executeBtn" class="bigBtn" type="button">Run and Visualize Code</button>
</p>
</div>
<div id="pyOutputPane">
</div>
<div id="gradingPane">
<h1 class="problemDescClass" style="margin-bottom: 15px; font-size: 14pt;"></h1>
<p>
<button id="submitGradeBtn" class="bigBtn" type="button">Submit for Grading</button>
</p>
<p>
Grader output:<br/>
<textarea style="font-size: 12pt" id="gradeStdout" cols="60" rows="6" wrap="off" readonly></textarea>
</p>
<!--
<p>
Grader errors:<br/>
<textarea id="gradeStderr" cols="80" rows="4" wrap="off" readonly></textarea>
</p>
-->
</div>
<div id="footer">
This version of <a href="http://pythontutor.com/">Online Python Tutor</a> supports
<a href="http://www.python.org/doc/3.3.0/">Python 3.3</a> with limited module
imports and no file I/O.</p>
<p>Have a question? Maybe the <a
href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/user-FAQ.md">FAQ</a>
or other <a
href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/docs/">documentation</a>
can help. Or check out its code at <a
href="https://github.com/pgbovine/OnlinePythonTutor/">GitHub</a>.</p>
<p style="margin-top: 8px;">
Copyright © <a href="http://www.pgbovine.net/">Philip Guo</a>. All rights reserved.
</p>
</div>
</body>
</html>