Skip to content

Commit c7c1068

Browse files
committed
updated "Generate URL" to "Generate permanent link"
1 parent 859b2ef commit c7c1068

4 files changed

Lines changed: 24 additions & 38 deletions

File tree

‎v3/composingprograms.html‎

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,14 @@
154154
<div id="footer">
155155

156156
<p>
157-
<button id="genUrlBtn" class="smallBtn" type="button">Generate URL</button> <input type="text" id="urlOutput" size="70"/>
157+
<button id="genUrlBtn" class="smallBtn" type="button">Generate permanent link</button> <input type="text" id="urlOutput" size="70"/>
158158
</p>
159159

160-
<p>To share this visualization, click the 'Generate URL' button above
161-
and share that URL. To report a bug, paste the URL along with a brief
162-
error description in an email addressed to philip@pgbovine.net</p>
160+
<p>Click the button above to create a permanent link to your
161+
visualization. To report a bug, paste the link along with a brief error
162+
description in an email addressed to philip@pgbovine.net</p>
163163

164+
<p>
164165
This version of <a href="http://pythontutor.com/">Online Python Tutor</a> supports
165166
<a href="http://www.python.org/doc/3.3.0/">Python 3.3</a> with limited module
166167
imports and no file I/O.
@@ -186,15 +187,6 @@
186187
can help. Or check out its code at <a
187188
href="https://github.com/pgbovine/OnlinePythonTutor/">GitHub</a>.</p>
188189

189-
<!--
190-
<p>Join the <a
191-
href="https://groups.google.com/forum/#!forum/pythontutor-users">pythontutor-users</a>
192-
mailing list to participate in user discussions and <a
193-
href="https://groups.google.com/forum/#!forum/pythontutor-announce">pythontutor-announce</a>
194-
to receive occasional announcements.
195-
(Your name and email address will be kept private; only the list owner can see them.)</p>
196-
-->
197-
198190
<p>By using Online Python Tutor, your visualized code, options, and IP
199191
address are logged on our server and may be analyzed for research
200192
purposes. Nearly all Web services collect this basic information from
@@ -219,4 +211,3 @@
219211

220212
</body>
221213
</html>
222-

‎v3/csc108h.html‎

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
<tr>
7777
<td valign="top">
7878

79+
<div style="font-size: 8pt; margin-left: 2px; margin-bottom: 2px;">
80+
<a href="https://www.youtube.com/watch?v=Z2TIjNArOK4" target="_blank">What are shared sessions?</a>
81+
</div>
82+
7983
<div>
8084
<button id="sharedSessionBtn" type="button" class="togetherjsBtn">
8185
Start a shared session
@@ -121,13 +125,14 @@
121125
<div id="footer">
122126

123127
<p>
124-
<button id="genUrlBtn" class="smallBtn" type="button">Generate URL</button> <input type="text" id="urlOutput" size="70"/>
128+
<button id="genUrlBtn" class="smallBtn" type="button">Generate permanent link</button> <input type="text" id="urlOutput" size="70"/>
125129
</p>
126130

127-
<p>To share this visualization, click the 'Generate URL' button above
128-
and share that URL. To report a bug, paste the URL along with a brief
129-
error description in an email addressed to philip@pgbovine.net</p>
131+
<p>Click the button above to create a permanent link to your
132+
visualization. To report a bug, paste the link along with a brief error
133+
description in an email addressed to philip@pgbovine.net</p>
130134

135+
<p>
131136
This version of <a href="http://pythontutor.com/">Online Python Tutor</a> supports
132137
<a href="http://www.python.org/doc/3.3.0/">Python 3.3</a> with limited module
133138
imports and no file I/O.
@@ -153,15 +158,6 @@
153158
can help. Or check out its code at <a
154159
href="https://github.com/pgbovine/OnlinePythonTutor/">GitHub</a>.</p>
155160

