-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (86 loc) · 3.58 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
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
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Find your favorite Pokemons !</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap & jQuery & Chosen -->
<script src="js/vendor/jquery-1.11.2.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<!-- Load the AngularJS library -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular.min.js"></script>
<script src="https://code.angularjs.org/1.4.9/angular-resource.js"></script>
<!-- Chosen files -->
<script src="js/vendor/angular-chosen/dist/chosen.jquery.js"></script>
<script src="js/vendor/angular-chosen/dist/angular-chosen.min.js"></script>
<link rel="stylesheet" href="js/vendor/angular-chosen/chosen-spinner.css">
<link rel="stylesheet" href="js/vendor/angular-chosen/chosen.css">
<!-- Load my AngularJS files -->
<script src="js/app.js"></script>
<script src="js/filters.js"></script>
<script src="js/factories.js"></script>
<script src="js/controllers.js"></script>
<script src="js/services.js"></script>
<!-- CSS files -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<!-- ??? -->
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body ng-app="app" ng-controller="displayPokemon">
<!-- Red Part -->
<div class="row pokeRow">
<!-- Upper Left GIF -->
<div class="col-md-4 hidden-sm hidden-xs colCell"
style="background: url({{pokemon.sprite}}) no-repeat center; background-size: contain;">
</div>
<!-- Search Form -->
<div id="searchPokemon" class="col-md-4 col-xs-12 colCell" ng-controller="searchPokemon">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<select chosen
class="form-control"
id="pokemonList"
data-placeholder="Choose a pokemon !"
no-results-text="'Could not find any pokemons :('"
ng-change="go()"
ng-model="chosedPokemon"
ng-options="p as (p.name | titleCase) for p in pokemonList | filter:searchInput">
<option ng-cloak>{{p.name}}</option>
<option disabled></option>
</select>
</div>
</div>
</div>
</div>
<!-- Upper Right GIF -->
<div class="col-md-4 hidden-sm hidden-xs colCell"
style="background: url({{pokemon.sprite}}) no-repeat center; background-size: contain;">
</div>
</div>
<!-- White part -->
<div class="row pokeRow">
<!-- Bottom Left GIF -->
<div class="col-md-4 hidden-sm hidden-xs colCell"
style="background: url({{pokemon.sprite}}) no-repeat center; background-size: contain;">
</div>
<!-- Pokemon Info -->
<div id="pokemonInfo" class="col-md-4 colCell" >
<div pokedex></div>
</div>
<!-- Bottom Right GIF -->
<div class="col-md-4 hidden-sm hidden-xs colCell"
style="background: url({{pokemon.sprite}}) no-repeat center; background-size: contain;">
</div>
</div>
<!-- /container -->
</body>
</html>