Skip to content

Commit

Permalink
Adding missing image in CCA. Closes #517.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Oct 21, 2015
1 parent 97b87a4 commit 30d63ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions web-server/plugins/slycat-cca/slycat-cca.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ def page_html(database, model):
os.path.join(os.path.dirname(__file__), "js/ui.js"),
])
context.register_page_resource("cca", "images", os.path.join(os.path.dirname(__file__), "images"))
# Register images and other resources
images = [
'ui-bg_glass_75_e6e6e6_1x400.png',
]
for image in images:
context.register_page_resource("cca", image, os.path.join(os.path.dirname(__file__), "images", image))

# Register custom wizards for creating CCA models.
context.register_wizard("new-cca", "New CCA Model", require={"action":"create", "context":"project"})
Expand Down

0 comments on commit 30d63ef

Please sign in to comment.