#2454: Plugin frame work only allows script resources, no CSS or images
-----------------------------+------------------------------------
Reporter: amain | Owner:
Type: feature-request | Status: new
Priority: minor | Milestone: Future
Component: Web-UI | Version: other (please specify)
Keywords: |
-----------------------------+------------------------------------
It is not possible, or unclear how, to register image resources within a
plugin. Script resources are added by:
class WebUI(WebPluginBase):
scripts = [get_resource("<my-js-resource>.js")]
def enable(self):
pass
def disable(self):
pass
It be great if plugins would be allowed to register image sources. Image
resources can be used for example in the torrent drop-down menu. At the
moment all torrent drop-down menu internal items have an nice icon
associated. Items added by plugins don't.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2454>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.