get rid of focus box, make input focus any time terminal is clicked
diff --git a/planetstack/core/static/shell/opencloud_shell.css b/planetstack/core/static/shell/opencloud_shell.css
index f535cd0..97df0a2 100644
--- a/planetstack/core/static/shell/opencloud_shell.css
+++ b/planetstack/core/static/shell/opencloud_shell.css
@@ -15,8 +15,7 @@
#terminal input {
width: 875px;
margin: 1px 0 1px 10px;
- border: 1px dotted;
- border-color:#808080;
+ border: none;
display: inline;
padding: 2px;
background: black;
@@ -26,6 +25,10 @@
border-radius:0;
}
+#terminal input:focus {
+ box-shadow:none;
+}
+
#terminal p {
margin: 2px;
color: #45FF17;
diff --git a/planetstack/core/static/shell/opencloud_shell.js b/planetstack/core/static/shell/opencloud_shell.js
index d57d475..ab5a355 100644
--- a/planetstack/core/static/shell/opencloud_shell.js
+++ b/planetstack/core/static/shell/opencloud_shell.js
@@ -338,6 +338,8 @@
$("#terminal_help1").show();
$("#terminal_help2").show();
$("#terminal_wait").hide();
+
+ $("#terminal").bind('click', function() { $(".readLine.active").focus(); });
};
$(document).ready(function() {