diff --git a/common/converter/empty/cs-CZ/new.docx b/common/converter/empty/cs-CZ/new.docx
deleted file mode 100644
index 244ca53ed..000000000
Binary files a/common/converter/empty/cs-CZ/new.docx and /dev/null differ
diff --git a/common/converter/empty/cs-CZ/new.pptx b/common/converter/empty/cs-CZ/new.pptx
deleted file mode 100644
index 28435379d..000000000
Binary files a/common/converter/empty/cs-CZ/new.pptx and /dev/null differ
diff --git a/common/converter/empty/cs-CZ/new.xlsx b/common/converter/empty/cs-CZ/new.xlsx
deleted file mode 100644
index 320899f7e..000000000
Binary files a/common/converter/empty/cs-CZ/new.xlsx and /dev/null differ
diff --git a/common/converter/empty/de-DE/new.docx b/common/converter/empty/de-DE/new.docx
deleted file mode 100644
index 7084b3d4b..000000000
Binary files a/common/converter/empty/de-DE/new.docx and /dev/null differ
diff --git a/common/converter/empty/de-DE/new.pptx b/common/converter/empty/de-DE/new.pptx
deleted file mode 100644
index 7ff44412f..000000000
Binary files a/common/converter/empty/de-DE/new.pptx and /dev/null differ
diff --git a/common/converter/empty/de-DE/new.xlsx b/common/converter/empty/de-DE/new.xlsx
deleted file mode 100644
index 546b6c1af..000000000
Binary files a/common/converter/empty/de-DE/new.xlsx and /dev/null differ
diff --git a/common/converter/empty/es-ES/new.docx b/common/converter/empty/es-ES/new.docx
deleted file mode 100644
index 0cf6cf52f..000000000
Binary files a/common/converter/empty/es-ES/new.docx and /dev/null differ
diff --git a/common/converter/empty/es-ES/new.pptx b/common/converter/empty/es-ES/new.pptx
deleted file mode 100644
index eef76f508..000000000
Binary files a/common/converter/empty/es-ES/new.pptx and /dev/null differ
diff --git a/common/converter/empty/es-ES/new.xlsx b/common/converter/empty/es-ES/new.xlsx
deleted file mode 100644
index 2dc0c3b65..000000000
Binary files a/common/converter/empty/es-ES/new.xlsx and /dev/null differ
diff --git a/common/converter/empty/fr-FR/new.docx b/common/converter/empty/fr-FR/new.docx
deleted file mode 100644
index ec8601b38..000000000
Binary files a/common/converter/empty/fr-FR/new.docx and /dev/null differ
diff --git a/common/converter/empty/fr-FR/new.pptx b/common/converter/empty/fr-FR/new.pptx
deleted file mode 100644
index 7f7851374..000000000
Binary files a/common/converter/empty/fr-FR/new.pptx and /dev/null differ
diff --git a/common/converter/empty/fr-FR/new.xlsx b/common/converter/empty/fr-FR/new.xlsx
deleted file mode 100644
index 8e53d9ea3..000000000
Binary files a/common/converter/empty/fr-FR/new.xlsx and /dev/null differ
diff --git a/common/converter/empty/in_new.docx b/common/converter/empty/in_new.docx
deleted file mode 100644
index ca42ddc8e..000000000
Binary files a/common/converter/empty/in_new.docx and /dev/null differ
diff --git a/common/converter/empty/in_new.pptx b/common/converter/empty/in_new.pptx
deleted file mode 100644
index 0b76a9007..000000000
Binary files a/common/converter/empty/in_new.pptx and /dev/null differ
diff --git a/common/converter/empty/in_new.xlsx b/common/converter/empty/in_new.xlsx
deleted file mode 100644
index fb24cc2f4..000000000
Binary files a/common/converter/empty/in_new.xlsx and /dev/null differ
diff --git a/common/converter/empty/it-IT/new.docx b/common/converter/empty/it-IT/new.docx
deleted file mode 100644
index 90eae1ffb..000000000
Binary files a/common/converter/empty/it-IT/new.docx and /dev/null differ
diff --git a/common/converter/empty/it-IT/new.pptx b/common/converter/empty/it-IT/new.pptx
deleted file mode 100644
index f97d6f7ff..000000000
Binary files a/common/converter/empty/it-IT/new.pptx and /dev/null differ
diff --git a/common/converter/empty/it-IT/new.xlsx b/common/converter/empty/it-IT/new.xlsx
deleted file mode 100644
index 1ad2f10f9..000000000
Binary files a/common/converter/empty/it-IT/new.xlsx and /dev/null differ
diff --git a/common/converter/empty/mm_new.docx b/common/converter/empty/mm_new.docx
deleted file mode 100644
index d0854505a..000000000
Binary files a/common/converter/empty/mm_new.docx and /dev/null differ
diff --git a/common/converter/empty/mm_new.pptx b/common/converter/empty/mm_new.pptx
deleted file mode 100644
index c06dbb40e..000000000
Binary files a/common/converter/empty/mm_new.pptx and /dev/null differ
diff --git a/common/converter/empty/mm_new.xlsx b/common/converter/empty/mm_new.xlsx
deleted file mode 100644
index 96b11438e..000000000
Binary files a/common/converter/empty/mm_new.xlsx and /dev/null differ
diff --git a/common/converter/empty/pt-BR/new.docx b/common/converter/empty/pt-BR/new.docx
deleted file mode 100644
index 44b241f1c..000000000
Binary files a/common/converter/empty/pt-BR/new.docx and /dev/null differ
diff --git a/common/converter/empty/pt-BR/new.pptx b/common/converter/empty/pt-BR/new.pptx
deleted file mode 100644
index f042db063..000000000
Binary files a/common/converter/empty/pt-BR/new.pptx and /dev/null differ
diff --git a/common/converter/empty/pt-BR/new.xlsx b/common/converter/empty/pt-BR/new.xlsx
deleted file mode 100644
index c53d82661..000000000
Binary files a/common/converter/empty/pt-BR/new.xlsx and /dev/null differ
diff --git a/common/converter/empty/ru-RU/new.docx b/common/converter/empty/ru-RU/new.docx
deleted file mode 100644
index 13e2919a8..000000000
Binary files a/common/converter/empty/ru-RU/new.docx and /dev/null differ
diff --git a/common/converter/empty/ru-RU/new.pptx b/common/converter/empty/ru-RU/new.pptx
deleted file mode 100644
index f747cfe57..000000000
Binary files a/common/converter/empty/ru-RU/new.pptx and /dev/null differ
diff --git a/common/converter/empty/ru-RU/new.xlsx b/common/converter/empty/ru-RU/new.xlsx
deleted file mode 100644
index 39ba466b1..000000000
Binary files a/common/converter/empty/ru-RU/new.xlsx and /dev/null differ
diff --git a/common/loginpage/locale/en-GB.js b/common/loginpage/locale/en-GB.js
new file mode 100644
index 000000000..1316588a8
--- /dev/null
+++ b/common/loginpage/locale/en-GB.js
@@ -0,0 +1,115 @@
+l10n.en_GB = {
+ welWelcome: 'Welcome to ONLYOFFICE Desktop Editors!',
+ welDescr: 'Work on documents offline or connect the suite to your cloud: ONLYOFFICE, ownCloud, Nextcloud.',
+ btnConnect: 'Connect now',
+ textHavePortal: 'Already use a cloud?',
+ btnCreatePortal: 'Create an ONLYOFFICE cloud',
+ btnAddPortal: 'Add сloud',
+ btnLogin: 'Login',
+ btnBrowse: 'Browse',
+ btnNext: 'Next',
+ portalEmptyTitle: 'Connect to your cloud',
+ portalEmptyDescr: 'Store your documents in the cloud and access them any time, from anywhere. Share and collaborate on them. Chat in your doc, add comments or share it for review.',
+ portalEmptyAdv1: 'Don\'t have a cloud account yet? Go online with ONLYOFFICE Cloud Service and
try collaborative capabilities for free.',
+ portalListTitle: 'Connected clouds',
+ textNoFiles: 'There are no files',
+ listRecoveryTitle:'Recover files',
+ listRecentFileTitle:'Recent files',
+ listRecentDirTitle:'Recent folders',
+ menuFileOpen: 'Open',
+ menuFileExplore: 'Show in folder',
+ menuRemoveModel: 'Remove from list',
+ menuClear: 'Clear',
+ menuLogout: 'Logout',
+ textMyComputer: 'My Computer',
+ textThrough: 'through',
+ linkForgotPass: 'Forgot password?',
+ linkCreatePortal: 'Create an ONLYOFFICE cloud',
+ linkResend: 'Send the code again',
+ linkChangePhone: 'Change phone number',
+ loginTitleStart: 'Connect to cloud office',
+ loginTitleConnectTo: 'Login to $1',
+ loginTitleAssignPhone: 'Enter mobile phone number',
+ loginTitleApplyCode: 'Confirm phone number',
+ errLogin: 'Wrong email or password',
+ errLoginPortal: 'Check the cloud office URL',
+ errLoginEmail: 'Check the email address',
+ errLoginServer: 'Incorrect server response during login',
+ errLoginAuth: 'Error on user information query',
+ errLoginPass: 'Check the password',
+ errLoginWrongPhone: 'Wrong phone number format',
+ pshPortal: 'Cloud office URL',
+ pshEmail: 'email',
+ pshPass: 'password',
+ pshPhone: 'phone number',
+ pshCode: 'code from text message',
+ loginNoteAssignPhone: 'The two-factor authentication is enabled to provide additional ONLYOFFICE cloud security. Enter your mobile phone number to continue work on the cloud office. Mobile phone number must be entered using an international format with country code.',
+ loginNoteApplyCode: 'The two-factor authentication is enabled. The code has been texted to $1 number.',
+ newDoc: 'Document',
+ newXlsx: 'Spreadsheet',
+ newPptx: 'Presentation',
+ newForm: 'PDF Form',
+ actCreateNew: 'Create new',
+ actRecentFiles: 'Recent files',
+ actOpenLocal: 'Open local file',
+ actConnectTo: 'Connect to cloud',
+ actActivate: 'Activate',
+ actAbout: 'About',
+ actSettings: 'Settings',
+ actTemplates: 'Templates',
+ licKeyHolder: 'input activation key',
+ btnActivate: 'Activate',
+ licGetLicense: 'Get license now',
+ licPanelTitle: 'Enter product key',
+ licPanelDescr: 'Your product key was sent to the email address specified during the purchase.',
+ checkUpdates: 'Check for updates',
+ strVersion: 'version',
+ emptySlide1Title: 'Share & collaborate',
+ emptySlide1Text: 'Choose between Fast or Strict real-time co-editing, chat in your doc, add comments or share it for review.',
+ emptySlide2Title: 'View or restore previous versions',
+ emptySlide2Text: 'Restore or just view previous versions of your document, track changes and their authors.',
+ emptySlide3Title: 'Store in the cloud',
+ emptySlide3Text: 'Store your documents in the ONLYOFFICE cloud and access them any time, from anywhere.',
+ settUserName: 'User Name',
+ settResetUserName: 'Reset to default',
+ settOpenMode: 'Open document in preview mode',
+ setBtnApply: 'Apply',
+ settLanguage: 'Interface language',
+ settAfterRestart: 'Option will be applied after the app restart',
+ settShowEncryptOpts: 'Test end-to-end encryption',
+ settCheckUpdates: 'Check for updates automatically',
+ settOptCheckNever: 'Never',
+ settOptCheckDay: 'Every day',
+ settOptCheckWeek: 'Every week',
+ settScaling: 'Interface scaling',
+ settOptScalingAuto: 'Auto',
+ aboutProFeaturesAvailable: 'With access to pro features',
+ settUITheme: 'Interface theme',
+ settOptThemeLight: 'Light',
+ settOptThemeClassicLight: 'Classic Light',
+ settOptThemeDark: 'Dark',
+ settOptLaunchMode: 'Open file',
+ settOptLaunchInTab: 'In its own tab',
+ settOptLaunchInWindow: 'In its own window',
+ settSpellcheckDetection: 'Spelling language detection',
+ settOptDisabled: 'Disabled',
+ settOptEnabled: 'Enabled',
+ aboutChangelog: 'Changelog',
+ updateNoUpdates: 'App is up to date',
+ updateAvialable: 'Version $1 is available. Click to download.',
+ settOptThemeSystem: 'Same as system',
+ settOptThemeAddLocal: 'Add local theme',
+ settOptThemeContrastDark: 'Contrast Dark',
+ settAUpdateMode: 'Updates',
+ settOptAUpdateSilent: 'Auto',
+ settOptAUpdateAsk: 'Notify',
+ settOptAUpdateDisabled: 'Manual',
+ updateDownloadFinished: 'Downloading finished. Click to install',
+ updateDownloadCanceled: 'Downloading canceled',
+ updateDownloadProgress: 'Downloading $1%. Click to stop',
+ settOptDescDisabled: "Auto checking updates will be disabled",
+ settOptDescAUpdateSilent: "Download and install update in background",
+ settOptDescAUpdateAsk: "You will be notified about all updates steps",
+ settRtlMode: "RTL Interface",
+ settGpuUseMode: "Use graphics acceleration when available",
+}
diff --git a/common/loginpage/locale/he.js b/common/loginpage/locale/he.js
new file mode 100644
index 000000000..f48cd27ad
--- /dev/null
+++ b/common/loginpage/locale/he.js
@@ -0,0 +1,115 @@
+l10n.he = {
+ welWelcome: 'ברוכים הבאים לעורכי שולחן העבודה של ONLYOFFICE!',
+ welDescr: 'לעבוד על מסמכים במצב לא מקוון או לחבר את החבילה לענן שלך: ONLYOFFICE, ownCloud, Nextcloud.',
+ btnConnect: 'התחבר עכשיו',
+ textHavePortal: 'כבר משתמשים בענן?',
+ btnCreatePortal: 'צור ענן ONLYOFFICE',
+ btnAddPortal: 'הוסף ענן',
+ btnLogin: 'התחברות',
+ btnBrowse: 'עיון',
+ btnNext: 'הבא',
+ portalEmptyTitle: 'התחבר לענן שלך',
+ portalEmptyDescr: 'אחסן את המסמכים שלך בענן וגש אליהם בכל עת, מכל מקום. שתף אותם ושתף פעולה בהם. שוחח בצאט במסמך שלך, הוסף הערות או שתף אותו לבדיקה.',
+ portalEmptyAdv1: 'עדיין אין לך חשבון ענן? עבור למצב מקוון עם ONLYOFFICE Cloud Service ו-
נסה יכולות שיתוף פעולה בחינם.',
+ portalListTitle: 'עננים מחוברים',
+ textNoFiles: 'אין תיקיות',
+ listRecoveryTitle: 'לשחזר קבצים',
+ listRecentFileTitle:'קבצים אחרונים',
+ listRecentDirTitle: 'תיקיות אחרונות',
+ menuFileOpen: 'פתוח',
+ menuFileExplore: 'הצג בתיקיה',
+ menuRemoveModel: 'הסר מהרשימה',
+ menuClear: 'ברור',
+ menuLogout: 'התנתקות',
+ textMyComputer: 'המחשב שלי',
+ textThrough: 'דרך',
+ linkForgotPass: 'שכחת סיסמא?',
+ linkCreatePortal: 'צור ענן ONLYOFFICE',
+ linkResend: 'שלח את הקוד שוב',
+ linkChangePhone: 'שנה מספר טלפון',
+ loginTitleStart: 'התחבר למשרד ענן',
+ loginTitleConnectTo: 'התחבר ל $1',
+ loginTitleAssignPhone: 'הזן מספר טלפון נייד',
+ loginTitleApplyCode: 'אשר מספר טלפון',
+ errLogin: 'כתובת דואל או סיסמה שגויים',
+ errLoginPortal: 'בדוק את כתובת האתר של משרד הענן',
+ errLoginEmail: 'בדוק את כתובת הדואל',
+ errLoginServer: 'תגובת שרת שגויה במהלך ההתחברות',
+ errLoginAuth: 'שגיאה בשאילתת פרטי משתמש',
+ errLoginPass: 'בדוק את הסיסמה',
+ errLoginWrongPhone: 'פורמט מספר טלפון שגוי',
+ pshPortal: 'כתובת URL של משרד ענן',
+ pshEmail: 'דואל',
+ pshPass: 'סיסמה',
+ pshPhone: 'מספר טלפון',
+ pshCode: 'קוד מהודעת טקסט',
+ loginNoteAssignPhone: 'האימות הדו-שלבי מופעל כדי לספק אבטחת ענן נוספת של ONLYOFFICE. הזן את מספר הטלפון הנייד שלך כדי להמשיך לעבוד במשרד הענן. יש להזין את מספר הטלפון הנייד בפורמט בינלאומי עם קידומת מדינה.',
+ loginNoteApplyCode: 'האימות הדו-שלבי מופעל. הקוד נשלח למספר $1',
+ newDoc: 'מסמך',
+ newXlsx: 'גיליון אלקטרוני',
+ newPptx: 'מצגת',
+ newForm: 'טופס PDF',
+ actCreateNew: 'צור חדש',
+ actRecentFiles: 'קבצים אחרונים',
+ actOpenLocal: 'פתח קובץ מקומי',
+ actConnectTo: 'התחבר לענן',
+ actActivate: 'הפעל',
+ actAbout: 'אודות',
+ actSettings: 'הגדרות',
+ actTemplates: 'תבניות',
+ licKeyHolder: 'מפתח הפעלת קלט',
+ btnActivate: 'הפעל',
+ licGetLicense: 'קבל רישיון עכשיו',
+ licPanelTitle: 'הזן מפתח מוצר',
+ licPanelDescr: 'מפתח המוצר שלך נשלח לכתובת הדואר האלקטרוני שצוינה במהלך הרכישה.',
+ checkUpdates: 'בדוק אם קיימים עדכונים',
+ strVersion: 'גרסה',
+ emptySlide1Title: 'שתף ושתף פעולה',
+ emptySlide1Text: 'בחר בין עריכה משותפת מהירה או קפדנית בזמן אמת, שוחח בצ אט במסמך שלך, הוסף הערות או שתף אותו לבדיקה.',
+ emptySlide2Title: 'הצג או שחזר גרסאות קודמות',
+ emptySlide2Text: 'שחזר או פשוט הצג גירסאות קודמות של המסמך שלך, עקוב אחר שינויים ומחבריהם.',
+ emptySlide3Title: 'חנות בענן',
+ emptySlide3Text: 'אחסן את המסמכים שלך בענן ONLYOFFICE וגש אליהם בכל עת ומכל מקום.',
+ settUserName: 'שם משתמש',
+ settResetUserName: 'איפוס לברירת מחדל',
+ settOpenMode: 'פתח מסמך במצב תצוגה מקדימה',
+ setBtnApply: 'החל',
+ settLanguage: 'שפת ממשק',
+ settAfterRestart: 'האפשרות תוחל לאחר ההפעלה מחדש של האפליקציה',
+ settShowEncryptOpts: 'בדיקת הצפנה מקצה לקצה',
+ settCheckUpdates: 'בדוק אם קיימים עדכונים באופן אוטומטי',
+ settOptCheckNever: 'אף פעם',
+ settOptCheckDay: 'כל יום',
+ settOptCheckWeek: 'כל שבוע',
+ settScaling: 'קנה מידה של ממשק',
+ settOptScalingAuto: 'אוטומטי',
+ aboutProFeaturesAvailable: 'עם גישה לתכונות מקצועיות',
+ settUITheme: 'נושא ממשק',
+ settOptThemeLight: 'בהיר',
+ settOptThemeClassicLight: 'בהיר קלאסי',
+ settOptThemeDark: 'כהה',
+ settOptLaunchMode: 'פתח תיק',
+ settOptLaunchInTab: 'בכרטיסייה משלו',
+ settOptLaunchInWindow: 'בחלון משלו',
+ settSpellcheckDetection: 'זיהוי שפת איות',
+ settOptDisabled: 'מבוטל',
+ settOptEnabled: 'מופעל',
+ aboutChangelog: 'יומן שינויים',
+ updateNoUpdates: 'האפליקציה מעודכנת',
+ updateAvialable: 'גרסה $1 זמינה. לחץ כדי להוריד',
+ settOptThemeSystem: 'כמו מערכת',
+ settOptThemeAddLocal: 'הוסף נושא מקומי',
+ settOptThemeContrastDark: 'ניגודיות כהה',
+ settAUpdateMode: 'עדכונים',
+ settOptAUpdateSilent: 'אוטומטי',
+ settOptAUpdateAsk: 'להודיע',
+ settOptAUpdateDisabled: 'ידני',
+ updateDownloadFinished: 'ההורדה הסתיימה. לחץ כדי להתקין',
+ updateDownloadCanceled: 'ההורדה בוטלה',
+ updateDownloadProgress: 'הורדת $1%. לחץ כדי לעצור',
+ settOptDescDisabled: "עדכוני בדיקה אוטומטית יושבתו",
+ settOptDescAUpdateSilent: "הורד והתקן עדכון ברקע",
+ settOptDescAUpdateAsk: "תקבל הודעה על כל שלבי העדכונים",
+ settRtlMode: "ממשק RTL",
+ settGpuUseMode: "השתמש בהאצת גרפיקה כאשר היא זמינה",
+}
diff --git a/common/loginpage/res/img/common-svg/template-item.svg b/common/loginpage/res/img/common-svg/template-item.svg
new file mode 100644
index 000000000..e6ca35933
--- /dev/null
+++ b/common/loginpage/res/img/common-svg/template-item.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/common/loginpage/src/css/component.less b/common/loginpage/src/css/component.less
index 3dc2b5866..eff40cef5 100644
--- a/common/loginpage/src/css/component.less
+++ b/common/loginpage/src/css/component.less
@@ -353,9 +353,28 @@ input[type="radio"] {
}
}
- .dropdown-menu li small {
- padding-left: 0;
- display: block;
+ &.subtext-bottom {
+ .dropdown-menu li small {
+ padding-left: 0;
+ display: block;
+ }
+ }
+
+ &.subtext-right {
+ .dropdown-menu li {
+ span.text {
+ width: 100%;
+ }
+
+ small {
+ float: right;
+ padding-top: 2px;
+
+ .rtl & {
+ float: left;
+ }
+ }
+ }
}
.rtl & {
@@ -453,3 +472,13 @@ input[type="radio"] {
::-webkit-input-placeholder {
color: @text-tertiary;
}
+
+/*
+* nav-item
+*/
+
+.nav-item {
+ color: @text-normal;
+ cursor: pointer;
+ font-size: 14px;
+}
diff --git a/common/loginpage/src/index.html b/common/loginpage/src/index.html
index f06a98886..326995bc4 100644
--- a/common/loginpage/src/index.html
+++ b/common/loginpage/src/index.html
@@ -151,7 +151,7 @@
-
+
diff --git a/common/loginpage/src/panelrecent.js b/common/loginpage/src/panelrecent.js
index b1c91b105..3c34dff59 100644
--- a/common/loginpage/src/panelrecent.js
+++ b/common/loginpage/src/panelrecent.js
@@ -53,7 +53,7 @@
// args.id&&(args.id=`"id=${args.id}"`)||(args.id='');
let _html = `
-
+
${_lang.listRecoveryTitle}
@@ -62,7 +62,6 @@
-
@@ -99,6 +98,9 @@
this.$boxRecovery = this.$panel.find('#box-recovery');
this.$boxRecent = this.$panel.find('#box-recent');
+ this.$panelContainer = this.$panel.find('.recent-panel-container');
+ this.$tableBoxRecovery = this.$boxRecovery.find('.table-box').get(0);
+ this.$tableBoxRecent = this.$boxRecent.find('.table-box').get(0);
},
listitemtemplate: function(info) {
let id = !!info.uid ? (` id="${info.uid}"`) : '';
@@ -159,30 +161,12 @@
});
},
- updatelistsize: function() {
- // set fixed height for scrollbar appearing.
- var _available_height = this.$panel.height();
- var _box_recent_height = _available_height;
+ updateListSize: function() {
+ const hasRecoveryScroll = this.$tableBoxRecovery.scrollHeight > this.$tableBoxRecovery.clientHeight;
+ const hasRecentScroll = this.$tableBoxRecent.scrollHeight > this.$tableBoxRecent.clientHeight;
- if (!this.$boxRecovery.find('tr').size()) {
- // $boxRecent.height($boxRecent.parent().height());
- } else {
- _available_height -= /*separatorHeight*/40;
- _box_recent_height *= 0.5;
-
- this.$boxRecovery.height(_available_height * 0.5);
-
- var $table_box = this.$boxRecovery.find('.table-box');
- if ( !$table_box.hasScrollBar() ) {
- let _new_recovery_height = $table_box.find('.table-files.list').height() + /*$headerRecovery.height()*/46;
- this.$boxRecovery.height(_new_recovery_height);
-
- _box_recent_height = _available_height - _new_recovery_height;
- }
- }
-
- /*$boxRecent.height() != _box_recent_height &&*/ this.$boxRecent.height(_box_recent_height);
- }
+ this.$panelContainer.css('grid-template-rows', hasRecoveryScroll || hasRecentScroll ? '' : 'auto 1fr');
+ },
});
window.ControllerRecent = ControllerRecent;
@@ -240,6 +224,8 @@
} else {
this.rawRecents = undefined;
}
+
+ this.view.updateListSize();
};
var _on_recents = function(params) {
@@ -263,13 +249,12 @@
}
this.view.$boxRecovery[collectionRecovers.size() > 0 ? 'show' : 'hide']();
- this.view.$panel.find('#recovery-sep')[collectionRecovers.size() > 0 ? 'show' : 'hide']();
- this.view.updatelistsize();
+ this.view.updateListSize();
};
function _init_collections() {
- let _cl_rcbox = this.view.$panel.find('#box-recent'),
- _cl_rvbox = this.view.$panel.find('#box-recovery');
+ let _cl_rcbox = this.view.$boxRecent,
+ _cl_rvbox = this.view.$boxRecovery;
collectionRecents = new Collection({
view: _cl_rcbox,
@@ -441,7 +426,7 @@
});
$(window).resize(()=>{
- this.view.updatelistsize();
+ this.view.updateListSize();
});
CommonEvents.on("icons:svg", this.view.onscale);
CommonEvents.on('portal:authorized', (data)=>{
diff --git a/common/loginpage/src/panels.js b/common/loginpage/src/panels.js
index c0fa8359d..22a595900 100644
--- a/common/loginpage/src/panels.js
+++ b/common/loginpage/src/panels.js
@@ -131,9 +131,9 @@ function onActionClick(e) {
$('.action-panel').hide();
$('.action-panel.' + action).show(0,()=>{
// bug: recent panel has the wrong height if 'wellcome' panel is showed firstly
- if (action == 'recent') {
- app.controller.recent.view.updatelistsize();
- }
+ // if (action == 'recent') {
+ // app.controller.recent.view.updateListSize();
+ // }
});
CommonEvents.fire('panel:show', [action]);
diff --git a/common/loginpage/src/panelsettings.js b/common/loginpage/src/panelsettings.js
index 2fcbfd1b1..271935f2c 100644
--- a/common/loginpage/src/panelsettings.js
+++ b/common/loginpage/src/panelsettings.js
@@ -45,25 +45,29 @@
const themes_map = {
'theme-system': {
- text: 'Same as system',
+ text: utils.Lang.settOptThemeSystem,
type: THEME_TYPE_SYSTEM,
},
'theme-light': {
- text: 'Light',
+ text: utils.Lang.settOptThemeLight,
type: 'light',
},
'theme-classic-light': {
- text: 'Classic Light',
+ text: utils.Lang.settOptThemeClassicLight,
type: 'light',
},
'theme-dark': {
- text: 'Dark',
+ text: utils.Lang.settOptThemeDark,
type: 'dark',
},
'theme-contrast-dark': {
- text: 'Dark Contrast',
+ text: utils.Lang.settOptThemeContrastDark,
type: 'dark',
},
+ 'theme-gray': {
+ text: 'Gray',
+ type: 'light',
+ },
}
const nativevars = window.RendererProcessVariable;
@@ -174,7 +178,7 @@
@@ -204,7 +208,7 @@
-