~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/plugins/console/__init__.py

Move the remaining images to the new framework, in the new ivle.webapp.core
plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    """
60
60
    ctx = genshi.template.Context()
61
61
    ctx['windowpane'] = windowpane
62
 
    ctx['minimize_path'] = util.make_path("media/images/interface/minimize.png") 
63
 
    ctx['maximize_path'] = util.make_path("media/images/interface/maximize.png")
 
62
    image_path = "+media/ivle.webapp.core/images/interface/"
 
63
    ctx['minimize_path'] = util.make_path(image_path + "minimize.png")
 
64
    ctx['maximize_path'] = util.make_path(image_path + "maximize.png")
64
65
    loader = genshi.template.TemplateLoader(".", auto_reload=True)
65
66
    tmpl = loader.load(util.make_local_path("plugins/console/template.html"))
66
67
    #TODO: Make the dispatch render this