Changeset 17899 for misc/runpugs
- Timestamp:
- 09/18/07 12:13:35 (14 months ago)
- Location:
- misc/runpugs/htdocs
- Files:
-
- 3 modified
-
runpugs.css (modified) (4 diffs)
-
runpugs/index.html (modified) (2 diffs)
-
runpugs/runpugs.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
misc/runpugs/htdocs/runpugs.css
r17884 r17899 22 22 FIELDSET {border: solid white 0px} 23 23 LEGEND {font-weight:normal; text-align: left; } 24 .copyright {font-size: 9pt} 24 SELECT {font:13px arial,helvetica,clean,sans-serif;} 25 .copyright {font:13px arial,helvetica,clean,sans-serif;} 25 26 .tabon { 26 27 font-weight:bold; … … 30 31 padding-bottom: 0px; 31 32 margin-top: 0px; 32 33 33 } 34 34 .taboff { … … 113 113 height:24em; 114 114 overflow: auto; 115 /*border: 1px solid white;*/116 115 } 117 116 pre { … … 148 147 } 149 148 .note { 149 font:13px arial,helvetica,clean,sans-serif; 150 150 border-style: solid; 151 151 border-width: 1px; -
misc/runpugs/htdocs/runpugs/index.html
r17890 r17899 11 11 <body> 12 12 <div id="mainwindow"> 13 <form id="term" name="terminal" action="" method="post"> 13 14 <h1 id="logo" style="display:none;"> 14 15 Run Perl 6 now -- in your browser! 15 16 </h1> 16 <strong>Color schema:</strong> 17 <select id="theme"> 18 <option value="wb_theme" selected="selected">White & black</option> 19 <option value="gb_theme">Green</option> 20 <option value="ab_theme">Amber</option> 21 </select> 22 <form id="term" name="terminal" action="" method="post"> 17 <strong>Color schema:</strong> 18 <select id="theme"> 19 <option value="wb_theme" selected="selected">White & black</option> 20 <option value="gb_theme">Green</option> 21 <option value="ab_theme">Amber</option> 22 </select> 23 23 <input name="prompt" value=" " type="hidden"/> 24 24 <input name="sessionid" value="" type="hidden"/> … … 60 60 Because this is a web terminal, a number of restrictions apply. 61 61 Please <a href="http://feather.perl6.nl/%7Eandara/runpugs/">read the documentation</a> for more information. 62 <br/><br/> 62 63 <div class="copyright">© Copyright 2006 by Wim.Vanderbauwhede. Contact me @ gmail.com<br/> 63 Enhanced web terminal by Ahmad.Zawawi. Contact me @ gmail.com64 Enhanced web terminal by Ahmad.Zawawi. Contact me @ gmail.com 64 65 </div> 65 66 </div> -
misc/runpugs/htdocs/runpugs/runpugs.js
r17890 r17899 95 95 //start loading pugs session after page has loaded... 96 96 $("#hidden_iframe").append( 97 ' im there!<iframe src="/perl/runpugs.pl" id="scratch" name="scratch" ' +97 '<iframe src="/perl/runpugs.pl" id="scratch" name="scratch" ' + 98 98 'style="visibility:hidden" width="700px" height="1px" ' + 99 99 'onLoad="getreply()"></iframe>'); … … 220 220 221 221 var keyCode = event.keyCode; 222 if($.browser.msie || $.browser.opera ) {222 if($.browser.msie || $.browser.opera || $.browser.safari) { 223 223 var key = String.fromCharCode(keyCode); 224 224 if(key >= ' ') { 225 if(($.browser.opera && (keyCode < 35 || keyCode > 40)) || $.browser.msie ) {225 if(($.browser.opera && (keyCode < 35 || keyCode > 40)) || $.browser.msie || $.browser.safari) { 226 226 //insert key at curpos 227 227 cmd = insert(cmd,key,curpos); … … 271 271 cmd = ""; 272 272 curpos=0; 273 //moveCursor();274 273 showCmd(); 275 274 }
