changed on server

This commit is contained in:
Dobie Wollert
2013-07-19 02:38:07 -04:00
parent 4ca472f2cb
commit 1c2ba2737d
9 changed files with 69 additions and 12 deletions

View File

@ -41,6 +41,8 @@ html(lang="en", ng-app="tags", ng-controller="tags.PageCtrl")
dl.dl-horizontal(ng-show='tag')
dt Client
dd  {{payload.tag.client.name}} ({{payload.tag.client.identifier}})
dt Client Device ID
dd  {{tag.clientDeviceId}}
dt Device
dd  {{tag.device}}
dt Make
@ -51,10 +53,14 @@ html(lang="en", ng-app="tags", ng-controller="tags.PageCtrl")
dd  {{tag.serialNumber}}
dt Purchase Date
dd  {{tag.purchaseDate}}
dt Warranty Expiration
dd  {{tag.deviceWarrantyExpiration}}
dt Test
dd  {{tag.test}}
dt Room #
dd  {{tag.roomNumber}}
dt PO Number
dd  {{tag.poNumber}}
a.btn.btn-primary(href='/auth', ng-show='tag')
| Edit Tag
@ -70,8 +76,10 @@ html(lang="en", ng-app="tags", ng-controller="tags.PageCtrl")
select(ng-model='client', required='required', ng-options='client._id as client.name + " (" + client.identifier + ")" for client in clients')
</select>
.control-group
label.control-label Client Device ID
.controls
input.text(ng-model='tag.clientDeviceId')
.control-group
label.control-label Device
@ -93,6 +101,11 @@ html(lang="en", ng-app="tags", ng-controller="tags.PageCtrl")
label.control-label Purchase Date
.controls
input.text(type='date', ng-model='tag.purchaseDate')
.control-group
label.control-label Device Warranty Expiration
.controls
input.text(type='date', ng-model='deviceWarrantyExpiration')
.control-group
label.control-label Test
.controls
@ -101,5 +114,11 @@ html(lang="en", ng-app="tags", ng-controller="tags.PageCtrl")
label.control-label Room #
.controls
input.text(ng-model='tag.roomNumber')
.control-group
label.control-label PO Number
.controls
input.text(ng-model='tag.poNumber')
.control-group
button.btn.btn-primary(ng-click='save()') Save