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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-02-23 06:11:58 UTC
  • Revision ID: grantw@unimelb.edu.au-20100223061158-05cqg88387ymjtlj
Redo console CSS, and replace the examples on the help page with something more like the modern console that also doesn't break the real console with ID conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
class WorksheetsRESTView(JSONRESTView):
119
119
    """View used to update and create Worksheets."""
120
120
 
121
 
    @named_operation('edit')
 
121
    @named_operation('edit_worksheets')
122
122
    def move_up(self, req, worksheetid):
123
123
        """Takes a list of worksheet-seq_no pairs and updates their 
124
124
        corresponding Worksheet objects to match."""
139
139
        
140
140
        return {'result': 'ok'}
141
141
 
142
 
    @named_operation('edit')
 
142
    @named_operation('edit_worksheets')
143
143
    def move_down(self, req, worksheetid):
144
144
        """Takes a list of worksheet-seq_no pairs and updates their 
145
145
        corresponding Worksheet objects to match."""