Merge branch 'support' of github.com:xwiki-labs/cryptpad into notifications
commit
cc92be85cb
@ -0,0 +1,69 @@
|
||||
@import (reference) "./colortheme-all.less";
|
||||
.support_main () {
|
||||
@ticket-bg: #F7F7F7;
|
||||
@msg-bg: #eee;
|
||||
@fromme-bg: #ddd;
|
||||
.cp-support-container {
|
||||
.cp-support-list-ticket {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
background-color: @ticket-bg;
|
||||
padding: 10px;
|
||||
width: 1200px;
|
||||
max-width: 90%;
|
||||
margin: 5px auto;
|
||||
.cp-support-list-message {
|
||||
background-color: @msg-bg;
|
||||
margin: 2px;
|
||||
padding: 2px 5px;
|
||||
.cp-support-fromme {
|
||||
background-color: @fromme-bg;
|
||||
}
|
||||
.cp-support-showdata {
|
||||
cursor: pointer;
|
||||
background-color: @fromme-bg;
|
||||
.cp-support-message-data {
|
||||
display: none;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.cp-support-message-time {
|
||||
float: right;
|
||||
}
|
||||
pre {
|
||||
margin-bottom: 0;
|
||||
&.cp-support-message-content {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cp-support-list-actions {
|
||||
order: 3;
|
||||
.cp-support-hide {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.cp-support-form-container {
|
||||
order: 2;
|
||||
}
|
||||
&.cp-support-list-closed {
|
||||
.cp-support-list-actions {
|
||||
display: block !important;
|
||||
.cp-support-answer, .cp-support-close {
|
||||
display: none;
|
||||
}
|
||||
.cp-support-hide {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
.cp-support-form-container {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
/* jshint esversion: 6, node: true */
|
||||
|
||||
const Nacl = require('tweetnacl');
|
||||
const Crypto = require('crypto');
|
||||
|
||||
const keyPair = Nacl.box.keyPair();
|
||||
console.log(keyPair);
|
||||
|
||||
console.log("You've just generated a new key pair for your support mailbox.");
|
||||
|
||||
console.log("The public key should first be added to your config.js file ('supportMailboxPublicKey'), then save and restart the server.")
|
||||
console.log("The public key should first be added to your config.js file ('supportMailboxPublicKey'), then save and restart the server.");
|
||||
console.log("Once restarted, administrators (specified with 'adminKeys' in config.js too) will be able to add the private key into their account. This can be done using the administration panel.");
|
||||
console.log("You will have to send the private key to each administrator manually so that they can add it to their account.");
|
||||
console.log();
|
Loading…
Reference in New Issue