Jump to content

Domains Status Colour is Wrong ?


Si

Recommended Posts

Portal Template

 

Hi,

I noticed that in the client area, when they click on 'My Domains' the colour code for expired domains is incorrect. It is supposed to be #ff9999 (a red colour), but the table shows up as a dark grey colour.

 

So, looking at the clientareadomains.tpl I see this:

 

<tr class="clientareatable{$domain.status}">

 

so I go to the style.css file and can see these:

 

tr.clientareatableheading {
background-color: #efefef;
font-weight: bold;
text-align: center;
}

tr.clientareatableactive {
background-color: #ffffff;
text-align: center;
}

tr.clientareatablepending {
background-color: #ffffcc;
text-align: center;
}

tr.clientareatablesuspended {
background-color: #ccff99;
text-align: center;
}

tr.clientareatableterminated {
background-color: #ff9999;
text-align: center;
}

 

but nothing for tr.clientareatableexpired.

 

So I added one in to the css file but still the table of expired domains shows up in a dark grey colour and all text is aligned to the left in the table instead of the middle. Is there a fix for this that anyone knows of?

 

Thanks

 

Si

Link to comment
Share on other sites

Portal Template

 

Hi,

I noticed that in the client area, when they click on 'My Domains' the colour code for expired domains is incorrect. It is supposed to be #ff9999 (a red colour), but the table shows up as a dark grey colour.

 

So, looking at the clientareadomains.tpl I see this:

 

<tr class="clientareatable{$domain.status}">

 

so I go to the style.css file and can see these:

 

tr.clientareatableheading {
background-color: #efefef;
font-weight: bold;
text-align: center;
}

tr.clientareatableactive {
background-color: #ffffff;
text-align: center;
}

tr.clientareatablepending {
background-color: #ffffcc;
text-align: center;
}

tr.clientareatablesuspended {
background-color: #ccff99;
text-align: center;
}

tr.clientareatableterminated {
background-color: #ff9999;
text-align: center;
}

 

but nothing for tr.clientareatableexpired.

 

So I added one in to the css file but still the table of expired domains shows up in a dark grey colour and all text is aligned to the left in the table instead of the middle. Is there a fix for this that anyone knows of?

 

Thanks

 

Si

I had posted on the same subject and had posted what I did to fix it but can't seem to find the post. I think it disappeared :( I will try to look up what I did.

Link to comment
Share on other sites

Hi George,

Thanks for that. Yea, I had looked at your post, which relates to product add-ons etc, but didn't want to change the $domain.status call in the file.

 

Because I've added the tr.clientareatableexpired style into the CSS and it's having no affect on the output, I'm wondering if the $domain.status doesn't = expired but equals something else?

 

ie, we have tr.clientareatable$domain.status which doesn't seem to equal tr.clientareatableexpired

 

I'm thinking, if we knew what $domain.status = when it is an expired domain, we could insert the rule into the CSS file.

 

Anyone know?

 

Thanks

 

Si

Link to comment
Share on other sites

Got it.

 

Don't know why it didn't work before but it does now. (Cache maybe)

 

Just add the code below into your style.css file and it should work.

 

tr.clientareatableexpired {
background-color: #ff9999;
text-align: center;
}

 

:lol:

 

Si

Link to comment
Share on other sites

Got it.

 

Don't know why it didn't work before but it does now. (Cache maybe)

 

Just add the code below into your style.css file and it should work.

 

tr.clientareatableexpired {
background-color: #ff9999;
text-align: center;
}

 

:lol:

 

Si

OK now come up with a better fix for the product details with CSS too :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated