-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from CCALI/quizwright/new-question-fix
Quizwright/new question fix
- Loading branch information
Showing
6 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!-- Form for select a new quiz page type --> | ||
<form class="form-horizontal" id="page-quiz-form"> | ||
|
||
|
||
<fieldset> | ||
<legend>Quiz Question</legend> | ||
<!-- Button --> | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label" for="page-submit">Type of question?</label> | ||
<div class="col-sm-3"> | ||
<button id="page-quiz-tf" class="btn btn-primary">True/False</button> | ||
</div> | ||
<div class="col-sm-3"> | ||
<button id="page-quiz-yn" class="btn btn-primary">Yes/No</button> | ||
</div> | ||
<div class="col-sm-3"> | ||
<button id="page-quiz-mc" class="btn btn-primary">Multiple Choice</button> | ||
</div> | ||
</div> | ||
</fieldset> | ||
</form> | ||
|
||
|
||
<script> | ||
$('#page-quiz-tf').click(function(){ | ||
$("#main-panel").load("./includes/page-quiz-tf.inc"); | ||
return false; | ||
}); | ||
$('#page-quiz-yn').click(function(){ | ||
$("#main-panel").load("./includes/page-quiz-yn.inc"); | ||
return false; | ||
}); | ||
$('#page-quiz-mc').click(function(){ | ||
$("#main-panel").load("./includes/page-quiz-mc.inc"); | ||
return false; | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters