-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
93 lines (69 loc) · 3.43 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
<!DOCTYPE html>
<html data-ng-app>
<head>
<meta charset="utf-8">
<link href='css/bootstrap.css' rel='stylesheet' />
<link href='css/cards.css' rel='stylesheet' />
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
</head>
<body>
<div id="container">
<aside>
<div id="sidebar">
<h1 class="title">Futurekit <h1>
<div class="col-md-12">
<input type="text" placeholder="Search..." class="form-control" ng-model="search.name">
<br>
<a href="#" class="btn btn-default btn-block">Agriculture</a>
<a href="#" class="btn btn-default btn-block">Biomedical</a>
<a href="#" class="btn btn-default btn-block">Displays</a>
<a href="#" class="btn btn-default btn-block">Electronics</a>
<a href="#" class="btn btn-default btn-block">Energy</a>
<a href="#" class="btn btn-default btn-block">Communications</a>
<a href="#" class="btn btn-default btn-block">Manufacturing</a>
<a href="#" class="btn btn-default btn-block">Materials</a>
<a href="#" class="btn btn-default btn-block">Military</a>
<a href="#" class="btn btn-default btn-block">Neuroscience</a>
<a href="#" class="btn btn-default btn-block">Robotics</a>
<a href="#" class="btn btn-default btn-block">Transport</a>
<a href="#" class="btn btn-default btn-block">Space</a>
<a href="#" class="btn btn-default btn-block">Social</a>
<a href="#" class="btn btn-default btn-block">Other</a>
</div>
</div>
</aside>
<div class="row" id="main-content">
<div class="col-sm-12 col-lg-12" data-ng-controller="chemCtrl">
<div class="col-md-4 col-sm-6" data-ng-repeat="card in periodic.cards | filter:search " >
<div class="card-container">
<div class="card">
<div class="front">
<div class="cover">
<img src="{{card.image}}">
</div>
<div class="content">
<div class="main">
<h3 class="name"> {{card.name}}</h3>
<p class="description">{{card.description}}</p>
</div>
</div>
</div> <!-- end front panel -->
<div class="back">
</div> <!-- end back panel -->
</div> <!-- end card -->
</div> <!-- end card-container -->
</div> <!-- end col sm 3 -->
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://code.jquery.com/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>
<script type="text/javascript" src="js/elements.js"></script>
</body>
<script>
function chemCtrl($scope) {
$scope.periodic = periodicData;
}
</script>
</html>