diff --git a/Web/Presenters/templates/Documents/components/doc.xml b/Web/Presenters/templates/Documents/components/doc.xml index 48baf653a..2c0f846b3 100644 --- a/Web/Presenters/templates/Documents/components/doc.xml +++ b/Web/Presenters/templates/Documents/components/doc.xml @@ -14,7 +14,7 @@ {/if}
- {$doc->getName()} + {$doc->getName()}
{$doc->getPublicationTime()}, diff --git a/Web/Presenters/templates/components/attachment.xml b/Web/Presenters/templates/components/attachment.xml index 7ea8557b6..bf03717fe 100644 --- a/Web/Presenters/templates/components/attachment.xml +++ b/Web/Presenters/templates/components/attachment.xml @@ -73,7 +73,7 @@
diff --git a/Web/static/js/al_docs.js b/Web/static/js/al_docs.js index cb6385684..23ca414db 100644 --- a/Web/static/js/al_docs.js +++ b/Web/static/js/al_docs.js @@ -18,6 +18,7 @@ function showDocumentUploadDialog(target = null, append_to_url = null, after_upl `, buttons: [tr('close')], callbacks: [Function.noop], + unique_name: "doc_upload_dialog", }) cmsg.getNode().find('.ovk-diag-body').attr('style', "padding:15px;") @@ -126,6 +127,7 @@ u(document).on('click', '.docMainItem #edit_icon', async (e) => { } const cmsg_2 = new CMessageBox({ + unique_name: "document_edit_modal", title: tr("document_editing_in_general"), body: `

${tr("info_name")}

@@ -401,7 +403,7 @@ async function __docAttachment(form, ctx = "wall", source = "user", source_arg = res.find(".docMainItem").attr("style", "width: 85%;") res.append(`
- ${this.isDocAttached(id) ? tr("detach") : tr("attach")} + ${this.isDocAttached(id) ? tr("detach") : tr("attach")}
`) u('#_attachment_insert .docsInsert').append(res) diff --git a/themepacks/midnight/stylesheet.css b/themepacks/midnight/stylesheet.css index 7890d6b19..f8984a981 100644 --- a/themepacks/midnight/stylesheet.css +++ b/themepacks/midnight/stylesheet.css @@ -8,10 +8,14 @@ html { body, #backdropDripper, -#standaloneCommentBox, +#standaloneCommentBox { + background-color: #0e0b1a; + color: #c6d2e8; +} + .ovk-photo-view, .articleView { - background-color: #0e0b1a; + background-color: #100539; color: #c6d2e8; } @@ -633,3 +637,24 @@ ul { border: 1px solid #383052; background: #1e1b2a; } + +#docs_page_wrapper .docs_page_search { + background: #1d1a27; + border-bottom: #2a2841 solid 1px; +} + +.docListViewItem { + border-bottom-color: #2a2841; +} + +.docListViewItem:hover, .attachButton:hover { + background: #271c48; +} + +.docListViewItem .doc_icon { + background: #33255e; +} + +.docListViewItem .doc_content b { + color: #7c94c5; +}