stub invite app

pull/1/head
ansuz 2017-07-17 11:56:34 +02:00
parent 1aecdeb075
commit c452f25414
3 changed files with 30 additions and 0 deletions

View File

@ -5,6 +5,22 @@ define([
'/common/curve.js',
'less!/invite/main.less',
], function ($, Cryptpad, Listmap, Curve) {
var Messages = Cryptpad.Messages;
var comingSoon = function () {
return $('<div>', {
'class': 'coming-soon',
})
.text(Messages.comingSoon)
.append('<br>');
};
$(function () {
Cryptpad.removeLoadingScreen();
console.log("wut");
$('body #mainBlock').append(comingSoon());
});
return;
var APP = window.APP = {};
//var Messages = Cryptpad.Messages;

View File

@ -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;
}

View File

@ -164,6 +164,7 @@ define([
};
var addCreateInviteLinkButton = function ($container) {
return;
var obj = APP.lm.proxy;
var proxy = Cryptpad.getProxy();