Initial.
authorEugen Sawin <sawine@me73.com>
Wed, 17 Aug 2011 01:19:20 +0200
changeset 0db2e8b9145a6
child 1 cd4dfa7418ef
Initial.
client/#machine.html#
client/client.css
client/machine.html
client/scripts/client.js
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/client/#machine.html#	Wed Aug 17 01:19:20 2011 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>Machine</title>
     1.8 +    <script src="scripts/client.js" type="text/javascript"></script>
     1.9 +    <link rel="stylesheet" type="text/css" href="client.css" />
    1.10 +  </head>
    1.11 +<body>
    1.12 +  <view-area>
    1.13 +    
    1.14 +  </view-area>
    1.15 +  <command-area>
    1.16 +    <form name="com-form" onsubmit="return command()">
    1.17 +    <input type="submit" value="submit" style="visibility: hidden;">
    1.18 +    <input type="text" name="com" id="com" />     
    1.19 +  </form>
    1.20 +  </command-area>
    1.21 +</body>
    1.22 +</html>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/client/client.css	Wed Aug 17 01:19:20 2011 +0200
     2.3 @@ -0,0 +1,26 @@
     2.4 +body
     2.5 +{
     2.6 +    background-color: black;
     2.7 +    color: white;
     2.8 +    font-family: monospace;
     2.9 +    border-style: none;    
    2.10 +    margin: 0px;
    2.11 +}
    2.12 +
    2.13 +view-area
    2.14 +{
    2.15 +    width: 100%;
    2.16 +    background-color: gray;  
    2.17 +}
    2.18 +
    2.19 +command-area input
    2.20 +{
    2.21 +    position: fixed;
    2.22 +    width: 100%; 
    2.23 +    border-style: none;
    2.24 +    background-color: blue;
    2.25 +    color: white;
    2.26 +    font-family: monospace;    
    2.27 +    bottom: 0px;
    2.28 +    outline: none;
    2.29 +}
    2.30 \ No newline at end of file
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/client/machine.html	Wed Aug 17 01:19:20 2011 +0200
     3.3 @@ -0,0 +1,19 @@
     3.4 +<!DOCTYPE html>
     3.5 +<html>
     3.6 +  <head>
     3.7 +    <title>Machine</title>
     3.8 +    <script src="scripts/client.js" type="text/javascript"></script>
     3.9 +    <link rel="stylesheet" type="text/css" href="client.css" />
    3.10 +  </head>
    3.11 +<body>
    3.12 +  <view-area>
    3.13 +    View
    3.14 +  </view-area>
    3.15 +  <command-area>
    3.16 +    <form name="com-form" onsubmit="return command()">
    3.17 +    <input type="submit" value="submit" style="visibility: hidden;">
    3.18 +    <input type="text" name="com" id="com" />     
    3.19 +  </form>
    3.20 +  </command-area>
    3.21 +</body>
    3.22 +</html>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/client/scripts/client.js	Wed Aug 17 01:19:20 2011 +0200
     4.3 @@ -0,0 +1,6 @@
     4.4 +function command()
     4.5 +{
     4.6 +    var com = document.getElementById("com").value;
     4.7 +    var view = document.getElementById("view-area");
     4.8 +    view.value = "hi";
     4.9 +}
    4.10 \ No newline at end of file