mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
added basic sortable to workout creation
This commit is contained in:
@@ -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")
|
||||
@@ -2,7 +2,6 @@
|
||||
html
|
||||
head
|
||||
title BodyREP - #{title}
|
||||
link(rel='stylesheet', '/stylesheets/style.css')
|
||||
include scripts
|
||||
block additionalscripts
|
||||
body
|
||||
|
||||
@@ -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')
|
||||
Reference in New Issue
Block a user