remove stubbed 'user app'
parent
6a7752dd41
commit
c462f5ab2a
@ -1,20 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html class="cp">
|
|
||||||
<!-- If this file is not called customize.dist/src/template.html, it is generated -->
|
|
||||||
<head>
|
|
||||||
<title data-localization="main_title">CryptPad: Collaboration suite, encrypted and open-source</title>
|
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
||||||
<link rel="icon" type="image/png" href="/customize/favicon/main-favicon.png" id="favicon"/>
|
|
||||||
<script async data-bootload="main.js" data-main="/common/boot.js?ver=1.0" src="/bower_components/requirejs/require.js?ver=2.3.5"></script>
|
|
||||||
</head>
|
|
||||||
<body class="html">
|
|
||||||
<noscript>
|
|
||||||
<p><strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.</p>
|
|
||||||
<p><strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.</p>
|
|
||||||
</noscript>
|
|
||||||
<div id="mainBlock">
|
|
||||||
<div id="container"></div>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
@ -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 = $('<div>', { 'class': 'coming-soon' })
|
|
||||||
.text(Messages.comingSoon)
|
|
||||||
.append('<br>');
|
|
||||||
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();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
Loading…
Reference in New Issue