crazedsanity / cs-battletrack

PHP-Based web application for tracking data in traditional paper-and-pencil role playing games.
http://www.crazedsanity.com/projects/cs-battletrack
Other
1 stars 1 forks source link

Change Inputs to Text #13

Closed crazedsanity closed 10 years ago

crazedsanity commented 11 years ago

The input tags can be switched to divs or spans instead.

crazedsanity commented 11 years ago

Changing inputs to text means it's much easier to do colorization of alternating rows, which would it easier to see what fields belong to a particular weapon/armor/skill; a piece of gear might have an extra long explanation, which would be more readily visible instead of being obscured by an arbitrarily-sized input field; same with feats/special abilities. The system could automatically link items, weapons, etc to informational pages (e.g. "Two-Weapon Fighting" could link to the feat description on d20srd.org).

This would also fix problems with browser caching. Browsers really like to cache values on forms, and with a standard character sheet having 400+ inputs, it's pretty easy to have stale information. And there's only so much I can do to keep it from happening.

crazedsanity commented 10 years ago

It may not be necessary to convert all inputs into text, but it would definitely be nice when it comes to coloring alternating rows. Just a thought.

crazedsanity commented 10 years ago

Still need to implement this for armor. There is currently no way to modify the attribute associated with a skill after implementing this.

crazedsanity commented 10 years ago

implemented in 0.7.9 (or before).