Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Due date colors are not showing #5

Open
astifr opened this issue Apr 27, 2021 · 10 comments
Open

Due date colors are not showing #5

astifr opened this issue Apr 27, 2021 · 10 comments

Comments

@astifr
Copy link

astifr commented Apr 27, 2021

Hi all, I'm testing this plugin but I have a problem with due date colors.

As you can view in the picture, after configure due date tints I can't see any color at the sides.

image

somebody could tell me what I'm doing wrong?

Environment:
Redmine version 4.2.0.stable
Ruby version 2.5.0-p0 (2017-12-25) [x86_64-linux]
Rails version 5.2.5
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 2.17.1
Filesystem
Redmine plugins:
redmine_tint_issues 1.2.1

Thanks in advance

Edit: I try to reboot the server but there are no changes.

@HugoHasenbein
Copy link
Owner

HugoHasenbein commented Apr 27, 2021 via email

@astifr
Copy link
Author

astifr commented Apr 27, 2021

Thank you Stephan.

Yes, Apply is not the problem ;)

I don't have any others plugins, tint is the only one.
image

I'm not an expert in HTML but I think that you are speaking about this part of code:

`

<style> /* current */ table.list tbody tr.current:nth-child(odd) { background-color:#1C14FF; } table.list tbody tr.current:nth-child(even) { background-color:#2921ff; } table.list tbody tr.current:nth-child(odd):hover { background-color:lightyellow; } table.list tbody tr.current:nth-child(even):hover { background-color:lightyellow; }

/* old */
table.list tbody tr.old:nth-child(odd) { background-color:#C4C4C4; }
table.list tbody tr.old:nth-child(even) { background-color:#d1d1d1; }
table.list tbody tr.old:nth-child(odd):hover { background-color:orange; }
table.list tbody tr.old:nth-child(even):hover { background-color:orange; }

/* older */
table.list tbody tr.older:nth-child(odd) { background-color:#FFFFFF; }
table.list tbody tr.older:nth-child(even) { background-color:#ffffff; }
table.list tbody tr.older:nth-child(odd):hover { background-color:orange; }
table.list tbody tr.older:nth-child(even):hover { background-color:orange; }

/* veryold */
table.list tbody tr.veryold:nth-child(odd) { background-color:#FFFFFF; }
table.list tbody tr.veryold:nth-child(even) { background-color:#ffffff; }
table.list tbody tr.veryold:nth-child(odd):hover { background-color:orange; }
table.list tbody tr.veryold:nth-child(even):hover { background-color:orange; }

/* ancient */
table.list tbody tr.ancient:nth-child(odd) { background-color:#333333; }
table.list tbody tr.ancient:nth-child(even) { background-color:#404040; }
table.list tbody tr.ancient:nth-child(odd):hover { background-color:lightyellow; }
table.list tbody tr.ancient:nth-child(even):hover { background-color:lightyellow; }

/* hasduedate */
table.list tbody tr:nth-child(odd).hasduedate,
table.list tbody tr:nth-child(even).hasduedate
{
border-left-style: solid;
border-right-style: solid;
border-left-width: 5px;
border-left-color: #7AFFFB;
border-right-width: 5px;
border-right-color:#7AFFFB;
border-collapse: separate;
}

/* due */
table.list tbody tr:nth-child(odd).due,
table.list tbody tr:nth-child(even).due
{
border-left-style: solid;
border-right-style: solid;
border-left-width: 5px;
border-left-color: #26FF05;
border-right-width: 5px;
border-right-color: #26FF05;
border-collapse: separate;
}

/* moredue */
table.list tbody tr:nth-child(odd).moredue,
table.list tbody tr:nth-child(even).moredue
{
border-left-style: solid;
border-right-style: solid;
border-left-width: 5px;
border-left-color: #EEFF00;
border-right-width: 5px;
border-right-color: #EEFF00;
border-collapse: separate;
}

/* verydue */
table.list tbody tr:nth-child(odd).verydue,
table.list tbody tr:nth-child(even).verydue
{
border-left-style: solid;
border-right-style: solid;
border-left-width: 5px;
border-left-color: #FF0000;
border-right-width: 5px;
border-right-color: #FF0000;
border-collapse: separate;
}

/* overdue */
table.list tbody tr:nth-child(odd).overdue,
table.list tbody tr:nth-child(even).overdue
{
border-left-style: solid;
border-right-style: solid;
border-left-width: 5px;
border-left-color: #030303;
border-right-width: 5px;
border-right-color: #030303;
border-collapse: separate;
}
</style>
`

Any ideas?

@HugoHasenbein
Copy link
Owner

HugoHasenbein commented Apr 27, 2021 via email

@astifr
Copy link
Author

astifr commented Apr 27, 2021

Thank you Stephan, I can't see any attach in your message, could you repost it?

@astifr
Copy link
Author

astifr commented Apr 27, 2021

Hi again, I think this is that you are looking for,

image

@HugoHasenbein
Copy link
Owner

HugoHasenbein commented Apr 27, 2021 via email

@astifr
Copy link
Author

astifr commented Apr 28, 2021

Exactly, I don't know why but not work.
Here you can see the whole page, with inpect, in Chrome,

image

I obtaint the same result with Mozilla and with Edge.
I reinstall the plugin but with the same result.

seems a x-files :D

Maybe are there any incompatibility with language? The whole system is in spanish.

I obtain the same result with classic theme,
image

thank you for your help.

@HugoHasenbein
Copy link
Owner

HugoHasenbein commented Apr 28, 2021 via email

@astifr
Copy link
Author

astifr commented Apr 29, 2021

Hi Stephan.

I'm using the latest version of Chrome. I tried with the lattest version of Firefox too.
I think that we are in a dead end...

Don't worry if you can't do any more.

Thank you!

@pztrn
Copy link

pztrn commented Apr 14, 2022

Encountered the very same problem and found that restart fixes this problem.

I'm using plugin version 1.2.1 with Redmine 4.2.5 and puma 4.3.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants