Page 1 of 1

Web interface questions

Published: March 23, 2018 - 11:55 AM
by PyLEVEQUE
Hello,

I've been exploring WAPT for a few weeks now.
I have two questions regarding the user interface:

First, can you confirm that this is indeed a locally hosted web server using the Django framework?


Second, I've encountered an error in how the pages are displayed:

The package uninstallation page doesn't seem to depend on the correct file. When I uninstall a package, I naturally end up on the page 127.0.0.1:8088/remove (see Remove.png).
As you can see, the uninstallation message is incorrect.

After some research and testing, I discovered that the content of this page (which should depend on remove.html) actually depends on install.html, which is most likely the cause of this problem.
This doesn't affect the package installation/uninstallation process, but it's a problem when trying to customize the view of each page independently (the remove.html file doesn't seem to be used).

I'm using version 1.5.1.21.

Thanks in advance for your help.

Re: Web interface questions

Published: March 23, 2018 - 2:08 PM
by dcardon
Hello Pyleveque,
PyLEVEQUE wrote: March 23, 2018 - 11:55 AM I've been exploring WAPT for a few weeks now.
I have two questions regarding the user interface:

First, can you confirm that it is indeed a locally hosted web server?
Yes
PyLEVEQUE wrote: March 23, 2018 - 11:55 and that he uses the Django Framework?
No, it's Rocket with Jinja2
PyLEVEQUE wrote: March 23, 2018 - 11:55 AM Then I encountered an error in how the pages are displayed:

The package uninstallation page doesn't seem to depend on the correct file. When I uninstall a package, I naturally end up on the page 127.0.0.1:8088/remove (see Remove.png).
As you can see, the uninstallation message is incorrect.

After some research and testing, I discovered that the content of this page (which should depend on remove.html) actually depends on install.html, which is very likely the cause of this problem.
It doesn't affect the package installation/uninstallation process at all, but it's a problem when you want to customize the view of each page independently (the remove.html file doesn't seem to be used).

I should mention that I'm on version 1.5.1.21.
Yes, it's a bug. I'll create an issue in Roundup to make sure it's not overlooked. It should be fixed in the next minor release.

Sincerely,

Denis