stub invite app
This commit is contained in:
@@ -5,6 +5,22 @@ define([
|
|||||||
'/common/curve.js',
|
'/common/curve.js',
|
||||||
'less!/invite/main.less',
|
'less!/invite/main.less',
|
||||||
], function ($, Cryptpad, Listmap, Curve) {
|
], 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 APP = window.APP = {};
|
||||||
|
|
||||||
//var Messages = Cryptpad.Messages;
|
//var Messages = Cryptpad.Messages;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
/*
|
||||||
.cp {
|
.cp {
|
||||||
#mainBlock {
|
#mainBlock {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -135,3 +136,15 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
.coming-soon {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 25px;
|
||||||
|
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|||||||
@@ -164,6 +164,7 @@ define([
|
|||||||
};
|
};
|
||||||
|
|
||||||
var addCreateInviteLinkButton = function ($container) {
|
var addCreateInviteLinkButton = function ($container) {
|
||||||
|
return;
|
||||||
var obj = APP.lm.proxy;
|
var obj = APP.lm.proxy;
|
||||||
|
|
||||||
var proxy = Cryptpad.getProxy();
|
var proxy = Cryptpad.getProxy();
|
||||||
|
|||||||
Reference in New Issue
Block a user