New theme

Added by Daniel Felix over 6 years ago

Hi there,

I just released an new theme which I'm using on my installations.

Maybe you like to test it or give some feedback.

Issue list

Issue details

Themeinfos
http://www.redmine.org/projects/redmine/wiki/Theme_List#Newmine

Best regards,
Daniel

issue_details.png (54 KB)

issue_list.png (60.6 KB)

Replies (15)

RE: New theme - Added by Andriy Lesyuk over 6 years ago

Please include any screenshots somewhere, so users could check the theme before using it. Alternatively, you can give an online demo (e.g., URL to your installation).

RE: New theme - Added by Daniel Felix over 6 years ago

Hi,

thanks for the hint. I thought I've already uploaded some images.

For the first time, I just publish them here.

Best regards,
Daniel

issue_list.png - Issue list (60.6 KB)

issue_details.png - Issue detail pages (54 KB)

RE: New theme - Added by Ivan Cenov over 6 years ago

Nice look.

However, it seems the theme conflicts some way with sidebar-hide plugin.

RE: New theme - Added by Daniel Felix over 6 years ago

Yes this could be as I've included some JS Code to hide the sidebar, which is public since a while. Maybe some code is added to this plugin.

The Plugin itself provides in the top right side a way to show/hide the sidebar.

The icons in the first id row, just display if this issue is a private issue, has a due date and also displays if the due date is expired or not.

RE: New theme - Added by Ivan Cenov over 6 years ago

Daniel Felix wrote:

Yes this could be as I've included some JS Code to hide the sidebar, which is public since a while. Maybe some code is added to this plugin.

The Plugin itself provides in the top right side a way to show/hide the sidebar.

The icons in the first id row, just display if this issue is a private issue, has a due date and also displays if the due date is expired or not.

I removed sidebar_hide plugin but I did not find way to hide sidebar (selected newmine theme). How is this achieved?

P.S. Aha, I found the button in upper right corner.

RE: New theme - Added by Ivan Cenov over 6 years ago

The button that switches the sidebar hides when the page is scrolled up. Is it possible the button to be always visible?

RE: New theme - Added by Ivan Cenov over 6 years ago

Conflict with redmine_wiki_gchart_formula plugin. This plugin enables Redmine to render LaTeX-style formula images in Wiki. The images are very very huge with Newmine theme. They are normal with any other theme (Redjourn par example).

P.S. I tested with this code:

|=. sP1_STATE0 | {{latex(t_{startup})}} |

|=. ssP1_STATE0 | a {{latex(t_{startup})}} |

|=. sP1_STATE0 | ab {{latex(t_{startup})}} |

|=. sP1_STATE0 | abc {{latex(t_{startup})}} |

|=. sP1_STATE0 | this is a cell without latex formula |

{{latex(t_{startup})}}
Here are screenshots
Redjourn theme

Newmine theme

Then I tested with pictures (PNG) and saw that they are scaled in table cells depending how big are cells. This is not the case with other themes.

RE: New theme - Added by Daniel Felix over 6 years ago

Hi Ivan,

Sorry was away for a short time. Yes the sidebarbutton is on the top right beneath the search field.

Ivan Cenov wrote:

The button that switches the sidebar hides when the page is scrolled up. Is it possible the button to be always visible?

No it doesn't hide. The additional top menu slides out. On the top right there is the button just in a smaller form.

In which way this collides? Any further infos?

P.s.
The icons have a little bit higher quality factor as we are using displays with higher resolutions. This way we will accomplish a better display if we zoom to scale the page.

RE: New theme - Added by Ivan Cenov over 6 years ago

Yes, I found the button, I haven't seen it before.
About redmine_wiki_gchart_formula plugin, the problem is not in the plugin but in rendering images in tables. See my previous post above.

RE: New theme - Added by Daniel Felix over 6 years ago

Just recheck with the latest version. There was a CSS rule which was introduced for an old plugin.

With the last rev. it looks like in your screenshots.

RE: New theme - Added by Ivan Cenov over 6 years ago

Thanks, it works now.
---
Another question arises: Is it possible to activate/deactivate a plugin depending on which theme is active? In other words, is it possible to a plugin to tell which theme is active? I mean, when newmine theme is active, sidebar_hide plugin should not work.

RE: New theme - Added by Daniel Felix over 6 years ago

You can read it from you system with Setting.find_or_default('ui_theme').value.
This equals newmine if newmine is used.

RE: New theme - Added by Ivan Cenov over 6 years ago

Thanks.

The implementation of sidebar hiding in 'newmine' theme is good and I like it. Nevertheless I did some investigation around this topic and began to realize that sidebar hiding should be core feature. At least two plugins are involved in this: sidebar_hide plugin hides and unhides the sidebar; redmine_theme_changer plugin is used to enable every user to select different theme. First one should know which is the current theme, but it should ask Redmine core or redmine_theme_changer and this way to know if latter is installed. There are too many dependencies here.

P.S. Theme changing by users should also be core feature.

RE: New theme - Added by Daniel Felix over 6 years ago

Yes this could be a core feature of Redmine itself. But as this isn't supported, I have just easily created one via JS, which will degrade if a user doesn't support JS.

Another thing is the lightbox which will be integrated in the next version. It could be handled by Redmine itself, but as this isn't it's supported by the theme as this will degrade if the client won't support JS.

RE: New theme - Added by dj jones almost 6 years ago

to help other users discover your theme, can you add more detail to the Theme List: http://www.redmine.org/projects/redmine/wiki/Theme_List#section-41.

I added this:
'theme for Redmine with some additional features -including coloured issue-lists, side-bar-hiding by user, and etc '

but this is probably not very accurate...

(1-15/15)