Changeset 17899 for misc/runpugs

Show
Ignore:
Timestamp:
09/18/07 12:13:35 (14 months ago)
Author:
azawawi
Message:

[runpugs] added safari win32 support
[runpugs] fixed typos/css/ui

Location:
misc/runpugs/htdocs
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • misc/runpugs/htdocs/runpugs.css

    r17884 r17899  
    2222FIELDSET {border: solid white 0px} 
    2323LEGEND {font-weight:normal; text-align: left; } 
    24 .copyright {font-size: 9pt} 
     24SELECT {font:13px arial,helvetica,clean,sans-serif;} 
     25.copyright {font:13px arial,helvetica,clean,sans-serif;} 
    2526.tabon { 
    2627font-weight:bold; 
     
    3031    padding-bottom: 0px; 
    3132    margin-top: 0px;  
    32  
    3333} 
    3434.taboff { 
     
    113113        height:24em; 
    114114        overflow: auto; 
    115         /*border: 1px solid white;*/ 
    116115} 
    117116pre { 
     
    148147} 
    149148.note {  
     149        font:13px arial,helvetica,clean,sans-serif; 
    150150        border-style: solid;  
    151151        border-width: 1px;  
  • misc/runpugs/htdocs/runpugs/index.html

    r17890 r17899  
    1111    <body> 
    1212        <div id="mainwindow"> 
     13            <form id="term" name="terminal" action="" method="post"> 
    1314            <h1 id="logo" style="display:none;"> 
    1415                Run Perl 6 now -- in your browser! 
    1516            </h1> 
    16             <strong>Color schema:</strong> 
    17             <select id="theme"> 
    18                 <option value="wb_theme" selected="selected">White &amp; 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 &amp; black</option> 
     20                    <option value="gb_theme">Green</option> 
     21                    <option value="ab_theme">Amber</option> 
     22                </select> 
    2323                <input name="prompt" value=" " type="hidden"/> 
    2424                <input name="sessionid" value="" type="hidden"/> 
     
    6060                    Because this is a web terminal, a number of restrictions apply.  
    6161                    Please <a href="http://feather.perl6.nl/%7Eandara/runpugs/">read the documentation</a> for more information. 
     62                    <br/><br/> 
    6263                    <div class="copyright">&copy; Copyright 2006 by Wim.Vanderbauwhede. Contact me @ gmail.com<br/> 
    63                         Enhanced web terminal by Ahmad.Zawawi. Contact me @ gmail.com 
     64                        &nbsp;&nbsp;&nbsp;&nbsp;Enhanced web terminal by Ahmad.Zawawi. Contact me @ gmail.com 
    6465                    </div> 
    6566                </div> 
  • misc/runpugs/htdocs/runpugs/runpugs.js

    r17890 r17899  
    9595    //start loading pugs session after page has loaded... 
    9696    $("#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" ' + 
    9898        'style="visibility:hidden" width="700px" height="1px" ' + 
    9999        'onLoad="getreply()"></iframe>'); 
     
    220220 
    221221    var keyCode = event.keyCode; 
    222     if($.browser.msie || $.browser.opera) { 
     222    if($.browser.msie || $.browser.opera || $.browser.safari) { 
    223223        var key = String.fromCharCode(keyCode); 
    224224        if(key >= ' ') { 
    225             if(($.browser.opera && (keyCode < 35 || keyCode > 40)) || $.browser.msie) { 
     225            if(($.browser.opera && (keyCode < 35 || keyCode > 40)) || $.browser.msie || $.browser.safari) { 
    226226                //insert key at curpos 
    227227                cmd = insert(cmd,key,curpos); 
     
    271271    cmd = ""; 
    272272    curpos=0; 
    273     //moveCursor(); 
    274273    showCmd(); 
    275274}