361
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
362
General Discussion / Re: New pfs**** website
« on: May 26, 2018, 04:51:51 pm »
I think the new forum is not necessarily bad. But the presentation of the subcategories on the overview page is a bit confusing.
363
Development and Code Review / Re: Collapse Dashboard like on FreeNAS Beta UI ?
« on: May 25, 2018, 10:07:24 am »If we need classes in CSS for reuse or vital components (like the menu) that's fine. If this is about an arbitrary page that needs better styling it's best avoided (exceptions apply for specific reasons).
Second option sounds sensible, there's also an "opnsense" header symbol to collapse the full logo to and we already have the menu icons and skip the text. Easier said than done, but I hope you get what I mean to say.
Cheers,
Franco
I do not want to bother you for long. but maybe you can help me or give a tip!
I'm currently coding the navigation collapse for the navigation sidebar by opnsense.
After I have dealt with the Grid System of bootstrap like col-xm-12, etc. and I understood how bootstrap works, I wanted to test a very simple button in the head div of opnsense.
I know that it depends on the columns used, etc. whether and from what resolution, etc. things displayed or not displayed.
But now I have a problem, that I can not explain myself.
If I insert a button in the default.volt or in the base_menu_system.volt, it will only be displayed on certain pages. no matter where I insert this. when i click on dashboard, the button never appears, but when i click for example on service "web-proxy" or service "hello world" the button appears. Why? where do I have to start here? see my screenshots.
I want the button to appear on every page! actually I would like to do it like freenas!
I would be grateful for every tip.
Regards rene
364
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 19, 2018, 01:10:53 am »
thx martin
Regards rene
Regards rene
365
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 18, 2018, 01:39:13 pm »
no problem martin. there are more important things -> do not stress!!!!
366
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 17, 2018, 11:03:15 am »
The scheduler fix for cicada and tukan will come later.
Thx Franco, Fabian and Martin for your Support.
Best regards
Rene
Thx Franco, Fabian and Martin for your Support.
Best regards
Rene
367
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 17, 2018, 10:55:40 am »
Great work guys i Sent The latest fixed scheduler Updates for tukan and cicada to Martin.
Would be Great if we can get this Versions to the current update.
Best regards
Rene
Would be Great if we can get this Versions to the current update.
Best regards
Rene
368
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 16, 2018, 06:45:42 pm »I hope your last theme problems are fixed now
kind regards from Vorarlberg
Fabian
I hope so ;-)
regards from vienna
Rene
369
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 15, 2018, 10:51:21 pm »
great work guys!!!! :-) incredible fast -> it is almost world record!
Thanks to Franco, Fabian and Martin for the professional support.
I have sent martin the changes for tukan and cicada.
I think we made 3 really good themes for opnsense. although that's certainly not the most important thing for a firewall. but an important step.
best regards,
rené
Above all, I have to thank Martin very much, who is really always helpful and without him all my zeal would not be worth anything.
Thanks to Franco, Fabian and Martin for the professional support.
I have sent martin the changes for tukan and cicada.
I think we made 3 really good themes for opnsense. although that's certainly not the most important thing for a firewall. but an important step.
best regards,
rené
Above all, I have to thank Martin very much, who is really always helpful and without him all my zeal would not be worth anything.
370
Development and Code Review / Re: Collapse Dashboard like on FreeNAS Beta UI ?
« on: May 15, 2018, 08:48:54 pm »It solely depends on the problem it tries to solve. What are you trying to solve?
Cheers,
Franco
Actually, I just wanted to know what's possible. I'm just still scouting and reading in the mvc matter.
I have already considered two approaches.
One option would be to hover an arrow next to or below the navigation bar. just do not know exactly where and how this should look.
the second possibility would be as in freenas a symbol in the headline to display. this would then reduce or enlarge the navigation bar.
for the symbol in the header definitely a own class or a div would have to be generated so that it can be positioned. the same probably applies to the arrow next to or below or above the navigation bar.
at least that's my current idea.
best regards rené
371
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 15, 2018, 08:17:45 pm »
I think I just declared it bad.
But Fabian knows what I mean.
rené
But Fabian knows what I mean.
rené
372
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 15, 2018, 07:59:32 pm »Hi guys,
Ideally, the ancient JS code surrounding the scheduler edit page should be replaced and adhere to bootstrap colour classes. But since we are not in an ideal world:
https://github.com/opnsense/core/commit/319a8bc
René, can you attach screenshots of one of your themes with and without the patch in place, I'm not entirely sure what it should look like.
Thank you,
Franco
as desired the screenshot of cicada and rebellion theme.
And if you would change the value to "inherit" in the source code, then the cell will be displayed in the same background color after a double-click as the template specified. then the field would be readable again.
in tukan theme it is not so bad, because the foreground text is black and the background is very bright anyway.
best regards
rené
373
Development and Code Review / Re: firewall-scheduler - disable cell (background-color)?
« on: May 15, 2018, 06:22:23 pm »I would suggest to make the code independent from colors but this change is very large, so I did not change that code.
A pity.
This leaves the problem that under templates such as cicada, rebellion the scheduler is difficult to read when deleting scheduler entries.
best regards rené
374
Development and Code Review / firewall-scheduler - disable cell (background-color)?
« on: May 15, 2018, 06:07:33 pm »
Hi Franco!
in the course of my training in the mvc of opnsense, I found the file, which is responsible for the firewall scheduler. I came across the problem when creating the cicada template, but ignored it for lack of time.
So that this value is not always displayed in white when deactivating a cell, it would be sufficient to set the value to "inherit" instead of "#FFF".
This would make the scheduler independent of the WEB template (GUI) and above all readable.
I attached a modified code screenshot and the screenshot of the original code. Incidentally, I've already tried it and it works flawlessly.
What do you think ?
best regards rené
in the course of my training in the mvc of opnsense, I found the file, which is responsible for the firewall scheduler. I came across the problem when creating the cicada template, but ignored it for lack of time.
So that this value is not always displayed in white when deactivating a cell, it would be sufficient to set the value to "inherit" instead of "#FFF".
This would make the scheduler independent of the WEB template (GUI) and above all readable.
I attached a modified code screenshot and the screenshot of the original code. Incidentally, I've already tried it and it works flawlessly.
What do you think ?
best regards rené
375
Development and Code Review / Re: Collapse Dashboard like on FreeNAS Beta UI ?
« on: May 15, 2018, 05:17:04 pm »Hi René,
> usr \ local \ opnsense \ MVC \ app \ views \ layout_partials \ base_menu_system.volt
This is the MVC menu template, yes, you want to adjust this one.
> usr \ local \ opnsense \ MVC \ app \ cache \ _usr_local_opnsense_mvc_app_views_layout_partials_base_menu_system.volt.php
This is the MVC cache file, it will be generated from the template above. This does not need to be edited.
> usr \ local \ www \ fbegin.inc
This is the static file, we will add collapsible menu support to this file together in a later stage after the MVC has been adjusted.
Cheers,
Franco
hi franco,
I have another question.
Is it possible to include or use a class or div of your own in the core or are you only allowed to use the classes or divisions of bootstrap?
best regards
rené