little man

This commit is contained in:
2013-02-12 08:43:15 -05:00
parent 55aec24710
commit eb6b08b233
24 changed files with 4215 additions and 0 deletions

26
views/users/sidebar.jade Normal file
View File

@@ -0,0 +1,26 @@
h2= user.name
div#userphoto
User Pictures
- if (session.user)
- if (session.user.name === requested)
h2 Private View
div
button.recent-link(value= encodeURIComponent(session.user.name) ) Recent workouts
div
button.newex-link(value="/workouts/new") Create new workout
div
button Placeholder1
div
button Palceholder2
- else
h2 Public View
- if (session.user)
- if (session.user.is_admin === true)
div
h3 You're an Admin
button.map-link(value="/admin") Goto Admin Page

View File

@@ -0,0 +1,22 @@
h1 New workout
div#filters
h3 Filters
label Search
input#searchbox (type="text", placeholder="Type here....")
label Free Weights
input.filter(type="checkbox", checked=true, value="Free Weights")
label Bodyweight
input.filter(type="checkbox", checked=true, value="Bodyweight")
label Exercise Machines
input.filter(type="checkbox", checked=true, value='Exercise Machine')
label Kettlebells
input.filter(type="checkbox", checked=true, value='Kettlebells')
label Cardio
input.filter(type="checkbox", checked=true, value='Cardio')
div
object(data='/images/BlankBody.svg', id='BlankBodyFilter', type='image/svg+xml')
h3 Exercises (dynamically loaded from database)
ul#exerciselist
li Unpopulated