-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (30 loc) · 1.27 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
<!doctype HTML>
<html ng-app="mainApp" style="background-color: black">
<head>
<title>Portraits</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-animate.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-aria.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-messages.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angular_material/1.0.7/angular-material.min.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/angular_material/1.0.7/angular-material.min.css">
<script src="app.js"></script>
<style>
img {
width: 100%;
padding: 0;
margin: 0;
}
.ng-hide {
opacity: 0;
}
</style>
</head>
<body ng-controller="mainController" style="background: #000;">
<div layout="row" layout-wrap>
<div ng-repeat="subject in subjects track by $index" flex-gt-sm="25" flex="50">
<img ng-src="{{getSource(subject)}}" ng-mouseenter="subject.active = true;" ng-mouseleave="subject.active = false;" alt="{{subject.name}}">
</div>
</div>
</body>
</html>