-
Notifications
You must be signed in to change notification settings - Fork 0
/
PokeDextr2.html
106 lines (88 loc) · 3.28 KB
/
PokeDextr2.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<title>Poke Dextr</title>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
body, html{
height: 100vh;
}
#listing{
overflow-y: scroll;
max-height: 70vh;
}
aside, article{
max-height: 25vh;
}
</style>
</head>
<body>
<nav class="teal nav-extended">
<div class="row" style="padding:10px">
<div class="col s12 m3">
<a href="#" class="brand-logo">Poke Dextr</a>
</div>
<div class="col input-field m6" >
<input placeholder="Token" style="border-radius:4px; color:white; background-color:#017c70" class="" id="tokenText" type="text">
<label for="last_name" style="color:white">Auth Token</label>
</div>
</div>
<div class="nav-content">
<ul class="tabs tabs-transparent">
<li class="tab"><a class="active" href="#list">Listing</a></li>
<li class="tab"><a href="#mypokemon">My Pokemon</a></li>
</ul>
</div>
</nav>
<div id="list" class="row">
<aside class="col s0 m3" >
<div class="collection" id="listing">
</div>
<div class="row">
<div class="col">
<button id="prevBtn" class="waves-effect waves-light btn-small" disabled onclick="prev()">Prev</button>
<button id="nextBtn" class="waves-effect waves-light btn-small" onclick="next()">Next</button>
</div>
</div>
</aside>
<article class="col m9" id="result">
</article>
</div>
<div id="mypokemon" class="row">
<table class="col m8 offset-m2">
<thead>
<tr>
<th>Name</th>
<th>Pokemon</th>
<th>Release</th>
</tr>
</thead>
<tbody id="myPokeLising">
</tbody>
</table>
</div>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content">
<h4 id="pkmn"></h4>
<div class="input-field col s12">
<input id="name" type="text" class="validate">
<label for="name">Pokemon Name</label>
</div>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">Save</a>
</div>
</div>
<script src="https://code.iconify.design/1/1.0.4/iconify.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="main.js"></script>
</body>
</html>