CSS classes for setup page.

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
3/29/2011 5:05:05 PM
Gravatar
Total Posts 550

CSS classes for setup page.

Hi Joe,

The setup page don't inherit from mojoBasePage and there is not any css class to apply on it. That page is an administration page and no need to any beautiful appearance but for a right to left calture we need to change page direction and font of text .  Is it not better to have a setup master page for it?

best,

Asad

3/30/2011 12:42:39 PM
Gravatar
Total Posts 18409

Re: CSS classes for setup page.

Hi Asad,

Setup page works much different than normal pages, everything is rendered using Response.Write as it progresses through the setup process. Normal pages build a control tree and let the controls do the rendering.

The header part of the page comes from a config file

<add key="SetupHeaderConfigPath" value="~/Setup/SetupHeader.config"/>

so you can use a custom file for rtl

 

Best,

Joe

3/30/2011 3:10:03 PM
Gravatar
Total Posts 550

Re: CSS classes for setup page.

The content that belongs here is too complex to display securely.
4/2/2011 8:39:48 AM
Gravatar
Total Posts 18409

Re: CSS classes for setup page.

Hi Asad,

I just committed changes to the repository to support using SetupHeader-rtl.config if the current culture is for rtl

I added this to the css:

html[dir='rtl'] .settinglabel {float:right; }

Best,

Joe

4/2/2011 10:48:13 AM
Gravatar
Total Posts 550

Re: CSS classes for setup page.

Hi Joe,

Thanks for attention. I test it , please change this line :

 using (StreamReader oStreamReader = File.OpenText(System.Web.HttpContext.Current.Server.MapPath(WebConfigSettings.SetupHeaderConfigPath)))

TO

 using (StreamReader oStreamReader = File.OpenText(System.Web.HttpContext.Current.Server.MapPath(setupTemplatePath)))

 

Best,

Asad

 

4/2/2011 10:51:00 AM
Gravatar
Total Posts 18409

Re: CSS classes for setup page.

oops, fixed.

Thanks,

Joe

You must sign in to post in the forums. This thread is closed to new posts.