move computers--adding test file
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
# wrap everything in a class in case we want to use inside xmodules later
|
||||
class StaffGrading
|
||||
constructor: ->
|
||||
alert('hi!')
|
||||
@submission_container = $('.submission-container')
|
||||
@rubric_container = $('.rubric-container')
|
||||
@submit_button = $('.submit-button')
|
||||
@mock_backend = true
|
||||
|
||||
@load()
|
||||
|
||||
|
||||
load: ->
|
||||
alert('loading')
|
||||
|
||||
# for now, just create an instance and load it...
|
||||
grading = new StaffGrading
|
||||
$(document).ready(grading.load)
|
||||
$(document).ready(() -> new StaffGrading)
|
||||
|
||||
24
lms/static/coffee/src/staff_grading/test_grading.html
Normal file
24
lms/static/coffee/src/staff_grading/test_grading.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html> <head>
|
||||
<title></title>
|
||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||
<script type="text/javascript" src="staff_grading.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Staff grading</h1>
|
||||
|
||||
<div class="submission-container">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="rubric-container">
|
||||
</div>
|
||||
|
||||
<div class="submission">
|
||||
<input type="button" value="Submit" class="submit-button" name="show"/>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body> </html>
|
||||
Reference in New Issue
Block a user