diff --git a/www/common/translations/messages.json b/www/common/translations/messages.json index fe864e2aa..856a42c6a 100644 --- a/www/common/translations/messages.json +++ b/www/common/translations/messages.json @@ -1339,7 +1339,7 @@ "admin_checkupTitle": "Validate instance configuration", "admin_checkupHint": "CryptPad includes a page which automatically diagnoses common configuration issues and suggests how to correct them if necessary.", "admin_checkupButton": "Run diagnostics", - "admin_contentToContactTitle": "Consent to contact", + "admin_consentToContactTitle": "Consent to contact", "admin_consentToContactHint": "Server telemetry includes the admin contact email so that the developers can notify you of serious problems with the software or your configuration. It will never be shared, sold, or used for marketing purposes. Consent to contact if you'd like to be informed of critical issues in your server.", "admin_consentToContactLabel": "I consent", "admin_listMyInstanceTitle": "List my instance in public directories", diff --git a/www/form/app-form.less b/www/form/app-form.less index 8fb892930..69be4a7cc 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -152,9 +152,9 @@ } .cp-form-creator-add-full { display: flex; - align-items: center; - margin: 50px 0px 100px 0px; - &> div:first-child { + flex-flow: column; + margin: 20px 0px 100px 0px; + &> div:first-child { // XXX + on the side border-right: 1px solid fade(@cryptpad_text_col, 25%); display: flex; height: 100%; @@ -162,14 +162,17 @@ padding-right: 10px; margin-right: 10px; i { - color: fade(@cryptpad_text_col, 25%); + color: @cryptpad_text_col; font-size: 30px; + width: 50px; + text-align: center; } } .cp-form-creator-control-inline { display: flex; flex-flow: column; justify-content: space-around; + margin-left: 50px; button:not(:last-child) { margin-right: 5px; } diff --git a/www/form/inner.js b/www/form/inner.js index 26d591320..bc3b579bb 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -1945,7 +1945,7 @@ define([ var full = !uid; var idx = content.order.indexOf(uid); var addControl = function (type) { - var btn = h('button.btn.btn-default', { + var btn = h('button.btn.btn-secondary', { title: full ? undefined : Messages['form_type_'+type] }, [ (TYPES[type] || STATIC_TYPES[type]).icon.cloneNode(), @@ -1990,10 +1990,13 @@ define([ $(add).toggleClass('displayed'); }); } + else { + $(add).append(h('span', Messages.tag_add)); + } var inlineCls = full ? '-full' : '-inline'; return h('div.cp-form-creator-add'+inlineCls, [ - h('div', add), + add, buttons ]);