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

« back to all changes in this revision

Viewing changes to ivle/webapp/console/__init__.py

ivle.webapp.console.service: Port www/apps/consoleservice to new framework.
    consoleservice now lives under /console/service, and actions are taken
    in the "ivle.op" query argument, not as the last segment of the path.
    Otherwise the interface is identical.
www/apps/console/console.js: Update to new consoleservice interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from ivle.webapp.base.plugins import BasePlugin
 
2
from ivle.webapp.console.service import ConsoleServiceRESTView
 
3
 
 
4
class Plugin(BasePlugin):
 
5
    """
 
6
    The Plugin class for the console plugin.
 
7
    """
 
8
    urls = [
 
9
        ('console/service', ConsoleServiceRESTView)
 
10
    ]