Skip to content

Commit

Permalink
Improved help
Browse files Browse the repository at this point in the history
  • Loading branch information
scastillo committed Jul 31, 2012
1 parent 6aac009 commit 2e8b418
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
20 changes: 16 additions & 4 deletions public/scripts/devmed_term.coffee
Expand Up @@ -19,7 +19,7 @@ class DevmedTerm
handler: @handler,
ctrlHandler: @ctrlHandler,
crsrBlinkMode: true,
rows: 11;
rows: 16;
bgColor: 'none',
frameColor: 'none',
frameWidth: '10px',
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions public/scripts/devmed_term.js
Expand Up @@ -10,7 +10,7 @@
handler: this.handler,
ctrlHandler: this.ctrlHandler,
crsrBlinkMode: true,
rows: 11,
rows: 16,
bgColor: 'none',
frameColor: 'none',
frameWidth: '10px',
Expand All @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions public/stylesheets/style.css
Expand Up @@ -34,7 +34,7 @@ h1 {
margin-left: 125px;
}
.message {
margin-top: 100px;
margin-top: 40px;
font-family: 'Monaco';
font-size: 18px;
letter-spacing: -1px;
Expand All @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions public/stylesheets/style.less
Expand Up @@ -46,7 +46,7 @@ h1 {
}

.message{
margin-top: 100px;
margin-top: 40px;
font-family: 'Monaco';
font-size: 18px;
letter-spacing: -1px;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 2e8b418

Please sign in to comment.