diff --git a/web/html/common/prompt_modal.html b/web/html/common/prompt_modal.html index 6b64bc95..23bdca64 100644 --- a/web/html/common/prompt_modal.html +++ b/web/html/common/prompt_modal.html @@ -36,11 +36,11 @@ }, confirm() {}, open({ - title='', - type='text', - value='', - okText='{{ i18n "sure"}}', - confirm=() => {}, + title = '', + type = 'text', + value = '', + okText = '{{ i18n "sure"}}', + confirm = () => {}, }) { this.title = title; this.type = type; diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 06ca07a8..76ab7b41 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -23,7 +23,7 @@ qrcode: null, clipboard: null, visible: false, - show: function (title='', content='', dbInbound=new DBInbound(), copyText='', clientName = null) { + show: function (title = '', content = '', dbInbound = new DBInbound(), copyText = '', clientName = null) { this.title = title; this.content = content; this.dbInbound = dbInbound; diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index 649f73dd..1514051b 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -21,7 +21,7 @@ qrcode: null, clipboard: null, visible: false, - show: function (title='', content='', fileName='') { + show: function (title = '', content = '', fileName = '') { this.title = title; this.content = content; this.fileName = fileName; diff --git a/web/html/login.html b/web/html/login.html index b98059e2..c1b88449 100644 --- a/web/html/login.html +++ b/web/html/login.html @@ -50,7 +50,7 @@ -

{{ i18n "pages.login.title" }}

+

{{ i18n "pages.login.title" }}

@@ -63,10 +63,9 @@ - - - + + @@ -78,14 +77,12 @@ - - - - -    - - - + + + +    + + @@ -101,6 +98,7 @@ {{template "js" .}} {{template "component/themeSwitcher" .}} +{{template "component/password" .}}