From 2e8b418c0f396bcbefef818f0f9f6e717026243f Mon Sep 17 00:00:00 2001 From: scastillo Date: Tue, 31 Jul 2012 17:40:19 -0500 Subject: [PATCH] Improved help --- public/scripts/devmed_term.coffee | 20 ++++++++++++++++---- public/scripts/devmed_term.js | 4 ++-- public/stylesheets/style.css | 6 +++--- public/stylesheets/style.less | 6 +++--- 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/public/scripts/devmed_term.coffee b/public/scripts/devmed_term.coffee index c8f1187..4de706b 100644 --- a/public/scripts/devmed_term.coffee +++ b/public/scripts/devmed_term.coffee @@ -19,7 +19,7 @@ class DevmedTerm handler: @handler, ctrlHandler: @ctrlHandler, crsrBlinkMode: true, - rows: 11; + rows: 16; bgColor: 'none', frameColor: 'none', frameWidth: '10px', @@ -45,9 +45,21 @@ class DevmedTerm @prompt() handler: -> - help = "Empty command set. -We will be adding user registration, login and talk creation here latter. -Keep watching" + help = """Empty command set. + +Comming soon: + * useradd + * login + * talk + * change dir (cd) -> web site navigation + * mkdir and touch -> content creation (like next event talk proposal) + * ls -> list talks and developers + +And you can extend the commands forking the github repo :) +https://github.com/coffeegrid/devmed + +Keep watching ;) +""" @newLine() line = @lineBuffer diff --git a/public/scripts/devmed_term.js b/public/scripts/devmed_term.js index 06a04f8..c7dfa33 100644 --- a/public/scripts/devmed_term.js +++ b/public/scripts/devmed_term.js @@ -10,7 +10,7 @@ handler: this.handler, ctrlHandler: this.ctrlHandler, crsrBlinkMode: true, - rows: 11, + rows: 16, bgColor: 'none', frameColor: 'none', frameWidth: '10px', @@ -29,7 +29,7 @@ DevmedTerm.prototype.handler = function() { var help, line; - help = "Empty command set.We will be adding user registration, login and talk creation here latter.Keep watching"; + help = "Empty command set.\n\nComming soon:\n * useradd\n * login\n * talk\n * change dir (cd) -> web site navigation\n * mkdir and touch -> content creation (like next event talk proposal)\n * ls -> list talks and developers\n\nAnd you can extend the commands forking the github repo :)\nhttps://github.com/coffeegrid/devmed\n\nKeep watching ;)"; this.newLine(); line = this.lineBuffer; switch (line) { diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 3abdf5e..0a0a501 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -34,7 +34,7 @@ h1 { margin-left: 125px; } .message { - margin-top: 100px; + margin-top: 40px; font-family: 'Monaco'; font-size: 18px; letter-spacing: -1px; @@ -59,8 +59,8 @@ table { } #termDiv { background: rgba(0, 0, 0, 0.3); - height: 250px; - margin-top: 50px; + height: 350px; + margin-top: 20px; } #termDiv table:first { margin: auto; diff --git a/public/stylesheets/style.less b/public/stylesheets/style.less index e6ec974..d0280ed 100644 --- a/public/stylesheets/style.less +++ b/public/stylesheets/style.less @@ -46,7 +46,7 @@ h1 { } .message{ - margin-top: 100px; + margin-top: 40px; font-family: 'Monaco'; font-size: 18px; letter-spacing: -1px; @@ -74,8 +74,8 @@ table {margin: auto;} #termDiv { background: rgba(0, 0, 0, 0.3); - height: 250px; - margin-top: 50px; + height: 350px; + margin-top: 20px; table:first{ margin: auto; }