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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/service.py

  • Committer: David Coles
  • Date: 2009-07-30 07:46:28 UTC
  • Revision ID: coles.david@gmail.com-20090730074628-9lm1hyjmobpvwhy3
Fix the console input UI so that it displays propperly regardless of window width
 by laying it out with 'display: table'. Also fixed file browser spacing since
console overlapped the status bar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        jail_path = os.path.join(req.config['paths']['jails']['mounts'],
88
88
                                 req.user.login)
89
89
        working_dir = os.path.join("/home", req.user.login)
90
 
        cons = ivle.console.Console(req.user.unixid, jail_path, working_dir)
 
90
        cons = ivle.console.Console(req.config, req.user.unixid, jail_path,
 
91
                                    working_dir)
91
92
 
92
93
        # Parse the file into a exercise object using the test suite
93
94
        exercise_obj = ivle.webapp.tutorial.test.parse_exercise_file(