diff --git a/eg/tryhy/app.yaml b/eg/tryhy/app.yaml index ce371bf..be5867b 100644 --- a/eg/tryhy/app.yaml +++ b/eg/tryhy/app.yaml @@ -20,5 +20,8 @@ handlers: - url: /css static_dir: css +- url: /img + static_dir: img + - url: .* script: main.__hymain__.app diff --git a/eg/tryhy/css/style.css b/eg/tryhy/css/style.css index fbdc4ff..37c940f 100644 --- a/eg/tryhy/css/style.css +++ b/eg/tryhy/css/style.css @@ -8,7 +8,7 @@ div.console div.jquery-console-prompt-box div.console div.jquery-console-focus span.jquery-console-cursor { background:#fefefe; color:#333; font-weight:bold } div.console div.jquery-console-message-error -{ color:#ef0505; font-family:sans-serif; font-weight:bold; +{ color:#ff6969; font-family:monospace; padding:0.1em; } div.console div.jquery-console-message-value { color:#1ad027; font-family:monospace; @@ -17,22 +17,24 @@ div.console div.jquery-console-message-type { color:#52666f; font-family:monospace; padding:0.1em; } div.console div.jquery-console-welcome -{ color:#52666f; font-family:monospace; +{ color:#929292; font-family:monospace; padding:0.1em; } div.console span.jquery-console-prompt-label { font-weight:bold } -span.jquery-console-cursor.running { - -webkit-animation-duration: 0.1s; - -webkit-animation-name: blink; - -webkit-animation-iteration-count: infinite; - -webkit-animation-direction: alternate; +body { + background-image: url(/img/symbolics.jpg); + background-repeat: no-repeat; } -@-webkit-keyframes blink { - from { - opacity: 1.0 - } - to { - opacity: 0.5 - } -} \ No newline at end of file +#hy-console { + margin-top: 177px; + margin-left: 230px; + -webkit-transform: skew(4deg) rotate(4deg); +} + +div#hy-console.console div.jquery-console-inner { + width: 314px; + height: 251px; + overflow: hidden; + background: none; +} diff --git a/eg/tryhy/img/symbolics.jpg b/eg/tryhy/img/symbolics.jpg new file mode 100644 index 0000000..111c3a9 Binary files /dev/null and b/eg/tryhy/img/symbolics.jpg differ diff --git a/eg/tryhy/js/repl.js b/eg/tryhy/js/repl.js index 59899e0..ddcbda1 100644 --- a/eg/tryhy/js/repl.js +++ b/eg/tryhy/js/repl.js @@ -7,7 +7,6 @@ $(document).ready(function(){ else return true; }, commandHandle:function(line, report){ - $('.jquery-console-cursor').addClass('running'); $.ajax({ type: 'POST', url: '/eval', @@ -15,7 +14,6 @@ $(document).ready(function(){ contentType: 'application/json', dataType: 'json', success: function(data) { - $('.jquery-console-cursor').removeClass('running'); report([{msg : data.stdout, className:'jquery-console-message-value'}, {msg : data.stderr, className:'jquery-console-message-error'}]); } diff --git a/eg/tryhy/templates/index.html b/eg/tryhy/templates/index.html index a88c261..2b773a0 100644 --- a/eg/tryhy/templates/index.html +++ b/eg/tryhy/templates/index.html @@ -11,7 +11,9 @@ var server_software = '{{server_software}}'; - + + +