Header and footer styles, rework homepage
This commit is contained in:
@@ -1,52 +1,47 @@
|
||||
div.create-run-form(ng-controller='CreateRunCtrl')
|
||||
form(name='form',novalidate,role='form')
|
||||
form.container(name='form',novalidate,role='form')
|
||||
h1.text-center
|
||||
| start a new lunch run
|
||||
section.name
|
||||
.bg
|
||||
.container
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-info-sign
|
||||
.col-xs-10
|
||||
input#name.form-control(type='text',ng-model='run.name',required,placeholder='Name your run')
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-info-sign
|
||||
.col-xs-10
|
||||
input#name.form-control(type='text',ng-model='run.name',required,placeholder='Name your run')
|
||||
section
|
||||
.bg
|
||||
.container
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-user
|
||||
.col-xs-10
|
||||
input#creatorName.form-control(type='text',ng-model='run.creatorName',required,placeholder='Your name')
|
||||
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required,placeholder='Your email')
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-user
|
||||
.col-xs-10
|
||||
input#creatorName.form-control(type='text',ng-model='run.creatorName',required,placeholder='Your name')
|
||||
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required,placeholder='Your email')
|
||||
section
|
||||
.bg
|
||||
.container
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-map-marker
|
||||
.col-xs-10
|
||||
input#restaurant.form-control(type='text',ng-model='run.restaurant',placeholder='Restaurant')
|
||||
input#menuUrl.form-control(type='url',ng-model='run.menuUrl',placeholder='Menu URL')
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-map-marker
|
||||
.col-xs-10
|
||||
input#restaurant.form-control(type='text',ng-model='run.restaurant',placeholder='Restaurant')
|
||||
input#menuUrl.form-control(type='url',ng-model='run.menuUrl',placeholder='Menu URL')
|
||||
|
||||
section.invitees
|
||||
.bg
|
||||
.container
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-list
|
||||
.col-xs-10
|
||||
.invitee(ng-repeat='i in run.invitees')
|
||||
input.form-control(ng-model='i.name',required,placeholder='Name')
|
||||
input.form-control(ng-model='i.email',required,placeholder='Email')
|
||||
button.btn.btn-warning(ng-click='removeInvitee($index)')
|
||||
span.glyphicon.glyphicon-remove
|
||||
.row
|
||||
.col-xs-2.step-num
|
||||
span.glyphicon.glyphicon-list
|
||||
.col-xs-10
|
||||
.invitee(ng-repeat='i in run.invitees')
|
||||
input.form-control(ng-model='i.name',required,placeholder='Name')
|
||||
input.form-control(ng-model='i.email',required,placeholder='Email')
|
||||
button.btn.btn-warning(ng-click='removeInvitee($index)')
|
||||
span.glyphicon.glyphicon-remove
|
||||
|
||||
button.btn.btn-default(ng-click='addInvitee()')
|
||||
span.glyphicon.glyphicon-plus
|
||||
| Invite another!
|
||||
button.btn.btn-default(ng-click='addInvitee()')
|
||||
span.glyphicon.glyphicon-plus
|
||||
| Invite another!
|
||||
|
||||
section.submit
|
||||
.container
|
||||
button.btn.btn-lg.btn-primary.btn-block(ng-click="create(run)",ng-disabled="form.$invalid")
|
||||
| Create
|
||||
button.btn.btn-lg.btn-primary.btn-block(ng-click="create(run)",ng-disabled="form.$invalid")
|
||||
| Create
|
||||
|
||||
Reference in New Issue
Block a user