forked from CodewarsClone/Codewars
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
68 lines (61 loc) · 2.86 KB
/
Copy pathhome.html
File metadata and controls
68 lines (61 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<section class="home" ng-init="init()">
<div class="home-up any-home-div">
<div class="next-challenge font16-bold">
<h3 id="your-next-challenge">Your Next Challenge...</h3>
<div class="challenge-selector-div">
<select class="home-dropdown" ng-init="selectedLanguage = languageOptions[0]" ng-model="selectedLanguage" ng-options="x for x in languageOptions"></select>
<select class="home-dropdown" ng-init="selectedProgress = progressOptions[0]" ng-model="selectedProgress" ng-options="x for x in progressOptions"></select>
</div>
<div class="challenge-buttons-div">
<a ui-sref="menu.training({kataid: randomKata.id})"><button id="train-button" class="home-button">Train</button></a>
<button id="skip-button" class="home-button" ng-click="getRandomKata()">Skip</button>
</div>
</div>
<div class="challenge-details">
<div class="challenge-details-top">
<img id="difficulty-icon" src="./assets/imgs/{{randomKata.kyu}}_kyu_icon.png" alt="{{randomKata.kyu}}kyu">
<h1 class="font16-reg">{{randomKata.name}}</h1>
</div>
<div class="random-kata-description-div">
<p class="font14-reg-gray" id="random-kata-description">{{randomKata.description}}</p>
</div>
<div class="taggg-tag-div">
<p class="font10-reg-gray" id="taggg-tag">Here's where tags go</p>
</div>
</div>
</div> <!--END OF HOME-UP -->
<div class="ads any-home-div">
<p>codewars red logo</p>
<div class="adsss-right">
<h6 class="font16-reg-efefef">Upgrade To Clonewars Red!</h6>
<p class="font14-reg-efefef">Support Clonewars and get some fancy upgrades like Pro Stats, Head-to-head comparisons, No ads, Stream Output and more.</p>
<a ui-sref="https://www.codewars.com/subscribe" target="_blank"><button id="learn-about-red">Learn About Red</button></a>
</div>
</div> <!--END OF ADS-->
<div class="allies any-home-div">
<div style="display:flex; align-items: center;">
<img class="allies-icon" src="./assets/imgs/allies_icon.png" alt="alliesIcon">
<p class="font16-bold">Allies</p>
</div>
<p class="font14-reg">You are automatically given an allegiance with anyone who is in the same clan as you. You can also become allies with other warriors by following each other or inviting new warriors to join.</p>
<div class="list-of-allies">
<table class="allies-list-header">
<tr>
<th>Position</th>
<th>User</th>
<th>Clan</th>
<th>Honor</th>
</tr>
<tr ng-repeat="user in users">
<p>{{user.position}}</p>
<p>{{user.name}}</p>
<p>{{user.clan}}</p>
<p>{{user.honor}}</p>
</tr>
</table>
</div>
</div> <!--END OF ALLIES-->
<div class="discourse">
<p>Wow, what intelligent discourse.</p>
</div> <!--END OF DISCOURSE-->
</section>