-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
105 lines (88 loc) · 3.85 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
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Re-Focus Application">
<meta name="author" content="Michael Sakamoto & Ito Matsuda">
<title>Re-Focus</title>
<!-- Bootstrap Base CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- FontAwesome CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Main Page CSS -->
<link type="text/css" href="css/style.css" rel="stylesheet">
<!-- Google Font API -->
<link href="https://fonts.googleapis.com/css?family=Reem+Kufi" rel="stylesheet">
</head>
<body>
<div class="container-fluid wrapper">
<div class="row">
<div class="col-xs-12" id="title">
<h1 class="text-center">Re-Focus.</h1>
</div>
</div>
<div class="col-xs-12 text-center" id="objective-section">
<h2>Give yourself a clear objective.</h2>
<hr/>
<form>
<input type="text" name="objective" id="objective"/>
<button id="objButton" class="btn btn-success">Next</button>
</form>
<p>Choosing a clear objective allows you to work efficiently.</p>
<p>The objective should be a small task that is an achievable part of a bigger goal.</p>
</div>
<div class="col-xs-12 text-center" id="next-step-section">
<h2>How will you start?</h2>
<hr/>
<form>
<input type="text" name="next-step" id="next-step">
<button id="howStartButton" class="btn btn-success">Next</button>
</form>
<p>Getting started is the hardest part.</p>
<p>Plan how you will start your task, and the task will be easier to complete. </p>
</div>
<div class="col-xs-12 text-center" id="current-point-section">
<h2>Where are you now?</h2>
<hr/>
<form>
<input type="text" name="current-point" id="current-point">
<button id="currentPntButton" class="btn btn-success">Next</button>
</form>
<p>Losing focus happens when your current focal point is lost.</p>
<p>Knowing where you are enables you to stay on track and mark your progress.</p>
</div>
<div class="col-xs-12 text-center" id="timer-section">
<h2> Let's get started. </h2>
<hr/>
<p id="first"><span class="summary">Your objective: </span> </p>
<p id="second"><span class="summary">Your starting plan: </span> </p>
<p id="third"><span class="summary">Where you are: </span> </p>
<hr/>
<h2> When would you like to re-focus? </h2>
<hr/>
<select id="timer" onchange="setTimer(this)">
<option value="short">In 15 Minutes</option>
<option value="medium">In 30 Minutes</option>
<option value="long">In 45 Minutes</option>
<option value="super-long">In 60 Minutes</option>
</select>
<button id="focusUpButton" class="btn btn-success">Re-Focus</button>
<h2></h2> <!-- how do i put a space here w/o h2 !-->
<!-- Display the remaining time span allows to be manipulated in js-->
<span class="timeDisplay">
<span id="timeMinutes">00</span>:<span id="timeSeconds">00</span>
</span>
</div>
</div>
<!-- jQuery -->
<script src="https://cdn.jsdelivr.net/jquery/3.1.1/jquery.min.js"></script>
<!-- Bootstrap JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Main JS -->
<script src="main.js"></script>
<!-- MomentJS (http://momentjs.com/) -->
<script src="https://cdn.jsdelivr.net/momentjs/2.15.0/moment.min.js"></script>
</body>
</html>