aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-09-18 00:27:20 +0200
committerpolo <ordipolo@gmx.fr>2025-09-18 00:27:20 +0200
commitfa3c582a2bd91433399a5b275616052028a5a011 (patch)
tree64a5c2c0eb54dc033fb5ed78ed69745bd492aa05 /public
parent027af942de75f7c5bc519fabfa5fa11de9bc89ea (diff)
downloadcms-fa3c582a2bd91433399a5b275616052028a5a011.zip
news positionnées en fonction de leur date, suppression de leurs boutons position, améliorations routage page article, bouton share en bas pour les news
Diffstat (limited to 'public')
-rw-r--r--public/css/body.css12
-rw-r--r--public/js/tinymce.js6
2 files changed, 11 insertions, 7 deletions
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
7 background-color: #0cceec; 7 background-color: #0cceec;
8} 8}
9 9
10.hidden{
11 display: none;
12}
13
14#bloc_page 10#bloc_page
15{} 11{}
16 12
@@ -176,8 +172,7 @@ button .action_icon:hover
176} 172}
177.delete_button 173.delete_button
178{ 174{
179 float: right; 175 margin-right: 2px;
180 margin-left: 2px;
181} 176}
182section button, section input[type=submit] 177section button, section input[type=submit]
183{ 178{
@@ -238,4 +233,9 @@ article a:hover
238 { 233 {
239 grid-template-columns: repeat(2, 1fr); 234 grid-template-columns: repeat(2, 1fr);
240 } 235 }
236}
237
238.article_admin_zone p
239{
240 align-self: center;
241} \ No newline at end of file 241} \ 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
332 content = this.tiny_instance.getContent(); 332 content = this.tiny_instance.getContent();
333 } 333 }
334 334
335 let fetch_params = {id: this.id, content: content}; 335 let fetch_params = {
336 id: this.id,
337 content: content,
338 from: new URLSearchParams(window.location.search).get('from') // le "$_GET" de javascript
339 };
336 if(this.placement){ 340 if(this.placement){
337 fetch_params['placement'] = this.placement; 341 fetch_params['placement'] = this.placement;
338 } 342 }