added basic sortable to workout creation

This commit is contained in:
2013-01-22 18:41:09 -05:00
parent f636d1812d
commit 30ed56b9ba
8 changed files with 44 additions and 26 deletions

View File

@@ -11,16 +11,6 @@ block content
li
label(for="name") Exercise Name<br />
input#name(name="name")
li
label(for="type") Exercise Type<br />
select#type(name="type")
option(value='notselected') Select One
option(value='freeweights') Free Weights
option(value='machine') Exercise Machines
option(value='bodyweight') Bodyweight
option(value='kettlebells') Kettlebells
option(value='cardio') Cardio
li
label(for="type") Exercise Description<br />
input#description(name="description", class="needsnumber")
@@ -36,9 +26,20 @@ block content
- }
li
label(for="type") Keywords<br />
select#type(name="keywords", multiple="multiple")
option(value='Free Weights') Free Weights
option(value='Exercise Machine') Exercise Machines
option(value='Bodyweight') Bodyweight
option(value='Kettlebells') Kettlebells
option(value='Cardio') Cardio
li
label(for="type") Alternatives<br />
li
label(for="type") Datafields<br />
label(for="datafields") Datafields<br />
select#type(name="datafields", multiple="multiple")
option(value='Reps') Reps
option(value='Weight') Weight
option(value='Time') Time
option(value='Distance') Distance
li
input(type="submit", value="Create")

View File

@@ -2,7 +2,6 @@
html
head
title BodyREP - #{title}
link(rel='stylesheet', '/stylesheets/style.css')
include scripts
block additionalscripts
body

View File

@@ -2,6 +2,9 @@ script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js')
script(src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js')
script(src='http://jzaefferer.github.com/jquery-validation/jquery.validate.js')
script(src='/javascripts/scripts.js')
//script(src='/javascripts/livevalidation_standalone.compressed.js')
//link(rel='stylesheet', href='/stylesheets/smoothness/jquery-ui-1.8.20.custom.css',type='text/css' )
link(rel='stylesheet', href='/stylesheets/redmond/jquery-ui-1.10.0.custom.css',type='text/css' )
link(rel='stylesheet', href='/stylesheets/style.css')