smrealms/smr — pull request #59 by wcyrek (2014-03-22 14:08:12+00:00)
Title: Color-blind support patch, with other junk too...

Updated Notes:
New Friend vs Foe System:
*Add option to change Ally, Neutral, Enemy colors to player preferences [b](DONE)[/b]
+Update of player color preferences to DB [b](DONE)[/b]
+Update of player color preferences to CSS [b](DONE)[/b]
+Add option to restore default colors in preferences [b](DONE)[/b]
*Move most of the coloring related to these from templates to CSS (template will specify the class but css will assign color) [b](DONE)[/b]
*Change enemy examine button color to CSS [b](DONE)[/b]
+ Examine button converted to more of a straight link (The text color changes) [b](DONE)[/b]
*Add new force/trader icon [b](DONE)[/b]
*Change force/trader icon shading to CSS [b](DONE)[/b]
*Change Online/offline indicator to CSS (Tied to enemy/friendly colors in preferences) [b](DONE)[/b]
*Add CSS class to each sector based on galaxy name (Will allow for assigning different sector background colors for each galaxy) [b](DONE)[/b]
*Add CSS class to the map background based on galaxy name [b](DONE)[/b]
*Add CSS class to walls based on galaxy name [b](DONE)[/b]
*Add CSS class to sector number text based on galaxy name [b](DONE)[/b]
+Add matching pairs of warp icons [b](REMOVED)[/b]
*Added 7 new alignment classes to CSS (holy, good, slightgood, even, slightbad, bad, evil) These classes are assigned to player span names based on alignment instead of old scheme [b](DONE)[/b]
+Currently coded values are: [b](DONE)[/b]
- [color=cornflowerblue]holy[/color] >= 200
- 200 > [color=cyan]good[/color] >=150
- 150 > [color=darkcyan]slightgood[/color] >=50
- 50 > [color=yellow]even[/color] >= -50
- -50 > [color=darkorange]slightbad[/color] >= -150
- -150 > [color=firebrick]bad[/color] >= -200
- -200 > [color=darkred]evil[/color]

Additional from feedback:
*Added extra contrast around new icons that were said to be hard to read (beacons/hqs) [b](DONE)[/b]
+Cleaned up the connector icons (dual balls), made them bigger and not dependent on background color [b](DONE)[/b]
*Added option to disable new icons, reverting to more classic look [b](DONE)[/b]

Easy of life changes:
*Added link to drop up to 50 CDs to right panel [b](DONE)[/b]
*Added link to pick-up up to 50 CDs to sector forces [b](DONE)[/b]

Other Updates:
*Change to new tooltips over images instead of the old 'Title' attribute [b](DONE)[/b]
*Change the way game draws icons to take advantage of background-image property [b](DONE)[/b]
*Update sector planets to reflect change [b](DONE)[/b]
*Update sector locations to reflect change [b](DONE)[/b]
*Update sector ports to reflect change [b](DONE)[/b]
*Update local map to reflect change [b](DONE)[/b]
+Updated some icons (UG, CA, Cloak, Jump Drive, Drone farm, Uno, scrambler) [b](DONE)[/b]

From GitHub:
*Automation of alliance bank statement [b](REMOVED)[/b]
*Confirmation of bonding [b](DONE)[/b]
*Confirmation of player kick from planet [b](PARTIALLY)[/b] (Slight issue if the player lands after the page is loaded and he appears in the list of players via ajax)
*News in 4 tabs: All news, Player Deaths, NPC(probably not needed for now), Port Raids/Planet Busts [b](PARTIALLY)[/b]
+News now has 7 categories: 'breaking', 'regular', 'lotto', 'planet', 'port', 'combat', 'forces' each with own icon defined in css [b](DONE)[/b]
+News tables now have a type column that displays type icon [b](DONE)[/b]

Removed from patch pending discussion:
*Ship Details from current sector [b](REMOVED)[/b]
+Maybe add a series of Armor/Drone/Shield icons to represent current health of ship (say 1 per 100 or 200) [gets kinda complicated with illusion but I think I can crack it] [b](REMOVED)[/b]
+Maybe change examine button to Attack button or a dead button showing what protection target is under [b](REMOVED)[/b]
+Clicking attack button would take you to combat screen for now [b](REMOVED)[/b]