Fix initial text not removed in /contacts
This commit is contained in:
@@ -49,11 +49,12 @@ define([
|
||||
|
||||
Cryptpad.initMessaging(Cryptpad, $list, $messages);
|
||||
|
||||
var $title = $('<h2>').text(Messages.contacts_info1).appendTo($messages);
|
||||
var $ul = $('<ul>').appendTo($messages);
|
||||
var $infoBlock = $('<div>', {'class': 'info'}).appendTo($messages);
|
||||
$('<h2>').text(Messages.contacts_info1).appendTo($infoBlock);
|
||||
var $ul = $('<ul>').appendTo($infoBlock);
|
||||
$('<li>').text(Messages.contacts_info2).appendTo($ul);
|
||||
$('<li>').text(Messages.contacts_info3).appendTo($ul);
|
||||
$('<li>').text(Messages.contacts_info4).appendTo($ul);
|
||||
//$('<li>').text(Messages.contacts_info4).appendTo($ul);
|
||||
|
||||
Cryptpad.removeLoadingScreen();
|
||||
};
|
||||
|
||||
@@ -98,6 +98,9 @@ body {
|
||||
height: 100%;
|
||||
background-color: lighten(@bg-color, 20%);
|
||||
min-width: 0;
|
||||
.info {
|
||||
padding: 20px;
|
||||
}
|
||||
.header {
|
||||
background-color: lighten(@bg-color, 15%);
|
||||
padding: 10px;
|
||||
|
||||
Reference in New Issue
Block a user