-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (67 loc) · 3.5 KB
/
index.html
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
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rune Combiner</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">
<link rel="stylesheet" href="css/styles.min.css">
</head>
<body>
<div id="app">
<div class="entry">
<input v-model="search" placeholder="Search runes or runewords by name" class="rune-search" v-bind:class="{ hidden: bRunewords, show: bRunes }">
<input v-model="filterune" placeholder="Search runewords by runes name separated by an space" class="rune-search" v-bind:class="{ hidden: bRunes, show: bRunewords }">
<div class="filters">
<input type="radio" id="runes" value="Runes" v-model="picked" v-on:click="displayRunes">
<label for="runes">Runes</label>
<input type="radio" id="runewords" value="Runewords" v-model="picked" v-on:click="displayRunewords">
<label for="runewords">Runewords</label>
<input type="radio" id="all" value="all" v-model="picked" v-on:click="displayAll" checked>
<label for="all">All</label>
</div>
<div class="filters">
<input type="checkbox" value="true" v-model="searchBy" v-on:click="byRunewords">
<label for="runewords">Search runewords by rune name</label>
</div>
</div>
<ul>
<li v-for="runeword in runewords | filterBy search in 'name' | filterBy filterune in 'combinationOrder'" class="rune-box" v-bind:class="{ hidden: dRunes, show: dAll }" v-cloak>
<p class="rune-sub">Runeword</p>
<p><b class="rune-name " v-cloak>{{ runeword.name }}</b></p>
<div v-html="runeword.image" class="rune-combination-box"></div>
<p v-cloak>{{ runeword.combinationOrder }}</p>
<p v-cloak>{{ runeword.requiredItems }}</p>
<div class="rune-prop-box runeword-prop-box">
<ul class="rune-prop">
<li v-cloak>{{ runeword.requiredLevel }}</li>
<li v-for="properties in runeword " v-cloak>{{runeword.properties[$index]}}</li>
</ul>
</div>
</li>
<li v-for="rune in runes | filterBy search in 'name'" class="rune-box" v-bind:class="{ hidden: dRunewords, show: dAll }" v-cloak>
<p>
<div class="rune-img">
<div v-html="rune.image" class="rune-inside" v-cloak></div>
</div>
</p>
<p class="rune-sub">Rune</p>
<p><b class="rune-name " v-cloak>{{ rune.name }}</b></p>
<div class="rune-prop-box ">
<h3>Weapon</h3>
<p class="rune-prop" v-cloak>{{ rune.properties.weapon }}</p>
<h3>Armor / Helm</h3>
<p class="rune-prop" v-cloak>{{ rune.properties.armorHelm }}</p>
<h3>Shield</h3>
<p class="rune-prop" v-cloak>{{ rune.properties.shield }}</p>
<h3>Required Level</h3>
<p class="rune-prop" v-cloak>{{ rune.requiredLevel }}</p>
</div>
</li>
</ul>
</div>
<audio src="./mp3/greetings.mp3" autoplay></audio>
<script src="js/vue.min.js"></script>
<script src="js/script.min.js"></script>
</body>
</html>