-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (89 loc) · 4.07 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
94
<!DOCTYPE html>
<html lang="en" ng-app="whineApp">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Whine Service</title>
<base href="/">
<!-- angular -->
<script type="text/javascript" src="bower_components/angular/angular.js"></script>
<!-- angular animate -->
<script type="text/javascript" src="bower_components/angular-animate/angular-animate.js"></script>
<!-- angular resource -->
<script type="text/javascript" src="bower_components/angular-resource/angular-resource.js"></script>
<!-- custom magic -->
<script type="text/javascript" src="app.js"></script>
<!-- bootstrap -->
<link rel="stylesheet" type="text/css" href="bower_components/bootstrap-css-only/css/bootstrap.css">
<!-- animate.css -->
<link rel="stylesheet" href="bower_components/animate.css/animate.css">
<!-- all my css love -->
<link rel="stylesheet" href="styles.css">
<!-- Google Fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'>
</head>
<body ng-controller="WineCtrl">
<div class="container app-box">
<header class="page-header text-center">
<h1>😠 Whine Service 🍷</h1>
</header>
<!-- START OF SELECTOR DIV -->
<div ng-hide="showFirst" class="text-center">
<div class="intro text-center">Go ahead. Get it off your chest.</div>
My
<select name="nounSelect" ng-model="data.nounSelect" class="dropdown">
<option value="">CHOOSE ONE</option>
<option value="pet">pet</option>
<option value="favorite sweater">favorite sweater</option>
<option value="code">code</option>
<option value="crush">crush</option>
<option value="partner">partner</option>
<option value="hero">hero</option>
<option value="knee">knee</option>
<option value="mother">mother</option>
<option value="laptop">laptop</option>
<option value="real estate broker">real estate broker</option>
<option value="BFF">BFF</option>
<option value="life">life</option>
<option value="imaginary friend">imaginary friend</option>
</select>
<select name="verbSelect" ng-model="data.verbSelect" class="dropdown">
<option value="">CHOOSE ONE</option>
<option value="hates Star Trek">Hates Star Trek</option>
<option value="can't even">can't even</option>
<option value="doesn't know I exist">doesn't know I exist</option>
<option value="just crashed">just crashed</option>
<option value="can't buy me love">can't buy me love</option>
<option value="doesn't support my life goals">doesn't support my life goals</option>
<option value="forgot my birthday again">forgot my birthday again</option>
<option value="talks about me behind my back">talks about me behind my back</option>
<option value="ate all the ice cream">ate all the ice cream</option>
<option value="has awful taste in movies">has awful taste in movies</option>
<option value="listens to a lot of Miley Cyrus">listens to a lot of Miley Cyrus</option>
<option value="doesn't value my opinion">doesn't value my opinion</option>
<option value="wants to reconsider our relationship">wants to reconsider our relationship</option>
</select>
<a href="#" class="btn btn-primary" ng-click="showNext = !showNext; showFirst = !showFirst" ng-class="{ active: showNext }">Whine</a>
</div>
<!-- END OF SELECTOR DIV -->
<div ng-show="showNext">
<div class="whine-body">
<h2 class="repeat-whine">My {{data.nounSelect}} {{data.verbSelect}}.</h2>
</div>
<div id="platitude" class="whine-body">
{{platitude}}
</div>
<div id="have-glass" class="whine-body">
Here, have a glass of {{wine}}.
</div>
<div id="description" class="whine-body">
This {{describe}} wine with hints of {{hintOf1}} and {{hintOf2}} will make you forget all about your {{data.nounSelect}}.
</div>
<div class="text-center">
<button id="whine-again" class="btn btn-primary" ng-click="reload()">Whine Again</button>
</div>
</div>
</div>
</body>
</html>