mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
update jade
This commit is contained in:
parent
fab04d5e19
commit
80042a7a64
5 changed files with 6 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)')
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
//-Trick needed to pass 'env' to ./layout
|
||||
block vars
|
||||
doctype 5
|
||||
doctype html
|
||||
html(ng-app='habitrpgStatic')
|
||||
|
||||
head
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
block vars
|
||||
doctype 5
|
||||
doctype html
|
||||
html(ng-app='habitrpgStatic')
|
||||
|
||||
head
|
||||
|
|
|
|||
Loading…
Reference in a new issue