diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index abbe07955..f17a345eb 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -135,6 +135,10 @@ @colortheme_admin-color: #FFF; @colortheme_admin-warn: #ffae00; +@colortheme_notifications-bg: #7c0404; +@colortheme_notifications-color: #FFF; +@colortheme_notifications-warn: #ffae00; + // Sidebar layout (profile / settings) @colortheme_sidebar-active: #fff; @colortheme_sidebar-left-bg: #eee; diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index 49be02723..e4d5aa4f9 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -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', 'sheet']; + config.registeredOnlyTypes = ['file', 'contacts', 'oodoc', 'ooslide', 'sheet', 'notifications']; /* CryptPad is available is multiple languages, but only English and French are maintained * by the developers. The other languages may be outdated, and any missing string for a langauge diff --git a/www/common/common-constants.js b/www/common/common-constants.js index 9eb3c4075..636adbc01 100644 --- a/www/common/common-constants.js +++ b/www/common/common-constants.js @@ -17,6 +17,6 @@ define(function () { // Sub plan: 'CryptPad_plan', // Apps - criticalApps: ['profile', 'settings', 'debug', 'admin'] + criticalApps: ['profile', 'settings', 'debug', 'admin', 'notifications'] }; }); diff --git a/www/notifications/app-notifications.less b/www/notifications/app-notifications.less new file mode 100644 index 000000000..e7daac6f8 --- /dev/null +++ b/www/notifications/app-notifications.less @@ -0,0 +1,16 @@ +@import (reference) '../../customize/src/less2/include/framework.less'; +@import (reference) '../../customize/src/less2/include/sidebar-layout.less'; + +&.cp-app-notifications { + + .framework_min_main( + @bg-color: @colortheme_notifications-bg, + @warn-color: @colortheme_notifications-warn, + @color: @colortheme_notifications-color + ); + .sidebar-layout_main(); + + display: flex; + flex-flow: column; +} + diff --git a/www/notifications/index.html b/www/notifications/index.html new file mode 100644 index 000000000..79a96c97b --- /dev/null +++ b/www/notifications/index.html @@ -0,0 +1,12 @@ + + +
+