Merge branch 'autosave' of github.com:xwiki-labs/cryptpad into autosave

pull/1/head
yflory 3 years ago
commit 0623467f24

@ -344,8 +344,6 @@
color: @cp_sidebar-hint; color: @cp_sidebar-hint;
margin-bottom: 10px; margin-bottom: 10px;
padding: 0; padding: 0;
text-align: center;
font-weight: bold;
} }
.cp-form-block-drag-handle { .cp-form-block-drag-handle {
@ -404,6 +402,7 @@
.cp-form-required-radio { .cp-form-required-radio {
flex-direction: row; flex-direction: row;
display: flex; display: flex;
margin-bottom: 20px;
span { span {
margin-right: 10px; margin-right: 10px;
&.cp-radio-mark { &.cp-radio-mark {

@ -91,8 +91,10 @@ define([
var saveAndCancelOptions = function (cb) { var saveAndCancelOptions = function (cb) {
Messages.form_preview_button = "Preview"; // XXX Messages.form_preview_button = "Preview"; // XXX
var cancelBlock = h('button.btn.btn-secondary.cp-form-preview-button', var cancelBlock = h('button.btn.btn-default.cp-form-preview-button',[
Messages.form_preview_button); h('i.fa.fa-eye'),
Messages.form_preview_button
]);
$(cancelBlock).click(function () { cb(undefined, true); }); $(cancelBlock).click(function () { cb(undefined, true); });
return cancelBlock; return cancelBlock;

Loading…
Cancel
Save