Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<!doctype html>
<html lang="en" ng-app="myPokedex">
<head>
<meta charset="utf-8">
<title>National Dex</title>
<link href="content/css/styles.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Cabin" rel="stylesheet">
<script src="app/lib/angular.min.js"></script>
<script src="app/app.js"></script>
</head>
<body>
<div ng-controller="PokedexController">
<header>
<img src="content/img/nationaldex_logo.png">
<h2>Filter Generation 1 Pokemon by type, or search for a specific Pokemon by name.</h2>
</header>
<div id="filterButtonsContainer">
<input type="text" ng-model="searchPokemon.name" placeholder="search for a Pokemon.." id="searchBar">
<div ng-repeat="checkbox in checkboxes" class="checkbox">
<input type="checkbox" ng-model="checkbox.value" id="{{checkbox.type}}Checkbox" class="defaultCheckboxStyles">
<label for="{{checkbox.type}}Checkbox" id="{{checkbox.type}}Label">{{checkbox.type}}</label>
</div>
</div>
<div class="tileContainerWrapper">
<ul class="tileContainer">
<li ng-show="filter(pokemon)" ng-repeat="pokemon in pokemonDatabase | orderBy: 'index' | filter:searchPokemon" ng-class="'tile'" style="background: linear-gradient(to left,{{pokemon.bgColor2}} 50%,{{pokemon.bgColor1}} 50%);">
<span class="displayNumber">#{{pokemon.displayNumber}}</span>
<img ng-src="{{pokemon.imgUrl}}">
<span class="pokemonName">{{pokemon.name}}</span>
</li>
</ul>
</div>
</div>
</body>
</html>