Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added moment.js and started working on a calendar wigdet for the home…

…page
  • Loading branch information...
commit 6c39c5ed95b63429d684c9fa515804edb393b63a 1 parent f1991b8
@kimballfrank kimballfrank authored
View
36 webapp/public/css/kitchenly.css
@@ -163,11 +163,11 @@ h4.result-title {
}
#navbar-main .navbar-form {
- margin-left: 5px;
+ margin-left: 4px;
}
#navbar-main .navbar-form div {
- margin-right: 3px;
+ margin-right: 4px;
}
#navbar-main #guest-number-picker .btn{
@@ -250,4 +250,36 @@ a:hover.social-link {
.rule {
margin-top: 32px;
border-top: #fff;
+}
+
+#calendar-picker {
+ width: 230px;
+ background: #fff;
+ box-sizing: border-box;
+}
+
+#calendar-picker th.buttons {
+
+}
+#calendar-picker .btn-group {
+ width: 100%;
+ margin: 0px;
+}
+
+#calendar-picker .btn-group .center-btn {
+ width: 120px;
+}
+
+#calendar-picker td, #calendar-picker th {
+ width: 32px;
+ height: 32px;
+ border-bottom: 1px solid #ccc;
+ padding: 0px;
+ text-align: center;
+ line-height: 32px;
+ color: #333;
+}
+
+#calendar-picker th {
+ padding-top: 2px;
}
View
72 webapp/views/index.jade
@@ -1,5 +1,6 @@
//h1= title
//p Deving #{title}
+
div.bg-img
header.site-header
div.container
@@ -28,6 +29,7 @@ div.page-contain.container
input(type="input", placeholder="When do you want to eat?")#location.span4
span.add-on
span.ss-icon.ss-standard date
+
div#guest-number-picker.btn-group.pull-left
button.btn.dropdown-toggle.btn-large(data-toggle="dropdown") 1 Guest
span.ss-icon.ss-standard.pull-right users
@@ -50,5 +52,71 @@ div.page-contain.container
a(href="#") 8 Guests
button.btn.btn-primary.btn-large.pull-left(type="submit") Search for Dinner
-
-
+
+ div#calendar-picker
+ a.btn(href='#', rel='popover', data-placement='bottom', data-original-title='popover title') popover button
+ table.table-bordered.table-striped.table-collapsed
+ thead
+ tr
+ th.buttons(colspan="7")
+ div.btn-group
+ a.btn
+ i.icon-chevron-left
+ a.btn.center-btn November 2012
+ a.btn
+ i.icon-chevron-right
+
+ tr
+ th Sun
+ th Mon
+ th Tue
+ th Wed
+ th Thu
+ th Fri
+ th Sat
+
+ tbody
+ tr
+ td.muted 29
+ td.muted 30
+ td.muted 31
+ td 1
+ td 2
+ td 3
+ td 4
+
+ tr
+ td 5
+ td 6
+ td 7
+ td 8
+ td 9
+ td 10
+ td 11
+
+ tr
+ td 12
+ td 13
+ td 14
+ td 15
+ td 16
+ td 17
+ td 18
+
+ tr
+ td 19
+ td 20
+ td 21
+ td 22
+ td 23
+ td 24
+ td 25
+ tr
+ td 26
+ td 27
+ td 28
+ td 29
+ td.muted 1
+ td.muted 2
+ td.muted 3
+
View
2  webapp/views/layout.jade
@@ -16,6 +16,8 @@ html.no-js
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="scripts/vendor/jquery/jquery-1.7.1.min.js"><\/script>')</script>
+ <script src="scripts/vendor/moment.js"></script>
+
<script src="scripts/vendor/ss-social.js"></script>
<script src="scripts/vendor/ss-standard.js"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.