Some webclient suggestions and practice committing to evennia.

text2html.py and webclient.css
* Remove inline formatting and place in CSS file. This frees up
  the client to change the basic color scheme without modifying
  the server file.
* Added a target="_blank" to links that are created to force a
  new tab (or window) to be opened in lieu of leaving the web
  client when a link is clicked.

webclient.html
* Added a void action to the form, just in case.

evennia_webclient.js
* Added code to move the caret to the end of the input box when
  the history is changed (up or down arrow listeners).
This commit is contained in:
Jeremy Osborne 2012-02-20 20:34:28 -08:00
parent 6d73b05d91
commit e164b63d2b
4 changed files with 75 additions and 18 deletions

View file

@ -39,6 +39,23 @@ a:hover, a:active { color: #ccc }
/* Error messages (red) */
.err { color: #f00 }
/* Style specific classes corresponding to formatted, narative text. */
.white { color: white; }
.cyan { color: #00FFFF; }
.blue { color: blue; }
.red { color: red; }
.magenta { color: #FF00FF; }
.lime { color: lime; }
.yellow { color: yellow; }
.gray { color: gray; }
.teal { color: teal; }
.navy { color: navy; }
.maroon { color: maroon; }
.purple { color: purple; }
.green { color: green; }
.olive { color: olive; }
.underline { text-decoration: underline; }
/* Container surrounding entire chat */
#wrapper {
position: relative;