-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (58 loc) · 2.23 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
<!DOCTYPE html>
<html ng-app="charGenerator">
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.6/angular.min.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
<section id="generator" ng-controller="CharGeneratorController as generator">
<section id="head-row">
<div id="prev-head">
<button id="prev-head-btn" ng-click="generator.prev('head')">
<i class="fa fa-arrow-left"></i>
</button>
</div>
<div id="head">
<img src="{{generator.head.pics[generator.head.active]}}">
</div>
<div id="next-head">
<button id="next-head-btn" ng-click="generator.next('head')">
<i class="fa fa-arrow-right"></i>
</button>
</div>
</section>
<section id="body-row">
<div id="prev-body">
<button id="prev-body-btn" ng-click="generator.prev('body')">
<i class="fa fa-arrow-left"></i>
</button>
</div>
<div id="body">
<img src="{{generator.body.pics[generator.body.active]}}">
</div>
<div id="next-body">
<button id="next-body-btn" ng-click="generator.next('body')">
<i class="fa fa-arrow-right"></i>
</button>
</div>
</section>
<section id="legs-row">
<div id="prev-legs">
<button id="prev-legs-btn" ng-click="generator.prev('legs')">
<i class="fa fa-arrow-left"></i>
</button>
</div>
<div id="legs">
<img src="{{generator.legs.pics[generator.legs.active]}}">
</div>
<div id="next-legs">
<button id="next-legs-btn" ng-click="generator.next('legs')">
<i class="fa fa-arrow-right"></i>
</button>
</div>
</section>
</section>
</body>
</html>