From b6ebc583baa9ba23fc25028f99a276ae5bedcb9f Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 16 May 2018 16:30:37 +0200 Subject: [PATCH] Add the kanban app to the list --- customize.dist/src/less2/include/colortheme.less | 11 ++++------- customize.dist/src/less2/include/icon-colors.less | 2 ++ customize.dist/translations/messages.fr.js | 2 ++ www/common/application_config_internal.js | 3 ++- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index 06dadab39..f613924f8 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -83,13 +83,6 @@ @colortheme_poll-th-fg: #fff; @colortheme_poll-warn: #ffade3; -@colortheme_kanban-bg: #8C4; -@colortheme_kanban-color: #fff; -@colortheme_kanban-help-bg: #bbffbb; -@colortheme_kanban-th-bg: #005bef; -@colortheme_kanban-th-fg: #fff; -@colortheme_kanban-warn: #e6385d; - @colortheme_whiteboard-bg: #800080; @colortheme_whiteboard-color: #fff; @colortheme_whiteboard-warn: #ffae00; @@ -122,6 +115,10 @@ @colortheme_todo-color: #000; @colortheme_todo-warn: #cd2532; +@colortheme_kanban-bg: #8C4; +@colortheme_kanban-color: #fff; +@colortheme_kanban-warn: #e6385d; + // Sidebar layout (profile / settings) @colortheme_sidebar-active: #fff; @colortheme_sidebar-left-bg: #eee; diff --git a/customize.dist/src/less2/include/icon-colors.less b/customize.dist/src/less2/include/icon-colors.less index b787fee1c..283626cfd 100644 --- a/customize.dist/src/less2/include/icon-colors.less +++ b/customize.dist/src/less2/include/icon-colors.less @@ -13,6 +13,7 @@ .cp-icon-color-profile { color: @colortheme_settings-bg; } .cp-icon-color-default { color: @colortheme_default-bg; } .cp-icon-color-todo { color: @colortheme_todo-bg; } + .cp-icon-color-kanban { color: @colortheme_kanban-bg; } .cp-border-color-pad { border-color: @colortheme_pad-bg !important; } .cp-border-color-code { border-color: @colortheme_code-bg !important; } @@ -26,5 +27,6 @@ .cp-border-color-profile { border-color: @colortheme_settings-bg !important; } .cp-border-color-default { border-color: @colortheme_default-bg !important; } .cp-border-color-todo { border-color: @colortheme_todo-bg !important; } + .cp-border-color-kanban { border-color: @colortheme_kanban-bg !important; } } diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index 67b8ebea6..0259d5668 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -8,6 +8,7 @@ define(function () { out.type.pad = 'Texte'; out.type.code = 'Code'; out.type.poll = 'Sondage'; + out.type.kanban = 'Kanban'; out.type.slide = 'Présentation'; out.type.drive = 'CryptDrive'; out.type.whiteboard = "Tableau Blanc"; @@ -21,6 +22,7 @@ define(function () { out.button_newpoll = 'Nouveau sondage'; out.button_newslide = 'Nouvelle présentation'; out.button_newwhiteboard = 'Nouveau tableau blanc'; + out.button_newkanban = 'Nouveau kanban'; out.updated_0_common_connectionLost = "Connexion au serveur perdue
Vous êtes désormais en mode lecture seule jusqu'au retour de la connexion."; out.common_connectionLost = out.updated_0_common_connectionLost; diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index f6760f897..0ab300721 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -9,7 +9,7 @@ define(function() { /* Select the buttons displayed on the main page to create new collaborative sessions * Existing types : pad, code, poll, slide */ - config.availablePadTypes = ['drive', 'pad', 'code', 'slide', 'poll', 'whiteboard', 'file', 'todo', 'contacts']; + config.availablePadTypes = ['drive', 'pad', 'code', 'slide', 'poll', 'kanban', 'whiteboard', 'file', 'todo', 'contacts']; config.registeredOnlyTypes = ['file', 'contacts']; /* Cryptpad apps use a common API to display notifications to users @@ -81,6 +81,7 @@ define(function() { whiteboard: 'fa-paint-brush', todo: 'fa-tasks', contacts: 'fa-users', + kanban: 'fa-list-alt', }; // Ability to create owned pads and expiring pads through a new pad creation screen.