diff --git a/customize.dist/src/less2/include/icon-colors.less b/customize.dist/src/less2/include/icon-colors.less index c7edeecb3..e6c07579f 100644 --- a/customize.dist/src/less2/include/icon-colors.less +++ b/customize.dist/src/less2/include/icon-colors.less @@ -18,7 +18,7 @@ .cp-icon-color-todo { color: @colortheme_todo-bg; } .cp-icon-color-oodoc { color: @colortheme_oodoc-bg; } .cp-icon-color-ooslide { color: @colortheme_ooslide-bg; } - .cp-icon-color-oocell { color: @colortheme_oocell-bg; } + .cp-icon-color-sheet { color: @colortheme_oocell-bg; } .cp-icon-color-kanban { color: @colortheme_kanban-bg; } .cp-border-color-pad { border-color: @colortheme_pad-bg !important; } @@ -35,7 +35,7 @@ .cp-border-color-todo { border-color: @colortheme_todo-bg !important; } .cp-border-color-oodoc { border-color: @colortheme_oodoc-bg !important; } .cp-border-color-ooslide { border-color: @colortheme_ooslide-bg !important; } - .cp-border-color-oocell { border-color: @colortheme_oocell-bg !important; } + .cp-border-color-sheet { border-color: @colortheme_oocell-bg !important; } .cp-border-color-kanban { border-color: @colortheme_kanban-bg !important; } } diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index e5d36a518..c6f2a04d6 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -11,7 +11,7 @@ define(function() { * redirected to the drive. * You should never remove the drive from this list. */ - config.availablePadTypes = ['drive', 'pad', 'oocell', 'code', 'slide', 'poll', 'kanban', 'whiteboard', + config.availablePadTypes = ['drive', 'pad', 'sheet', 'code', 'slide', 'poll', 'kanban', 'whiteboard', /*'oodoc', 'ooslide',*/ 'file', 'todo', 'contacts']; /* The registered only types are apps restricted to registered users. * You should never remove apps from this list unless you know what you're doing. The apps @@ -20,7 +20,7 @@ define(function() { * users and these users will be redirected to the login page if they still try to access * the app */ - config.registeredOnlyTypes = ['file', 'contacts', 'oodoc', 'ooslide', 'oocell']; + config.registeredOnlyTypes = ['file', 'contacts', 'oodoc', 'ooslide', 'sheet']; /* Cryptpad apps use a common API to display notifications to users * by default, notifications are hidden after 5 seconds @@ -95,7 +95,7 @@ define(function() { kanban: 'cptools-kanban', oodoc: 'fa-file-word-o', ooslide: 'fa-file-powerpoint-o', - oocell: 'fa-file-excel-o', + sheet: 'fa-file-excel-o', drive: 'fa-hdd-o', }; diff --git a/www/common/onlyoffice/app-oo.less b/www/common/onlyoffice/app-oo.less index e98e4cc20..0f464bf89 100644 --- a/www/common/onlyoffice/app-oo.less +++ b/www/common/onlyoffice/app-oo.less @@ -1,11 +1,11 @@ @import (reference) "../../customize/src/less2/include/framework.less"; // body -body.cp-app-oocell, body.cp-app-oodoc, body.cp-app-ooslide { +body.cp-app-sheet, body.cp-app-oodoc, body.cp-app-ooslide { display: flex; flex-flow: column; - &.cp-app-oocell { + &.cp-app-sheet { .framework_main( @bg-color: @colortheme_oocell-bg, @warn-color: @colortheme_oocell-warn, diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index fed0399f1..52d858de2 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -154,7 +154,7 @@ define([ file.title = title + '.docx' || 'document.docx'; file.doc = 'text'; break; - case 'oocell': + case 'sheet': file.type = 'xlsx'; file.title = title + '.xlsx' || 'spreadsheet.xlsx'; file.doc = 'spreadsheet'; @@ -701,7 +701,7 @@ define([ } var newText; switch (type) { - case 'oocell' : + case 'sheet' : newText = EmptyCell(); break; case 'oodoc': diff --git a/www/oocell/index.html b/www/sheet/index.html similarity index 100% rename from www/oocell/index.html rename to www/sheet/index.html diff --git a/www/oocell/inner.html b/www/sheet/inner.html similarity index 95% rename from www/oocell/inner.html rename to www/sheet/inner.html index 7609f1740..6bb9eb3bf 100644 --- a/www/oocell/inner.html +++ b/www/sheet/inner.html @@ -7,7 +7,7 @@ .loading-hidden { display: none; } - +