From fa3c582a2bd91433399a5b275616052028a5a011 Mon Sep 17 00:00:00 2001 From: polo Date: Thu, 18 Sep 2025 00:27:20 +0200 Subject: =?UTF-8?q?news=20positionn=C3=A9es=20en=20fonction=20de=20leur=20?= =?UTF-8?q?date,=20suppression=20de=20leurs=20boutons=20position,=20am?= =?UTF-8?q?=C3=A9liorations=20routage=20page=20article,=20bouton=20share?= =?UTF-8?q?=20en=20bas=20pour=20les=20news?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/body.css | 12 ++++++------ public/js/tinymce.js | 6 +++++- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'public') diff --git a/public/css/body.css b/public/css/body.css index d60f28c..f8e4f81 100644 --- a/public/css/body.css +++ b/public/css/body.css @@ -7,10 +7,6 @@ body background-color: #0cceec; } -.hidden{ - display: none; -} - #bloc_page {} @@ -176,8 +172,7 @@ button .action_icon:hover } .delete_button { - float: right; - margin-left: 2px; + margin-right: 2px; } section button, section input[type=submit] { @@ -238,4 +233,9 @@ article a:hover { grid-template-columns: repeat(2, 1fr); } +} + +.article_admin_zone p +{ + align-self: center; } \ No newline at end of file diff --git a/public/js/tinymce.js b/public/js/tinymce.js index d6b0bf8..81ba8ea 100644 --- a/public/js/tinymce.js +++ b/public/js/tinymce.js @@ -332,7 +332,11 @@ class Editor content = this.tiny_instance.getContent(); } - let fetch_params = {id: this.id, content: content}; + let fetch_params = { + id: this.id, + content: content, + from: new URLSearchParams(window.location.search).get('from') // le "$_GET" de javascript + }; if(this.placement){ fetch_params['placement'] = this.placement; } -- cgit v1.2.3