From c452f25414ee472ac13ff697109642711e46a538 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 17 Jul 2017 11:56:34 +0200 Subject: [PATCH] stub invite app --- www/invite/main.js | 16 ++++++++++++++++ www/invite/main.less | 13 +++++++++++++ www/profile/main.js | 1 + 3 files changed, 30 insertions(+) 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();