156-
<!--
157-
<p>Join the <a
158-
href="https://groups.google.com/forum/#!forum/pythontutor-users">pythontutor-users</a>
159-
mailing list to participate in user discussions and <a
160-
href="https://groups.google.com/forum/#!forum/pythontutor-announce">pythontutor-announce</a>
161-
to receive occasional announcements.
162-
(Your name and email address will be kept private; only the list owner can see them.)</p>
163-
-->
164-
165161
<p>By using Online Python Tutor, your visualized code, options, and IP
166162
address are logged on our server and may be analyzed for research
167163
purposes. Nearly all Web services collect this basic information from
@@ -176,4 +172,3 @@
176172

177173
</body>
178174
</html>
179-

‎v3/index.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ <h1><span id="learnHeading">LEARN</span> <span class="smallH1">programming by vi
152152

153153
<h1><span id="embedHeading">SHARE</span> <span class="smallH1">live visualization sessions</span></h1>
154154

155-
<p>Click on the "Start a shared session" button to allow an instructor or friend
155+
<p>Click on the &ldquo;Start a shared session&rdquo; button to allow an instructor or friend
156156
to join your live visualization session. You can chat about your code and navigate
157157
the visualization together to get real-time tutoring. Watch this one-minute
158158
<a href="http://youtu.be/Z2TIjNArOK4">video demo</a>:
@@ -161,10 +161,10 @@ <h1><span id="embedHeading">SHARE</span> <span class="smallH1">live visualizatio
161161
<iframe width="480" height="360" src="http://www.youtube.com/embed/Z2TIjNArOK4" frameborder="0" allowfullscreen></iframe>
162162

163163
<p>In addition, you can click the &ldquo;Generate
164-
URL&rdquo; button (at the bottom of <a href="visualize.html">this
165-
page</a>) and paste that URL link in an email, social networking
164+
permanent link&rdquo; button (at the bottom of <a href="visualize.html">this
165+
page</a>) and paste that link in an email, social networking
166166
post, or forum question. When recipients click on that link, they will
167-
see the visualization you've created.</p>
167+
see the exact visualization you've created.</p>
168168

169169
<p>For example, clicking <a
170170
href="visualize.html#code=%23+find+primes+using+a+for-else+construct%0Afor+n+in+range(2,+10)%3A%0A++++x_range+%3D+range(2,+n)%0A++++for+x+in+x_range%3A%0A++++++++if+n+%25+x+%3D%3D+0%3A%0A++++++++++++break%0A++++else%3A%0A++++++++%23+loop+fell+through+without+finding+a+factor%0A++++++++print(n)&mode=display&cumulative=false&py=2&curInstr=43">this

‎v3/visualize.html‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<td valign="top">
9999

100100
<div style="font-size: 8pt; margin-left: 2px; margin-bottom: 2px;">
101-
<a href="https://www.youtube.com/watch?v=Z2TIjNArOK4">What are shared sessions?</a>
101+
<a href="https://www.youtube.com/watch?v=Z2TIjNArOK4" target="_blank">What are shared sessions?</a>
102102
</div>
103103

104104
<div>
@@ -319,12 +319,12 @@
319319
<div id="footer">
320320

321321
<p>
322-
<button id="genUrlBtn" class="smallBtn" type="button">Generate URL</button> <input type="text" id="urlOutput" size="70"/>
322+
<button id="genUrlBtn" class="smallBtn" type="button">Generate permanent link</button> <input type="text" id="urlOutput" size="70"/>
323323
</p>
324324

325-
<p>To share this visualization, click the 'Generate URL' button above
326-
and share that URL. To report a bug, paste the URL along with a brief
327-
error description in an email addressed to philip@pgbovine.net</p>
325+
<p>Click the button above to create a permanent link to your
326+
visualization. To report a bug, paste the link along with a brief error
327+
description in an email addressed to philip@pgbovine.net</p>
328328

329329
<div id="embedLinkDiv">
330330
<p>
@@ -336,6 +336,7 @@
336336
webpage. Adjust the height and width parameters as needed.</p>
337337
</div>
338338

339+
<p>
339340
<a href="http://pythontutor.com/">Online Python Tutor</a> supports <a
340341
href="http://www.python.org/doc/2.7/">Python 2.7</a> and <a
341342
href="http://www.python.org/doc/3.3.0/">Python 3.3</a> with limited module
@@ -385,4 +386,3 @@
385386

386387
</body>
387388
</html>
388-

0 commit comments

Comments
 (0)