Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <!-- Latest compiled and minified CSS -->
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
- integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
- <!-- Optional theme -->
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
- integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
- <style>
- .interactive-component {
- padding: 30px;
- margin: 10px;
- color: inherit;
- background-color: rgba(105, 213, 252, 0.29);
- border: 2px solid rgb(51, 175, 218);
- border-radius: 10px;
- }
- .warning {
- background-color: rgba(255, 152, 0, 0.5);
- border: 2px solid rgb(218, 92, 0);
- }
- </style>
- <!-- Latest compiled and minified JavaScript -->
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
- integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
- crossorigin="anonymous"></script>
- <script src="handler.js"></script>
- <script>
- $(document).ready(function () {
- window.API = new PlayerWrapper();
- window.API.init();
- });
- </script>
- </head>
- <body>
- <div class="container">
- <div class="row">
- <h2>Demo</h2>
- <!-- Multiple choice -->
- <section>
- <div class="row">
- <div id="01203001" data-type="container-content" data-component="interactive" class="col-sm-12 interactive-component">
- <section data-type="component-multipleChoice">
- <h4 class="question">Question: Multiple choice</h4>
- <div class="answers">
- <label class="btn btn-info">
- <input type="radio" name="question1" data-type="component-single-choice" >
- Option 1</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question1" data-type="component-single-choice" >
- Option 2</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question1" data-type="component-single-choice" >
- Option 3</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question1" data-type="component-single-choice" >
- Option
- 4</label>
- </div>
- </section>
- </div>
- </div>
- </section>
- <!-- Multiple choice -->
- <section>
- <div class="row">
- <div id="01203999" data-type="container-content" data-component="interactive" class="col-sm-12 interactive-component">
- <section data-type="component-trueOrFalse">
- <h4 class="question">Question: True or False</h4>
- <div class="answers">
- <label class="btn btn-info">
- <input type="radio" name="questiontf" data-type="component-single-choice" >
- True</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="questiontf" data-type="component-single-choice" >
- False</label>
- </div>
- </section>
- </div>
- </div>
- </section>
- <!-- Multiple choice -->
- <section>
- <div class="row">
- <div id="01203002" data-type="container-content" data-component="interactive" class="col-sm-12 interactive-component">
- <section data-type="component-multipleChoice">
- <h4 class="question">Question: Multiple choice</h4>
- <div class="answers">
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option 1</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option 2</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option 3</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option
- 4</label>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option 5</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option 6</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option 7</label><br/>
- <label class="btn btn-info">
- <input type="radio" name="question2" data-type="component-single-choice" >
- Option
- 8</label>
- </div>
- </section>
- </div>
- </div>
- </section>
- <!-- Multiple answer -->
- <section>
- <div class="row">
- <div id="012031023" data-type="container-content" data-component="interactive" class=" col-sm-12 interactive-component">
- <section data-type="component-multipleAnswer">
- <h4 class="question">Question: Multiple answers</h4>
- <div class="answers">
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_0" data-type="component-multiple-choice" />
- Option 1</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_1" data-type="component-multiple-choice" />
- Option 2</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_2" data-type="component-multiple-choice" />
- Option 3</label><br/>
- </div>
- </section>
- </div>
- </div>
- </section>
- <!-- Multiple answer -->
- <section>
- <div class="row">
- <div id="012031024" data-type="container-content" data-component="interactive" class="col-sm-12 interactive-component">
- <section data-type="component-multipleAnswer">
- <h4 class="question">Question: Multiple answers</h4>
- <div class="answers">
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_0" data-type="component-multiple-choice" />
- Option 1</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_1" data-type="component-multiple-choice" />
- Option 2</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_2" data-type="component-multiple-choice" />
- Option 3</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_3" data-type="component-multiple-choice" />
- Option 4</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_4" data-type="component-multiple-choice" />
- Option 5</label><br/>
- <label class="btn btn-info">
- <input type="checkbox" name="c_n_5" data-type="component-multiple-choice" />
- Option 6</label><br/>
- </div>
- </section>
- </div>
- </div>
- </section>
- <div class="btn btn-lg btn-info" id="submit()" onclick="API.commit()">SEND NOW!</div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement