-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
47 lines (47 loc) · 1.66 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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css" type="text/css" />
<script type="text/JavaScript" src="jquery-1.8.2.min.js"></script>
<script type="text/JavaScript" src="moment.min.js"></script>
<title>N.T.N.Y.</title>
</head>
<body>
<div id="googleWidget" class="widget">
<h1>Search</h1>
<div class="widgetContent">
<form id="searchGoogle">
<input type="text" id="searchGoogleBox" />
<input type="submit" id="searchGoogleButton" value="Search Google" />
</form>
<p><span id="siteKeywords"></span><small>[<a href="#" id="addSiteKeyword">Add a site keyword</a>]</small></p>
</div>
</div>
<div id="weeklyGoalsWidget" class="widget">
<h1>Weekly goals (<span id="weeklyGoalsWeek"></span>):</h1>
<div class="widgetContent">
<ul id="weeklyGoals">
</ul>
<form id="newWeeklyGoal">
<input type="text" id="newWeeklyGoalBox" />
<input type="submit" id="newWeeklyGoalButton" value="Add a new weekly goal" />
</form>
<div id="pageWeeks"><small><a href="#" id="viewPrevWeek">prev week</a> | <a href="#" id="viewNextWeek">next week</a></small></div>
</div>
</div>
<div id="carbsWidget" class="widget">
<h1>Daily carbs</h1>
<div class="widgetContent">
<canvas id="carbsChart" width="400" height="200"></canvas>
<div>
<form id="newCarbsData">
<select id="month"></select>/<select id="day"></select>/<select id="year"></select>
<input type="text" id="carbsTextBox" />
<input type="submit" id="carbsButton" value="Add carbs" />
</form>
</div>
</div>
</div>
<script type="text/JavaScript" src="chart.js"></script>
<script type="text/JavaScript" src="script.js"></script>
</body>