File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ function updateAppDisplay(newAppMode) {
384384function executeCodeFromScratch ( ) {
385385 // don't execute empty string:
386386 if ( $ . trim ( pyInputCodeMirror . getValue ( ) ) == '' ) {
387- setFronendError ( [ "Type in some code to visualize." ] ) ;
387+ setFronendError ( [ "Type in some Python code to visualize." ] ) ;
388388 return ;
389389 }
390390
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ function initTogetherJS() {
286286 $ ( "#codeInputWarnings" ) . html ( '<span style="color: #e93f34; font-weight: bold">\
287287 Hold on, someone else is typing ...</span>' ) ;
288288 codeMirrorWarningTimeoutId = setTimeout ( function ( ) {
289- $ ( "#codeInputWarnings" ) . html ( 'Write your Python code here:' ) ;
289+ $ ( "#codeInputWarnings" ) . html ( 'Write Python code here:' ) ;
290290 } , 1000 ) ;
291291 } ) ;
292292
@@ -636,7 +636,7 @@ $(document).ready(function() {
636636 return false ;
637637 } ) ;
638638
639- $ ( "#aliasExampleLink" ) . click ( function ( ) {
639+ $ ( "#aliasExampleLink,#firstExampleDupLink " ) . click ( function ( ) {
640640 $ . get ( "example-code/aliasing.txt" , setCodeMirrorVal ) ;
641641 return false ;
642642 } ) ;
Original file line number Diff line number Diff line change 118118</ div >
119119
120120</ td >
121- < td valign ="top " style ="padding-left: 25px ; ">
121+ < td valign ="top " style ="padding-left: 20px ; ">
122122
123123< div style ="display: none; " id ="togetherjsStatus "> </ div >
124124
142142 </ div >
143143 < div style ="font-size: 10pt; margin-bottom: 5pt; padding: 1pt; ">
144144 I just learned that
145- < input style ="font-size: 10pt; padding: 1pt; " type ="text " id ="iJustLearnedInput " size ="70 " maxlength =300/ >
145+ < input style ="font-size: 10pt; padding: 1pt; " type ="text " id ="iJustLearnedInput " size ="60 " maxlength =300/ >
146146
147147 < button id ="iJustLearnedSubmission " type ="button " style ="font-size: 10pt; "> Submit</ button >
148148
160160
161161< div id ="pyInputPane ">
162162
163- < div id ="codeInputWarnings "> Write your Python code here:</ div >
163+ < div id ="codeInputWarnings "> Write Python code here or < a href =" # " id =" firstExampleDupLink " > load an example </ a > :</ div >
164164< div id ="codeInputPane "> </ div > <!-- populate with a CodeMirror instance -->
165165< div id ="frontendErrorOutput "> </ div >
166166< div id ="surveyPane "> </ div >
201201</ p >
202202
203203
204- < p style ="margin-top: 25px; " > Here are some example Python code snippets to visualize: </ p >
204+ < p style ="margin-top: 25px; font-weight: bold; " > Examples to visualize</ p >
205205
206206< p style ="margin-top: 10px; "> Basic:
207207
You can’t perform that action at this time.
0 commit comments