Some design work
This commit is contained in:
@@ -1,30 +1,34 @@
|
|||||||
div.create-run-form(ng-controller='CreateRunCtrl')
|
div.create-run-form(ng-controller='CreateRunCtrl')
|
||||||
h2 Create a lunch run
|
h2 Create a lunch run
|
||||||
form(name='form',novalidate,role='form')
|
form.row(name='form',novalidate,role='form')
|
||||||
div.form-group
|
fieldset.col-xs-12.col-sm-6.col-md-6.col-lg-6
|
||||||
label(for='name') Name your run
|
legend You and your run
|
||||||
input#name.form-control(type='text',ng-model='run.name',required)
|
div.form-group
|
||||||
div.form-group
|
label(for='name') Name your run
|
||||||
label(for='creatorName') Your name
|
input#name.form-control(type='text',ng-model='run.name',required)
|
||||||
input#creatorName.form-control(type='text',ng-model='run.creatorName',required)
|
div.form-group
|
||||||
div.form-group
|
label(for='creatorName') Your name
|
||||||
label(for='creatorEmail') Your email
|
input#creatorName.form-control(type='text',ng-model='run.creatorName',required)
|
||||||
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required)
|
div.form-group
|
||||||
div.form-group
|
label(for='creatorEmail') Your email
|
||||||
label Invitees
|
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required)
|
||||||
span(ng-repeat='i in run.invitees')
|
div.form-group
|
||||||
.form-group
|
label(for='restaurant') Restaurant
|
||||||
label Name
|
input#restaurant.form-control(type='text',ng-model='run.restaurant')
|
||||||
input.form-control(ng-model='i.name',required)
|
div.form-group
|
||||||
.form-group
|
label(for='menuUrl') Menu URL
|
||||||
label Email
|
input#menuUrl.form-control(type='url',ng-model='run.menuUrl')
|
||||||
input.form-control(ng-model='i.email',required)
|
fieldset.col-xs-12.col-sm-6.col-md-6.col-lg-6
|
||||||
button.btn.btn-default(ng-click='addInvitee()') Add
|
legend Who's going?
|
||||||
div.form-group
|
div.form-group
|
||||||
label(for='restaurant') Restaurant
|
label Invitees
|
||||||
input#restaurant.form-control(type='text',ng-model='run.restaurant')
|
span(ng-repeat='i in run.invitees')
|
||||||
div.form-group
|
.form-group
|
||||||
label(for='menuUrl') Menu URL
|
label Name
|
||||||
input#menuUrl.form-control(type='url',ng-model='run.menuUrl')
|
input.form-control(ng-model='i.name',required)
|
||||||
|
.form-group
|
||||||
|
label Email
|
||||||
|
input.form-control(ng-model='i.email',required)
|
||||||
|
button.btn.btn-default(ng-click='addInvitee()') Add
|
||||||
|
|
||||||
button.btn.btn-primary(ng-click="create(run)",ng-disabled="form.$invalid") Create
|
button.btn.btn-primary(ng-click="create(run)",ng-disabled="form.$invalid") Create
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "Plandium",
|
"name": "Prandium",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "Lunch runs made easy!",
|
"description": "Lunch runs made easy!",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
doctype html
|
doctype html
|
||||||
html(lang="en",ng-app="lunchApp")
|
html(lang="en",ng-app="lunchApp")
|
||||||
head
|
head
|
||||||
title Lunch
|
title Prandium
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(http-equiv="X-UA-Compatible",content="IE-edge")
|
meta(http-equiv="X-UA-Compatible",content="IE-edge")
|
||||||
meta(name="viewport",content="width=device-width,initial-scale=1")
|
meta(name="viewport",content="width=device-width,initial-scale=1")
|
||||||
@@ -20,7 +20,8 @@ html(lang="en",ng-app="lunchApp")
|
|||||||
#page
|
#page
|
||||||
#main-cell
|
#main-cell
|
||||||
header
|
header
|
||||||
h1 Lunch Run Me!
|
h1 Prandium
|
||||||
|
small ...where lunch runs are fun
|
||||||
|
|
||||||
div(ng-view)
|
div(ng-view)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user