diff --git a/.meteor/packages b/.meteor/packages
index 7c7d0dc..a77b3d2 100644
--- a/.meteor/packages
+++ b/.meteor/packages
@@ -30,3 +30,5 @@ aldeed:autoform
standard-minifier-css
standard-minifier-js
yogiben:autoform-file
+tsega:bootstrap3-datetimepicker
+drewy:autoform-datetimepicker
diff --git a/.meteor/versions b/.meteor/versions
index 7414f16..3d70a57 100644
--- a/.meteor/versions
+++ b/.meteor/versions
@@ -51,6 +51,7 @@ ddp-rate-limiter@1.0.2
ddp-server@1.2.4
deps@1.0.10
diff-sequence@1.0.3
+drewy:autoform-datetimepicker@1.0.666666
ecmascript@0.4.1
ecmascript-runtime@0.2.8
ejson@1.0.9
@@ -119,6 +120,7 @@ standard-minifier-js@1.0.4
templating@1.1.7
templating-tools@1.0.2
tracker@1.0.11
+tsega:bootstrap3-datetimepicker@4.17.37_1
twbs:bootstrap@3.3.6
ui@1.0.9
underscore@1.0.6
diff --git a/SpicMacay.jpg b/SpicMacay.jpg
new file mode 100644
index 0000000..183e9ea
Binary files /dev/null and b/SpicMacay.jpg differ
diff --git a/client/eventList.html b/client/eventList.html
index 0ed092b..6ee80a4 100644
--- a/client/eventList.html
+++ b/client/eventList.html
@@ -1,50 +1,20 @@
-
Upcoming Events
+ Upcoming Events
-
+ {{#each events}}
-
-
-
-
-
-
+ {{/each}}
-
diff --git a/client/main.js b/client/main.js
index f8675aa..42faed0 100644
--- a/client/main.js
+++ b/client/main.js
@@ -56,7 +56,8 @@ Template.eventList.helpers({
date = Session.get("current_date");
date = Date.parse(date);
date = date.toString();
- eventList = Events.find({startTime: {$gt: date}}, {"sort" : {'startTime':1}} );
+ eventList = Events.find({});
+
return eventList;
}
});
diff --git a/event.css b/event.css
new file mode 100644
index 0000000..8e1e3bd
--- /dev/null
+++ b/event.css
@@ -0,0 +1,78 @@
+#col-1{
+ border: 2px solid red;
+}
+.jumbotron{
+ text-align: center;
+ background-color:#23282D;
+ color: white;
+ height: 350px;
+ background-image: url('SpicMacay.jpg');
+ background-size: 100% 100%;
+}
+
+.row{
+ left: 0px;
+}
+
+.image{
+ position: absolute;
+ top: 0px;
+ opacity: 0.5;
+
+}
+
+#b1{
+ position: absolute;
+ background-color: #708090;
+ border-radius: 8px;
+ top: 250px;
+ left: 570px;
+ color: white;
+ width: 150px;
+ height: 40px;
+ z-index: 1;
+}
+
+#img{
+ width:400px;
+ height: 200px;
+}
+
+#b1:hover{
+ background-color: white;
+ box-shadow: 0px 4px 4px;
+ color: black;
+}
+
+#detail{
+ background-color: #2F4F4F;
+ border-radius: 10px;
+ color: white;
+}
+
+#overview{
+ background-color: #2F4F4F;
+ border-radius:5px;
+ color: white;
+ height: 200px;
+
+}
+
+
+
+.col-md-3{
+ left: 100px;
+ margin-left: 5px;
+ margin-top: 40px;
+}
+
+.col-md-4{
+ background-color: #2F4F4F;
+ border-radius:5px;
+ color: white;
+ height: 300px;
+ left: 140px;
+ margin-left: 5px;
+ margin-top: 40px;
+ margin-bottom: 20px;
+}
diff --git a/event.html b/event.html
new file mode 100644
index 0000000..e1ab3a5
--- /dev/null
+++ b/event.html
@@ -0,0 +1,62 @@
+
+
+
+ EVENT one
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
About
+
Event Owner: Team .EXE
+
+
+
+
Details
+
+
+ - Coding event
+
+ - Exiting Prices
+
+
+
+
+
OverView
+
Started On : hh:mm
+
Closes On : hh:mm
+
Location : Auditorium
+
+
+
+
+
+
Detailed Description
+
+
+
+
+
+
+
+
+
+
+
diff --git a/shared/main.js b/shared/main.js
new file mode 100644
index 0000000..f4467f7
--- /dev/null
+++ b/shared/main.js
@@ -0,0 +1,15 @@
+Meteor.methods({
+ addEvent: function(newEvent){
+ user = Meteor.users.findOne({_id:Meteor.userId()});
+ if (user.emails){
+ if (Meteor.userId()){
+ newEvent.startTime = Date.parse(newEvent.startTime);
+ newEvent.endTime = Date.parse(newEvent.endTime);
+ newEvent.author = Meteor.userId();
+ Events.insert(newEvent);
+ }
+ } else {
+ alert("You are not authorized to post an Event");
+ }
+ }
+});