update jade

This commit is contained in:
Matteo Pagliazzi 2014-10-01 14:20:49 +02:00
parent fab04d5e19
commit 80042a7a64
5 changed files with 6 additions and 4 deletions

View file

@ -27,6 +27,7 @@
"icalendar": "git://github.com/lefnire/node-icalendar#master",
"js2xmlparser": "~0.1.2",
"lodash": "~2.4.1",
"jade": "~1.7.0",
"method-override": "~2.2.0",
"mongoose": "~3.8.17",
"moment": "~2.8.3",

View file

@ -1,4 +1,4 @@
doctype 5
doctype html
//html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keypress="{27:'castCancel()'}")
html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":applyingAction}', ui-keyup="{27:'castCancel()'}")
head

View file

@ -137,7 +137,8 @@ li(bindonce='list', bo-id='"task-"+task.id', ng-repeat='task in obj[list.type+"s
a.pull-right.checklist-icons(ng-click='removeChecklistItem(task,$event,$index,true)')
span.glyphicon.glyphicon-trash(tooltip=env.t('delete'))
input(type='checkbox',ng-model='item.completed',ng-change='saveTask(task,true)')
input.inline-edit(type='text',ng-model='item.text',ui-keydown="{'8 46':'removeChecklistItem(task,$event,$index)'}",ui-keyup="{'13':'addChecklistItem(task,$event,$index)','38 40':'navigateChecklist(task,$index,$event)'}")//-,ng-blur='saveTask(task,true)')
//-,ng-blur='saveTask(task,true)')
input.inline-edit(type='text',ng-model='item.text',ui-keydown="{'8 46':'removeChecklistItem(task,$event,$index)'}",ui-keyup="{'13':'addChecklistItem(task,$event,$index)','38 40':'navigateChecklist(task,$index,$event)'}")
form(ng-submit='saveTask(task)')

View file

@ -1,6 +1,6 @@
//-Trick needed to pass 'env' to ./layout
block vars
doctype 5
doctype html
html(ng-app='habitrpgStatic')
head

View file

@ -1,5 +1,5 @@
block vars
doctype 5
doctype html
html(ng-app='habitrpgStatic')
head