|
1 | 1 | <section class="training-main"> |
2 | | - <div class="training-body"> |
3 | | - <div class="training-top" ng-style='allGone'> |
4 | | - <div class="kata-name-container"> |
5 | | - <div class="kata-name-container-top"> |
6 | | - <img src="./assets/imgs/5_kyu_icon.png" alt="Difficulty" id="difficulty-icon"> |
7 | | - <h3 class="font16-reg" id="kata-name"> |
8 | | - Name of Kata |
9 | | - </h3> |
10 | | - </div> |
11 | | - <div class="kata-stats"> |
12 | | - <p>Here's where stats go</p> |
13 | | - <p>Here's where stats go</p> |
14 | | - <p>Here's where stats go</p> |
15 | | - </div> |
16 | | - </div> |
17 | | - <!--End kata-name-container div--> |
18 | | - <div class="selection-div"> |
19 | | - <select class="language-select-dropdown select-dropdown" ng-init="selectedLanguage = languages[0]" ng-model="selectedLanguage" |
20 | | - ng-options="x for x in languages"> |
21 | | - |
22 | | - </select> |
23 | | - <select class="language-version-select-dropdown select-dropdown" ng-init="selectedVersion = versions[0]" ng-model="selectedVersion" |
24 | | - ng-options="x for x in versions"> |
25 | | - |
26 | | - </select> |
27 | | - </div> |
28 | | - <div class="assorted-options"> |
29 | | - <div class="view-options">Here's where view options go</div> |
30 | | - <div class="view-options">Here's where view options go</div> |
31 | | - <div class="view-options">Here's where view options go</div> |
32 | | - </div> |
33 | | - </div> |
34 | | - <div class="kata"> |
35 | | - <!-- <div class="instructions"> |
36 | | - <div class="instructions-head"> |
37 | | - <button class="instructions-selector font13-reg-gray">Instructions</button> |
38 | | - <button class="instructions-selector font13-reg-gray">Output</button> |
39 | | - </div> |
40 | | - <hr> |
41 | | - <h2 class="font20-reg">Name of Kata</h2> |
42 | | - <div> |
43 | | - <p>Here's where the instructions go. We have to think about how to present code samples.</p> |
44 | | - <div ng-repeat="test in output"> |
45 | | - <p>{{test.test}}</p> |
46 | | - <p>{{test.result}}</p> |
47 | | - </div> |
48 | | - </div> |
49 | | - </div> --> |
50 | | - <div class="instructions" ng-style="instructionStyle"> |
51 | | - <div class="instructions-head"> |
52 | | - <button class="instructions-selector font13-reg-gray" ng-click="showInstructions()">Instructions</button> |
53 | | - <button class="instructions-selector font13-reg-gray" ng-click="showOutput()">Output</button> |
54 | | - </div> |
55 | | - <hr> |
56 | | - <show-output ng-hide="showOutputShow"></show-output> |
57 | | - <show-instructions ng-hide="showInstructionsShow"></show-instructions> |
58 | | - </div> |
59 | | - <div class="kata-right" ng-style='kataStyle'> |
60 | | - <div class="solution-div font14-lit-gray"> |
61 | | - <div class="solutions-header"> |
62 | | - <p>Solution:</p> |
63 | | - <button value='small' ng-click="kataStyle={'width':'40vw'}; instructionStyle={'width':'60vw'}; allGone={'height':'100px'}">small</button> |
64 | | - <button value='medium' ng-click="kataStyle={'width':'60vw'}; instructionStyle={'width':'40vw'}; allGone={'height':'100px'}">medium</button> |
65 | | - <button value='large' ng-click="kataStyle={'width':'100vw','margin':'15px'}; instructionStyle={'display':'none'}; allGone={'height':'100px'}">large</button> |
66 | | - <button value='full-screen' ng-click="kataStyle={'width':'100vw','margin':'15px'}; instructionStyle={'display':'none'}; allGone={'display':'none'}; exampleGone={'display':'none'}">full screen</button> |
67 | | - </div> |
68 | | - <div ng-style="exampleGone" class='example'> |
69 | | - <textarea name="solution" id="solution-input" ng-init="solutionInput = 'var a = 1;'" ng-model="solutionInput"></textarea> |
70 | | - </div> |
71 | | - </div> |
72 | | - <div class="example-tests-div font14-lit-gray"> |
73 | | - <p>Example Tests:</p> |
74 | | - <textarea name="examples" id="example-input" ng-init="examplesInput = 'Test.assertEquals(a, 1);'" id="example-tests-input" |
75 | | - ng-model="examplesInput"></textarea> |
76 | | - <div class='button-div'> |
77 | | - <button ng-click="testExamples()" class="test-examples-button font12-reg-blue">RUN EXAMPLES</button> |
78 | | - <button ng-click="testSuite()" class="test-suite-button font12-reg-black"><i class="fa fa-caret-right fa-lg" style="margin-right: 2px" aria-hidden="true"></i>ATTEMPT</button> |
79 | | - </div> |
80 | | - </div> |
81 | | - </div> |
82 | | - </div> |
83 | | - </div> |
| 2 | + <div class="training-body"> |
| 3 | + <div class="training-top" ng-style='allGone'> |
| 4 | + <div class="kata-name-container"> |
| 5 | + <div class="kata-name-container-top"> |
| 6 | + <img src="./assets/imgs/5_kyu_icon.png" alt="Difficulty" id="difficulty-icon"> |
| 7 | + <h3 class="font16-reg" id="kata-name"> |
| 8 | + Name of Kata |
| 9 | + </h3> |
| 10 | + </div> |
| 11 | + <div class="kata-stats"> |
| 12 | + <p>Here's where stats go</p> |
| 13 | + <p>Here's where stats go</p> |
| 14 | + <p>Here's where stats go</p> |
| 15 | + </div> |
| 16 | + </div> |
| 17 | + <!--End kata-name-container div--> |
| 18 | + <div class="selection-div"> |
| 19 | + <select class="language-select-dropdown select-dropdown" ng-init="selectedLanguage = languages[0]" ng-model="selectedLanguage" |
| 20 | + ng-options="x for x in languages"> |
| 21 | + |
| 22 | + </select> |
| 23 | + <select class="language-version-select-dropdown select-dropdown" ng-init="selectedVersion = versions[0]" ng-model="selectedVersion" |
| 24 | + ng-options="x for x in versions"> |
| 25 | + |
| 26 | + </select> |
| 27 | + </div> |
| 28 | + <div class="assorted-options"> |
| 29 | + <div class="view-options">Here's where view options go</div> |
| 30 | + <div class="view-options">Here's where view options go</div> |
| 31 | + <div class="view-options">Here's where view options go</div> |
| 32 | + </div> |
| 33 | + </div> |
| 34 | + <div class="kata"> |
| 35 | + <!-- <div class="instructions"> |
| 36 | + <div class="instructions-head"> |
| 37 | + <button class="instructions-selector font13-reg-gray">Instructions</button> |
| 38 | + <button class="instructions-selector font13-reg-gray">Output</button> |
| 39 | + </div> |
| 40 | + <hr> |
| 41 | + <h2 class="font20-reg">Name of Kata</h2> |
| 42 | + <div> |
| 43 | + <p>Here's where the instructions go. We have to think about how to present code samples.</p> |
| 44 | + <div ng-repeat="test in output"> |
| 45 | + <p>{{test.test}}</p> |
| 46 | + <p>{{test.result}}</p> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + </div> --> |
| 50 | + <div class="instructions" ng-style="instructionStyle"> |
| 51 | + <div class="instructions-head"> |
| 52 | + <button class="instructions-selector font13-reg-gray" ng-click="showInstructions()">Instructions</button> |
| 53 | + <button class="instructions-selector font13-reg-gray" ng-click="showOutput()">Output</button> |
| 54 | + </div> |
| 55 | + <hr> |
| 56 | + <show-output ng-hide="showOutputShow"></show-output> |
| 57 | + <show-instructions ng-hide="showInstructionsShow"></show-instructions> |
| 58 | + </div> |
| 59 | + <div class="kata-right" ng-style='kataStyle'> |
| 60 | + <div class="solution-div font14-lit-gray"> |
| 61 | + <div class="solutions-header"> |
| 62 | + <p>Solution:</p> |
| 63 | + <button value='small' ng-click="kataStyle={'width':'40vw'}; instructionStyle={'width':'60vw'}; allGone={'height':'100px'}">small</button> |
| 64 | + <button value='medium' ng-click="kataStyle={'width':'60vw'}; instructionStyle={'width':'40vw'}; allGone={'height':'100px'}">medium</button> |
| 65 | + <button value='large' ng-click="kataStyle={'width':'100vw','margin':'15px'}; instructionStyle={'display':'none'}; allGone={'height':'100px'}">large</button> |
| 66 | + <button value='full-screen' ng-click="kataStyle={'width':'100vw','margin':'15px'}; instructionStyle={'display':'none'}; allGone={'display':'none'}; exampleGone={'display':'none'}">full screen</button> |
| 67 | + </div> |
| 68 | + <div ng-style="exampleGone" class='example'> |
| 69 | + <textarea name="solution" id="solution-input" ng-init="solutionInput = 'var a = 1;'" ng-model="solutionInput"></textarea> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + <div class="example-tests-div font14-lit-gray"> |
| 73 | + <p>Example Tests:</p> |
| 74 | + <div> |
| 75 | + <textarea name="examples" id="example-input" ng-init="examplesInput = 'Test.assertEquals(a, 1);'" id="example-tests-input" ng-model="examplesInput"></textarea> |
| 76 | + </div> |
| 77 | + <div class='button-div'> |
| 78 | + <button ng-click="testExamples()" class="test-examples-button font12-reg-blue">RUN EXAMPLES</button> |
| 79 | + <button ng-click="testSuite()" class="test-suite-button font12-reg-black"><i class="fa fa-caret-right fa-lg" style="margin-right: 2px" aria-hidden="true"></i>ATTEMPT</button> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + </div> |
| 84 | + </div> |
84 | 85 | </section> |
0 commit comments