Created
October 9, 2014 14:37
-
-
Save nelyj/a5efe983765a7c1c7cba to your computer and use it in GitHub Desktop.
index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<h1>Results: {{filtered.length}}</h1> | |
<table class="table table-striped"> | |
<tr> | |
<th></th> | |
<th> | |
<input placeholder="Search code" type="text" ng-model="sup_code"/> | |
</th> | |
<th><input placeholder="Search name" type="text" ng-model="name"/></th> | |
<th> | |
<select ng-model="round"> | |
<option value=" " selected>All</option> | |
<option value="1">1</option> | |
<option value="2">2</option> | |
<option value="3">3</option> | |
<option value="4">4</option> | |
<option value="5">5</option> | |
<option value="6">6</option> | |
<option value="7">7</option> | |
<option value="8">8</option> | |
<option value="9">9</option> | |
<option value="10">10</option> | |
<option value="11">11</option> | |
</select> | |
</th> | |
<th><input placeholder="Search country" type="text" ng-model="country"/></th> | |
<th> | |
<select type="text" ng-model="industry" > | |
<option value=" " selected>All</option> | |
<option value="E-commerce">E-commerce</option> | |
<option value="Education">Education</option> | |
<option value="Social Enterprise">Social Enterprise</option> | |
<option value="IT & Enterprise Software">IT & Enterprise Software</option> | |
<option value="Social Media/Social Network">Social Media/Social Network</option> | |
<option value="Mobile & Wireless">Mobile & Wireless</option> | |
</select> | |
</th> | |
<th> | |
<select type="text" ng-model="executive" > | |
<option value="null" selected>All</option> | |
<option value="KFK">KFK</option> | |
<option value="RCG">RCG</option> | |
<option value="PHB">PHB</option> | |
<option value="MP">MP</option> | |
</select> | |
</th> | |
<th></th> | |
</tr> | |
<tr> | |
<th>#</th> | |
<th>Code Sup</th> | |
<th>Name</th> | |
<th>Round</th> | |
<th>Country</th> | |
<th>Industry</th> | |
<th>Executive</th> | |
<th>Formalized</th> | |
</tr> | |
<tr ng-repeat="project in filtered = (projects | filter:{ sup_code: sup_code ,round: round, name: name, country: country, executive_account: executive, industry: industry }) | limitTo:25"> | |
<td>{{$index +1}}</td> | |
<td>{{project.sup_code}}</td> | |
<td><a href="/projects/{{project.slug}}">{{project.name}}</a></td> | |
<td>{{project.round}}</td> | |
<td>{{project.country}}</td> | |
<td>{{project.industry}}</td> | |
<td>{{project.executive_account}}</td> | |
<td>{{project.formalized || undefined}}</td> | |
</tr> | |
</table> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment