#2454: Plugin frame work only allows script resources, no CSS or images
------------------------------+-------------------
  Reporter:  amain            |      Owner:
      Type:  feature-request  |     Status:  new
  Priority:  minor            |  Milestone:  2.0
 Component:  Web UI           |    Version:  1.3.6
Resolution:                   |   Keywords:
------------------------------+-------------------
Changes (by Cas):

 * milestone:  Future => 2.0


Comment:

 I've not tested this but it is possible from within a plugin WebUI class
 to access the existing components the same way that the scripts are added:

 {{{
 from deluge import component
 icons = component.get('Icons')
 icons.add_directory('relative/path/icondir')
 css = component.get('Css')
 css.add_directory('relative/path/icondir')
 }}}

 I'll see about getting that code added to pluginmanager

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2454#comment:3>
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 https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to