-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (29 loc) · 1.09 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
<!DOCTYPE html>
<html ng-app="plunker">
<head>
<meta charset="utf-8" />
<title>memory</title>
<script type="text/javascript" src="angular/angular.min.js"></script>
<script src="app.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body ng-controller="MainCtrl" class="container-fluid">
<script type="text/ng-template" id="/gomboc.html">
<div
style="width:100%; height:100%; background:url({{ item.notinplay ? 'pics/question.png' : item.src }}) center no-repeat; background-size:contain;">
<div
ng-show="item.found"
style="width:100%; height:100%; background:black; opacity:0.5" />
</div>
</script>
<div id="splash" ng-show="splash">
<button type="button" ng-click="init()"><span>Play</span></button>
</div>
<div id="wrapper">
<div id="doboz">
<gomboc ng-repeat="item in items" ng-click="katt(item)"></gomboc>
</div>
</div>
</body>
</html>