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

"GO" button missing from web interface, cannot perform maintenance tasks. #4425

Closed
michaelrsweet opened this issue Jun 2, 2014 · 4 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.7-current
CUPS.org User: nrahl

I built 1.7 from source (downloaded 6/1/2014) on an Ubuntu 14.04 server.

When accessing the cups interface with the web interface using links, (links http:https://localhost:631), under the maintenance section where you can edit default options or print a test page, etc, from the drop down menu, there is no longer a "go" button next to the drop down, and thus, no way to submit the request.

Previous versions had a submit button labeled "go" after the maintenance and administration drop downs.

The only way to change default options for a printer is to delete the printer from the command line then re-add it again. Without a "go" button, there is no way to print a test page, clear the que, etc from within the web interface.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Will look into a way to enable this just for text-based browsers that lack Javascript.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

OK, looking at the templates in 1.7.x we have a (CSS hidden) "Go" button already.

Unfortunately, I am having a hard time finding the official project page for "links" - all I can guess is that it is a fork of the lynx browser. There is no indication whether CSS is supported, and there are even hints that Javascript is actually supported in some versions.

You can try removing the STYLE="display: none" attribute from the markup in /usr/share/cups/templates/printer.tmpl - that should make the buttons visible for your browser of choice.

And if you can provide a link to the links project I can try installing it on one of my machines to develop a workaround.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: nrahl

Have you considered wrapping the button in a noscript tag instead of hiding it with CSS? That would seem more appropriate since the button is for browsers without javascript enabled, not browsers without css support.

The links browser is in the Ubuntu repositories and can be installed with "apt-get install links". I'm not sure of who the developers are.

http:https://en.wikipedia.org/wiki/Links_%28web_browser%29

The go button is working correctly in the Lynx browser with v1.7.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

"NOSCRIPT" it is...

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

No branches or pull requests

1 participant