Is there a way to add a % bar to the tab if you're printing something?
-
I suspect it's not possible, because AFAIK the browser only requests the favicon.ico file when it connects initially. But someone else may know a workaround.
-
It would be something to add to the DWC web interface I will let @chrishamm know about this request.
-
I suspect it's not possible, because AFAIK the browser only requests the favicon.ico file when it connects initially. But someone else may know a workaround.
Speaking of the faveicon, how does one change that? I'd like to have them to be different colors instead of both blue
It would be something to add to the DWC web interface I will let @chrishamm know about this request.
Thank you!
-
It's easy to change the text shown in the browser tab from javascript. It just needs the UI code to do something like this every now and again:
document.title = "My fab printer: 75%";
-
I suspect it's not possible, because AFAIK the browser only requests the favicon.ico file when it connects initially. But someone else may know a workaround.
For chrome and Firefox you can change it dynamically with an Ajax request but I don't think you can in IE or Safari.
-
Here's a demo page showing how you can dynamically change the favicon:
https://mathiasbynens.be/demo/dynamic-favicons
http://stackoverflow.com/a/2995536/4107016 -
This one seems interesting as well
https://github.com/lipka/piecon -
This one seems interesting as well
https://github.com/lipka/pieconThat one is very pleasing, I especially like how it generates the images on the fly so you don't have to serve them all.
Looking through the web UI code, it looks like there's already a nice setProgress function which could be used to update this:
https://github.com/dc42/DuetWebControl/blob/master/src/js/viewmodel.js#L2402 -
Something like this?
-
I like it! How hard is it to implement?
-
I've put a pull request in with chris: https://github.com/chrishamm/DuetWebControl/pull/33/commits/eb2a220471c4c520314c29534fe00d53d217a782