lint compliance
This commit is contained in:
parent
c91d89dc0c
commit
71fa786842
4 changed files with 8 additions and 17 deletions
|
@ -127,22 +127,22 @@
|
|||
margin-bottom: 0;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
th{
|
||||
th {
|
||||
max-width: 60vw;
|
||||
border: 1px solid #777;
|
||||
padding: 7px;
|
||||
}
|
||||
td{
|
||||
td {
|
||||
padding: 2px;
|
||||
}
|
||||
.cp-checkmark{
|
||||
.cp-checkmark {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.cp-broadcast-container{
|
||||
.cp-broadcast-container {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
.cp-broadcast-lang{
|
||||
.cp-broadcast-lang {
|
||||
order: 4;
|
||||
margin: 30px;
|
||||
margin-bottom: 0;
|
||||
|
@ -150,10 +150,6 @@
|
|||
flex-flow: column;
|
||||
align-items: baseline;
|
||||
}
|
||||
.button.btn.primary.cp-report{
|
||||
margin-left: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
table {
|
||||
.cp-strong {
|
||||
font-weight: bold;
|
||||
|
|
|
@ -214,8 +214,7 @@ define([
|
|||
|
||||
sidebar.addItem = (key, get, options) => {
|
||||
const safeKey = keyToCamlCase(key);
|
||||
get((content, config) => {
|
||||
config = config || {};
|
||||
get((content) => {
|
||||
options = options || {};
|
||||
const title = options.noTitle ? undefined : h('label.cp-item-label', {
|
||||
id: `cp-${app}-${key}`
|
||||
|
|
|
@ -48,8 +48,6 @@ define([
|
|||
|
||||
var Nacl = window.nacl;
|
||||
var common;
|
||||
var metadataMgr;
|
||||
var privateData;
|
||||
var sFrameChan;
|
||||
|
||||
var andThen = function (common, $container) {
|
||||
|
@ -468,7 +466,7 @@ define([
|
|||
row(archiveAccountLabel, archiveAccountButton);
|
||||
|
||||
// archive owned documents
|
||||
/* // TODO not implemented
|
||||
/* // TODO not implemented
|
||||
var archiveDocuments = () => {
|
||||
justifyRestorationDialog(Messages.admin_archiveDocumentsConfirm, reason => {
|
||||
sframeCommand('ARCHIVE_OWNED_DOCUMENTS', {
|
||||
|
@ -3395,8 +3393,6 @@ define([
|
|||
if (!common.isAdmin()) { return; }
|
||||
updateStatus(waitFor());
|
||||
}).nThen(function( /*waitFor*/ ) {
|
||||
metadataMgr = common.getMetadataMgr();
|
||||
privateData = metadataMgr.getPrivateData();
|
||||
common.setTabTitle(Messages.adminPage || 'Administration');
|
||||
|
||||
if (!common.isAdmin()) {
|
||||
|
|
|
@ -35,7 +35,7 @@ define([
|
|||
category = window.location.hash.slice(1);
|
||||
window.location.hash = '';
|
||||
}
|
||||
var addData = function (obj, Cryptpad, user, Utils) {
|
||||
var addData = function (obj) {
|
||||
if (category) { obj.category = category; }
|
||||
};
|
||||
SFCommonO.start({
|
||||
|
|
Loading…
Reference in a new issue