diff --git a/www/user/index.html b/www/user/index.html deleted file mode 100644 index 3b32ea299..000000000 --- a/www/user/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CryptPad: Collaboration suite, encrypted and open-source - - - - - - - -
-
-
- - diff --git a/www/user/main.css b/www/user/main.css deleted file mode 100644 index 6cae7f5d5..000000000 --- a/www/user/main.css +++ /dev/null @@ -1,20 +0,0 @@ -html, body { - height: 100%; - margin: 0; - padding: 0; -} -.cp #mainBlock { - z-index: 1; - height: 100%; - width: 1000px; - max-width: 90%; - margin: auto; - display: flex; - align-items: center; - justify-content: center; -} -.cp #mainBlock #container { - text-align: center; - font-size: 25px; -} - diff --git a/www/user/main.js b/www/user/main.js deleted file mode 100644 index 45d1892a5..000000000 --- a/www/user/main.js +++ /dev/null @@ -1,38 +0,0 @@ -define([ - 'jquery', - '/common/cryptpad-common.js', - 'css!/user/main.css', -], function ($, Cryptpad) { - - var APP = window.APP = { - Cryptpad: Cryptpad, - _onRefresh: [] - }; - - var Messages = Cryptpad.Messages; - - var comingSoon = function () { - var $div = $('
', { 'class': 'coming-soon' }) - .text(Messages.comingSoon) - .append('
'); - console.log($div); - return $div; - }; - - var andThen = function () { - console.log(APP.$container); - APP.$container.append(comingSoon()); - }; - - $(function () { - var $main = $('#mainBlock'); - - // main block is hidden in case javascript is disabled - $main.removeClass('hidden'); - - APP.$container = $('#container'); - - andThen(); - }); - -});