forked from tfleish/BucketList
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newIndex.html
161 lines (149 loc) · 7.68 KB
/
newIndex.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>BucketList</title>
<link rel="shortcut icon" href="http://web.mit.edu/~renminbi/Desktop/Public/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/newbucketList.css" type="text/css">
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script src="3rdparty/jquery_1.4.2/jquery_libraries/ui/jquery.ui.core.js"></script>
<script src="3rdparty/jquery_1.4.2/jquery_libraries/ui/jquery.ui.widget.js"></script>
<script src="3rdparty/jquery_1.4.2/jquery_libraries/ui/jquery.ui.mouse.js"></script>
<script src="3rdparty/jquery_1.4.2/jquery_libraries/ui/jquery.ui.draggable.js"></script>
<script type="text/javascript" src="js/newbucketList.js"></script>
<script type="text/javascript" src="js/Board.js"></script>
<script type="text/javascript" src="js/Bucket.js"></script>
<script type="text/javascript" src="js/Collaborator.js"></script>
<script type="text/javascript" src="js/Note.js"></script>
<script type="text/javascript" src="js/Paper.js"></script>
<script type="text/javascript" src="js/Sticky.js"></script>
<script type="text/javascript" src="js/Task.js"></script>
<script type="text/javascript" src="js/User.js"></script>
<script type="text/javascript" language="JavaScript">
var user;
var totalPapers;
var maxZ;
</script>
</head>
<body>
<div id="container">
<div id="dropDownBar" class='hidden'>
<div id="nameDropDown">
<input type="button" id="nameButton" value = "Alice Packer" class="menu_class" style="background-color:#bbfb66">
<ul name = "nameMenu" class="the_menu menu1">
<li onclick='accountScreen()'>My Account</li>
<li onclick='logout()'>Log Out</li>
</ul>
</input>
</div>
<div id="rightSideDropDowns">
<div id="alertDropDown">
<input type="button" id="alertButton" value = "My Alerts (1)" class="menu_class" style="background-color: #ffaaed">
<ul name = "alertMenu" class="the_menu menu2">
<li onclick="addBucketToPaper(0)"><b>My First Bucket</b></li>
<li onclick="addTaskToPaper(1, 0)">Task #3</li>
</ul>
</input>
</div>
<div id="myTasksDropDown">
<input type="button" id="tasksButton" value = "My Buckets" class="menu_class" style="background-color: #fcf589;">
<ul id = "tasksMenu" class="the_menu menu3">
<!--<li>
<div><img id="b0expand" class='expandButton' style='float:left' src="img/plus_green.gif" onclick="toggleAccordion(0)"></img></div>
<div onclick="addBucketToPaper(0)">My First Bucket</div>
<div id="b0accordion" class='hidden' style="position:absolute">
<input type="checkbox" style='float:left'></input><div onclick="addTaskToPaper(0, 0)"> Task #1</div>
<input type="checkbox" style='float:left'></input><div onclick="addTaskToPaper(0, 1)"> Task #2 </div>
</div>
</li>
<li>
<img id='b1expand' class='expandButton' style='float:left' src="img/plus_green.gif" onclick="toggleAccordion(1)"></img>
<div onclick="addBucketToPaper(1)">Another Bucket</div>
<div id="b1accordion" class='hidden' style="position:absolute">
<input type="checkbox" style='float:left'></input> <div onclick="addTaskToPaper(1, 0)"> Task #3</div>
<input type="checkbox" style='float:left'></input> <div onclick="addTaskToPaper(1, 1)"> Task #4</div>
</div>
</li>-->
</ul>
</input>
</div>
</div>
</div>
<div id="enterPaper" class="draggable paper">
<div id="welcomeHolder" class='tempscreen'>
<img src="img/nobucketLogo.gif" style="width: 450px; padding-top: 3%;"></img>
<div style="text-align: left; padding: 0px; font-size: 10pt;">
<div><div style='width: 10em; float: left;'>Email Address: </div><input id="usernameEnter" type="text"></input></div>
<div><div style='width: 10em; float: left;'>Password: </div><input id="passwordEnter" type="password"></input></div><br>
<div>
<button type="button" onclick="login()">Log in</button>
<button type = "button" style='float:right'>Forgot your password?</button>
<button type="button" style='float:right' onclick="createAccountScreen()">Need an account?</button>
</div>
</div>
</div>
<div id="enterScreen" class="hidden tempscreen">
<img src="img/nobucketLogo.gif" style="width: 450px; padding-top: 3%;"></img>
<div class='xbuttonPaper' onclick="closePaper('enterScreen')">x</div>
<div style="text-align: center; padding: 0px; font-size: 10pt;">
Log in was successful. Time to get to work! See a list of buckets by clicking on "My Buckets."
</div>
</div>
<div id="accountCreate" class='hidden tempscreen'>
<div style="padding-top: 0px; font-size: 10pt;">
<img src="img/nobucketLogo.gif" style="width: 250px; padding-top: 3%;"></img>
<h1 style='margin: 0px'>Please enter your information.</h1>
<div><div style='width: 10em; float: left;'>Name: </div> <input id="newNameEntry" type="text"></input></div>
<div><div style='width: 10em; float: left;'>Email Address: </div><input id='newEmail' type="text"></input></div>
<div><div style='width: 10em; float: left;'>Password: </div><input id='newPwd' type="password"></input></div>
<div><div style='width: 10em; float: left;'>Confirm Password: </div><input id='pwdconf' type="password"></input></div>
<div>
<button type="button" onclick="login()" style='float: left'>Create account and log in</button>
<button type="button" onclick="returnToLogin()" style='float: right'>Return to login screen</button>
</div>
</div>
</div>
<!--<div id="textHolder" class="hidden">
<div id="leftBox" style="width: 65%; float: left;">
<div id="topLeftBox" style="height: 10%; border-bottom: 1px solid black;">
<div>
<img style="float: left" id="bucketIcon" class='hidden icon' onclick='toggleBox()'></img>
</div>
<div>
<textarea class="h2" id="paperTitle" onkeyup="ifEnter('#paperTitle', event)"></textarea>
</div>
</div>
<div id="bottomLeftBox" style="height: 70%; border-right: 1px solid black;">
</div>
</div>
<div id="rightBox" style="width: 35%; float: right;">
<div id="topRightBox" style="height: 10%; border-bottom: 1px solid black;">
<div>
<h5 id="collabsTitle" style="float: left;"><b>Collaborators</b></h5>
</div>
<div>
<img src="img/plusButton.png" class="menu_class" id="addCollabButton" style="width: 20%; height: auto; float: right; padding-top: 0px; padding-bottom: 0px;">
<ul id = "collabsMenu" class="the_menu menu4" style="float: left;">
<li><textarea id="collabInput" class='new collab' onfocus='collabFocus()' onblur="collabBlur(0, 0)" onkeyup="ifEnter('#collabInput', event)">Enter name</textarea></li>
</ul>
</input>
</div>
</div>
<div id="bottomRightBox" style="height: 70%">
</div>
</div>
</div> -->
</div>
<div id="bottomBar" style="position:fixed; bottom: 14px; right: 23px;" class='hidden'>
<div id="clearButtonDiv" style="float: right;">
<input type="button" id="clearCompleted" value = "Clear Completed Tasks" class="menu_class" style="background-color: #23c3ff; width:auto;">
</div>
</div>
<div id="helpButtonDiv" style="float: left">
<img id="helpButton" onclick='help()' src="img/helpbutton.png"></img>
</div>
</div> <!-- END container -->
</body>
</html>