Help with admin UI

Guys,

I need help with the UI. If I do the JSMin compressor, then for some reason the dashboard does not look good.

I don’t know if something in the compressor is doing something wrong, but can somebody help out?

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

i’ve had this problem before. i forgot a semi-colon and when it compressed everything it merged two lines together.

signature0.jpg

one suggestion - i’ve taken the YUI compressor and run it manually against the files and then run JSMin and compared the result. This is how I discovered it was a semi-colon.

signature0.jpg

Can you help me out. I cannot pinpoint it!

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

sure - happy to help - where do I see it?

use the new admin ui branch and activate the jsmin compressor in the

/contentbox/ModuleConfig.cfc

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

I don’t know what’s causing it but I know what style it seems to be having issues with

line 232 of bootstrap-responsive.css

.row-fluid [class*="span"]:first-child { margin-left: 0; }

If you disable jsmin you can see that it gets applied to

`

`

If you enable jsmin, looking at the cached css file it seems to compile the above class into line 144 but it’s no longer applied to the above div so it defaults to

`

[class*=“span”] {

  1. float: left;
  2. min-height: 1px;
  3. margin-left: 30px;
    }

`

causing the right column to be knocked down.

Richard

You da man!!! Richard!!

This is what I needed. I updated JSMin to support class selections and now it works, please retry it.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

:slight_smile: Yeah that’s done it. Loving the new look.

I did more or less the same as Richard did, having the same result.
After googling a bit, it looks like that other users have problems with JSMin. Maybe an different compressor might help?

Looks now superb after the upgrade.

Hi Martin,

Luis has pushed the fix to JSMin in the feature branch so if you are running that you should be able to use JSMin without issue.

Regards,

Richard

Thanks, works now :wink: