Commit graph

5 commits

Author SHA1 Message Date
Jeremy Osborne
e164b63d2b 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).
2012-02-20 20:34:28 -08:00
Griatch
13b3d61b42 Removed word-break:break-all; from webclient css as per issue 210. Interestingly enough, this only showed an effect in Chrome on my machine; in Firefox, the lines were cropped per word also with this setting. 2012-02-20 22:05:05 +01:00
Griatch
ecbd36c5a8 Fixes webclient spacing issues in lists. Patches created by user "61924.00". Still issues with some line breaks, as per issue 121. 2011-02-06 17:06:29 +00:00
Griatch
7e898842b9 Fixed a string error in the webclient that could appear on some server setups. Added URL parsing to the webclient. 2010-12-07 21:46:26 +00:00
Griatch
251f94aa7a Evennia now runs on its own Twisted webserver (no need for testserver or Apache if you don't want to). Evennia now also has an ajax long-polling web client running from Twisted. The web client requires no extra dependencies beyond jQuery which is included. The src/server structure has been r
cleaned up and rewritten to make it easier to add new protocols in the future - all new protocols need to inherit from server.session.Session, whi
ch implements a set of hooks that Evennia uses to communicate. The current web client protocol is functional but does not implement any of rcaskey
's suggestions as of yet - it uses a separate data object passed through msg() to communicate between the server and the various protocols. Also the client itself could probably need cleanup and 'prettification'. The fact that the system runs a hybrid of Django and Twisted, getting the best of both worlds should allow for many possibilities in the future. /Griatch
2010-12-07 02:34:59 +00:00