Solved.

Needed to change this file
/opt/openwisp/static/django-netjsonconfig/css/admin.css

Thank you!

Missatge de Oscar STV <[email protected]> del dia dl., 20 de maig 2019 a
les 10:56:

> Hi, @2stacks, thank you very much for helping me.
>
> Now, with the new nginx container, I can autoregister my devices :) Great!
>
> BUT
> I'm having a weird issue.
>
> I modify the admin.css file.
> vi /opt/openwisp/static/controller/django-netjsonconfig/css/admin.css
> From this:
> .change-form #device_form div.inline-group.tab-content > fieldset.module >
> h2,
> .change-form #device_form div.inline-group.tab-content > .tabular >
> fieldset.module > h2,
> .change-form #device_form > div > fieldset.module.aligned,
> .change-form #device_form > div > {
>   display: none;
> }
> to this:
> .change-form #device_form div.inline-group.tab-content > fieldset.module >
> h2,
> .change-form #device_form div.inline-group.tab-content > .tabular >
> fieldset.module > h2,
> .change-form #device_form > div > fieldset.module.aligned,
> .change-form #device_form > div > {
>   display: block;
> }
>
> I go into the container:
> docker exec -it dockerize-openwisp_nginx_1 sh
>
> Flush Nginx cache:
> rm -R /var/cache/nginx/
>
> and reload it:
> nginx -s reload
>
> Then I delete all the caches from chrome/firefox... and reload the page:
> https://openwisp2.myhomeserver.com/admin/config/device/add/
> or
> http://192.168.1.10:8081/admin/config/device/add
>
> I see as I had "display none"!
> If I download the page as HTML, and I open admin.css, it's still
> display:none.
> If I modify the admin.css from "none" to "block", and I load the
> downloaded HTML page, I can see the add device block correctly.
>
> I'm not behind a proxy, so I cannot understand what's happening.
>
> Thank you again,
> Oscar
>
>
> El dissabte, 11 maig de 2019 23:40:19 UTC+2, 2stacks va escriure:
>>
>> If you're using docker-compose look here on your local system.
>>
>> /opt/openwisp/static/controller/django-netjsonconfig/css/admin.css
>>
>> On Sat, May 11, 2019 at 5:20 PM Oscar STV <[email protected]> wrote:
>>
>>> Yes, I'm having the bug #111.
>>> Thank you, I'll check inside the controller container. If I find the
>>> admin.css file, I'll change the code as Ajay states in the #111 thread.
>>>
>>> Thank you very much 😃
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "OpenWISP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web, visit
>>> https://groups.google.com/d/msgid/openwisp/55c79d04-6e9f-47ba-abe9-34da64e43305%40googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/fcb642be-86e4-4add-84b5-816c2d1b5db7%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/fcb642be-86e4-4add-84b5-816c2d1b5db7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAMeGni4fOGhxhk%3DNDZt2jdvETSa5ik16fW6Kg%2BULfc3xXgTjuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to