diff --git a/www/invite/main.js b/www/invite/main.js index 0ad8138e7..7f216892c 100644 --- a/www/invite/main.js +++ b/www/invite/main.js @@ -5,6 +5,22 @@ define([ '/common/curve.js', 'less!/invite/main.less', ], function ($, Cryptpad, Listmap, Curve) { + var Messages = Cryptpad.Messages; + var comingSoon = function () { + return $('
', { + 'class': 'coming-soon', + }) + .text(Messages.comingSoon) + .append('
'); + }; + + $(function () { + Cryptpad.removeLoadingScreen(); + console.log("wut"); + $('body #mainBlock').append(comingSoon()); + }); + return; + var APP = window.APP = {}; //var Messages = Cryptpad.Messages; diff --git a/www/invite/main.less b/www/invite/main.less index d3d3f2e07..4ef2a8fa4 100644 --- a/www/invite/main.less +++ b/www/invite/main.less @@ -1,3 +1,4 @@ +/* .cp { #mainBlock { z-index: 1; @@ -135,3 +136,15 @@ justify-content: center; } } +*/ + +.coming-soon { + text-align: center; + font-size: 25px; + + height: 100%; + display: flex; + flex-flow: column; + align-items: center; + justify-content: center; +} diff --git a/www/profile/main.js b/www/profile/main.js index 03ec334d8..364b6ea87 100644 --- a/www/profile/main.js +++ b/www/profile/main.js @@ -164,6 +164,7 @@ define([ }; var addCreateInviteLinkButton = function ($container) { + return; var obj = APP.lm.proxy; var proxy = Cryptpad.getProxy();