|
1 | 1 | <section class="solutions" ng-init="init()"> |
2 | | - |
3 | | - <!-- THIS IS IN HERE FROM WHEN I THOUGHT THE SOLUTIONS PAGE WOULD BE SPECIFIC TO THE USER. --> |
4 | | - <!-- <div class="solutions-upper-div any-solutions-div"> |
5 | | - <div class="solutions-upper-left"> |
6 | | - <img id="solutions-profile-pic" src="{{user.picture_url}}" alt="Here's where your face should be"> |
7 | | - </div> |
8 | | - <div class="solutions-upper-main"> |
9 | | - <div class="solutions-upper-upper"> |
10 | | - <img id="solutions-rank-icon" src="./assets/imgs/6_kyu_icon.png" alt="Rank: 6_kyu"> |
11 | | - <h2 class="font20-reg">{{user.username}}</h2> |
12 | | - <p class="font14-lit-gray">Honor</p> |
13 | | - </div> |
14 | | - <div class="solutions-upper-mid"> |
15 | | - <p class="font14-reg-efefef">Tons of info goes here</p> |
16 | | - </div> |
17 | | - <div class="solutions-upper-bottom"> |
18 | | - <button>View Profile Badges</button> |
19 | | - </div> |
20 | | - </div> |
21 | | - </div> END SOLUTIONS UPPER DIV--> |
22 | | - |
23 | | - <div class="solutions-main any-solutions-div"> |
24 | | - <div class="solutions-main-head"> |
25 | | - <img class="difficulty-icon" src="./assets/imgs/{{kataById.kyu}}_kyu_icon.png" alt="{{kataById.kyu}}_kyu"> |
26 | | - <p class="font17-reg">{{kataById.name}}</p> |
27 | | - </div> |
28 | | - <div class="all-solutions" ng-repeat="solution in kataSolutions track by $index"> |
29 | | - <div class="solution-username"> |
30 | | - <img class="solution-creator-icon" src="./assets/imgs/creator_icon.png" alt="user"> |
31 | | - <p class="font15-reg">{{solution.username}}</p> |
32 | | - </div> |
33 | | - <div class="solutions-page-solutions-div"> |
| 2 | + |
| 3 | + <!-- THIS IS IN HERE FROM WHEN I THOUGHT THE SOLUTIONS PAGE WOULD BE SPECIFIC TO THE USER. --> |
| 4 | + <!-- <div class="solutions-upper-div any-solutions-div"> |
| 5 | + <div class="solutions-upper-left"> |
| 6 | + <img id="solutions-profile-pic" src="{{user.picture_url}}" alt="Here's where your face should be"> |
| 7 | + </div> |
| 8 | + <div class="solutions-upper-main"> |
| 9 | + <div class="solutions-upper-upper"> |
| 10 | + <img id="solutions-rank-icon" src="./assets/imgs/6_kyu_icon.png" alt="Rank: 6_kyu"> |
| 11 | + <h2 class="font20-reg">{{user.username}}</h2> |
| 12 | + <p class="font14-lit-gray">Honor</p> |
| 13 | + </div> |
| 14 | + <div class="solutions-upper-mid"> |
| 15 | + <p class="font14-reg-efefef">Tons of info goes here</p> |
| 16 | + </div> |
| 17 | + <div class="solutions-upper-bottom"> |
| 18 | + <button>View Profile Badges</button> |
| 19 | + </div> |
| 20 | + </div> |
| 21 | + </div> END SOLUTIONS UPPER DIV--> |
| 22 | + |
| 23 | + <div class="solutions-main any-solutions-div"> |
| 24 | + <div class="solutions-main-head"> |
| 25 | + <img class="difficulty-icon" src="./assets/imgs/{{kataById.kyu}}_kyu_icon.png" alt="{{kataById.kyu}}_kyu"> |
| 26 | + <p class="font17-reg">{{kataById.name}}</p> |
| 27 | + </div> |
| 28 | + <div class="all-solutions" ng-repeat="solution in kataSolutions track by $index"> |
| 29 | + <div class="solution-username"> |
| 30 | + <img class="solution-creator-icon" src="./assets/imgs/creator_icon.png" alt="user"> |
| 31 | + <p class="font15-reg">{{solution.username}}</p> |
| 32 | + </div> |
| 33 | + <div class="solutions-page-solutions-div"> |
34 | 34 | <textarea class="solution-text" id="{{$index}}" codemirror-directive> |
35 | 35 | </textarea> |
36 | | - </div> |
37 | | - <div class="solutions-vote-buttons-div"> |
38 | | - <div class="solution-satisfaction-div"> |
39 | | - <img class="solution-stats-icon .font14-reg-gray" src="./assets/imgs/satisfaction_icon.png" /> |
40 | | - <p class="solution-stats-info">Considered best practice by {{solution.satisfaction}}% of {{solution.votes}} votes</p> |
41 | | - </div> |
42 | | - <button class="vote-button" ng-click="voteSolution(solution.id, true)"> |
43 | | - <i class="fa fa-thumbs-up" style="color: #efefef; margin: 0 10px 0 5px;" aria-hidden="true"></i> |
44 | | - <p class="font14-reg-efefef" style="margin: 0 5px 0 0">Best Practice</p> |
45 | | - </button> |
46 | | - <button class="vote-button" ng-click="voteSolution(solution.id, false)"> |
47 | | - <i class="fa fa-thumbs-down" style="color: #efefef; margin: 0 10px 0 5px;" aria-hidden="true"></i> |
48 | | - <p class="font14-reg-efefef" style="margin: 0 5px 0 0">No Good</p> |
49 | | - </button> |
50 | | - </div> |
51 | | - <hr class="solutions-bottom-border-hr"> |
52 | | - </div> |
53 | | - </div> <!--END SOLUTIONS MAIN--> |
| 36 | + </div> |
| 37 | + <div class="solutions-vote-buttons-div"> |
| 38 | + <div class="solution-satisfaction-div"> |
| 39 | + <img class="solution-stats-icon .font14-reg-gray" src="./assets/imgs/satisfaction_icon.png"/> |
| 40 | + <p class="solution-stats-info">Considered best practice by {{solution.satisfaction}}% of {{solution.votes}} votes</p> |
| 41 | + </div> |
| 42 | + <div class="solution-button-wrapper"> |
| 43 | + <button class="vote-button" ng-click="voteSolution(solution.id, true)"> |
| 44 | + <i class="fa fa-thumbs-up" style="color: #efefef; margin: 0 10px 0 5px;" aria-hidden="true"></i> |
| 45 | + <p class="font14-reg-efefef" style="margin: 0 5px 0 0">Best Practice</p> |
| 46 | + </button> |
| 47 | + <button class="vote-button" ng-click="voteSolution(solution.id, false)"> |
| 48 | + <i class="fa fa-thumbs-down" style="color: #efefef; margin: 0 10px 0 5px;" aria-hidden="true"></i> |
| 49 | + <p class="font14-reg-efefef" style="margin: 0 5px 0 0">No Good</p> |
| 50 | + </button> |
| 51 | + </div> |
| 52 | + </div> |
| 53 | + <hr class="solutions-bottom-border-hr"> |
| 54 | + </div> |
| 55 | + </div> <!--END SOLUTIONS MAIN--> |
54 | 56 |
|
55 | 57 |
|
56 | 58 | </section> |
0 commit comments