mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
Update settings.jade
This commit is contained in:
parent
805299a34c
commit
21de0b7e74
1 changed files with 13 additions and 13 deletions
|
|
@ -17,8 +17,8 @@ script(id='partials/options.settings.html', type="text/ng-template")
|
|||
script(type='text/ng-template', id='partials/options.settings.settings.html')
|
||||
.row-fluid
|
||||
.personal-options.span6
|
||||
h2 env.t('settings')
|
||||
h4 env.t('customDayStart')
|
||||
h2=env.t('settings')
|
||||
h4=env.t('customDayStart')
|
||||
.option-group.option-short
|
||||
input.option-content.option-time(type='number', min='0', max='24', ng-model='user.preferences.dayStart', ng-change='saveDayStart()')
|
||||
span.input-suffix :00 (env.t('24HrClock'))
|
||||
|
|
@ -27,10 +27,10 @@ script(type='text/ng-template', id='partials/options.settings.settings.html')
|
|||
div env.t('clockInfo')
|
||||
.alert.alert-danger Warning: this is a highly-experimental feature, and many <a href='https://github.com/HabitRPG/habitrpg/issues/1057' target='_blank'>experience issues</a> with it.
|
||||
hr
|
||||
h4 env.t('language')
|
||||
h4=env.t('language')
|
||||
select(ng-model='language.code', ng-options='lang.code as lang.name for lang in avalaibleLanguages', ng-change='changeLanguage()')
|
||||
hr
|
||||
h4 env.t('')
|
||||
h4=env.t('')
|
||||
label.checkbox
|
||||
input(type='checkbox', ng-click='set({"preferences.hideHeader":user.preferences.hideHeader?false:true})', ng-checked='user.preferences.hideHeader!==true')
|
||||
| env.t('showHeader')
|
||||
|
|
@ -64,7 +64,7 @@ script(type='text/ng-template', id='partials/options.settings.settings.html')
|
|||
//- Why is ng-if='user.auth.local' validating for users *without* user.auth.local (facebook users)? adding .username here for extra
|
||||
div(ng-if='user.auth.local.username')
|
||||
hr
|
||||
h4 env.t('changePass')
|
||||
h4=env.t('changePass')
|
||||
form(ng-submit='changePassword(changePass)', ng-show='user.auth.local')
|
||||
.control-group
|
||||
input(type='password', placeholder=env.t('oldPass'), ng-model='changePass.oldPassword', required)
|
||||
|
|
@ -75,31 +75,31 @@ script(type='text/ng-template', id='partials/options.settings.settings.html')
|
|||
input.btn(type='submit', value=env.t('submit')')
|
||||
|
||||
hr
|
||||
h4 env.t('dangerZone')
|
||||
h4=env.t('dangerZone')
|
||||
a.btn.btn-danger(ng-click='modals.reset = true', popover-trigger='mouseenter', popover-placement='right', popover=env.t('resetaccpop')) env.t('resetaccount')
|
||||
a.btn.btn-danger(ng-click='modals.delete = true', popover-trigger='mouseenter', popover=env.t('deleteaccpop')) env.t('deleteaccount')
|
||||
|
||||
script(type='text/ng-template', id='partials/options.settings.api.html')
|
||||
.row.fluid
|
||||
.span6
|
||||
h2 env.t('API')
|
||||
h2=env.t('API')
|
||||
small env.t('APIText')
|
||||
h6 env.t('userId')
|
||||
h6=env.t('userId')
|
||||
pre.prettyprint {{user.id}}
|
||||
h6 env.t('APIToken')
|
||||
h6=env.t('APIToken')
|
||||
pre.prettyprint {{user.apiToken}}
|
||||
h6 env.t('qrcode')
|
||||
h6=env.t('qrcode')
|
||||
img(src='https://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=%7B%22address%22%3A%22https%3A%2F%2Fhabitrpg.com%22%2C%22user%22%3A%22{{user.id}}%22%2C%22key%22%3A%22{{user.apiToken}}%22%7D&choe=UTF-8&chld=L', alt='qrcode')
|
||||
|
||||
script(id='partials/options.settings.export.html', type="text/ng-template")
|
||||
.row.fluid
|
||||
.span6
|
||||
h2 env.t('dataexport')
|
||||
h2=env.t('dataexport')
|
||||
small env.t('dataexports')
|
||||
h4 env.t('habithistory')
|
||||
h4=env.t('habithistory')
|
||||
env.t('exporthistory')
|
||||
a(href="/export/history.csv") env.t('csv')
|
||||
h4 env.t('userdata')
|
||||
h4=env.t('userdata')
|
||||
env.t('exportuserdata')
|
||||
a(href="/export/userdata.xml") env.t('xml')
|
||||
a(href="/export/userdata.json") env.t('json')
|
||||
|
|
|
|||
Loading…
Reference in a new issue