From 476f1b24a784890e985005516b29bfbc37bbae5a Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 20 Jul 2018 14:27:49 +0200 Subject: [PATCH] Improved posts UI --- assets/css/pages/groups/sections/posts.css | 6 +++++- assets/css/pages/userPage/posts.css | 9 +++++++++ assets/js/pages/groups/sections/posts.js | 2 +- assets/js/pages/userPage/posts.js | 2 +- system/config/dev.config.php | 1 + 5 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 assets/css/pages/userPage/posts.css diff --git a/assets/css/pages/groups/sections/posts.css b/assets/css/pages/groups/sections/posts.css index f67ae5a1..58818605 100644 --- a/assets/css/pages/groups/sections/posts.css +++ b/assets/css/pages/groups/sections/posts.css @@ -2,4 +2,8 @@ * Groups posts section stylesheet * * @author Pierre HUBERT - */ \ No newline at end of file + */ + +.box-group-posts .second-user-area { + display: none; +} \ No newline at end of file diff --git a/assets/css/pages/userPage/posts.css b/assets/css/pages/userPage/posts.css new file mode 100644 index 00000000..0a867bf9 --- /dev/null +++ b/assets/css/pages/userPage/posts.css @@ -0,0 +1,9 @@ +/** + * User posts stylesheet + * + * @author Pierre HUBERT + */ + +.box-user-posts .second-user-area { + display: none; +} \ No newline at end of file diff --git a/assets/js/pages/groups/sections/posts.js b/assets/js/pages/groups/sections/posts.js index c985246b..fcbebee9 100644 --- a/assets/js/pages/groups/sections/posts.js +++ b/assets/js/pages/groups/sections/posts.js @@ -37,7 +37,7 @@ ComunicWeb.pages.groups.sections.posts = { var postsBody = createElem2({ appendTo: target, type: "div", - class: "box box-primary" + class: "box box-primary box-group-posts" }); var postsBody = createElem2({ diff --git a/assets/js/pages/userPage/posts.js b/assets/js/pages/userPage/posts.js index 7094029d..069836f7 100644 --- a/assets/js/pages/userPage/posts.js +++ b/assets/js/pages/userPage/posts.js @@ -33,7 +33,7 @@ ComunicWeb.pages.userPage.posts = { var postsBlock = createElem2({ appendTo: target, type: "div", - class: "box box-primary" + class: "box box-primary box-user-posts" }); var postsBody = createElem2({ diff --git a/system/config/dev.config.php b/system/config/dev.config.php index a4a69ac6..6593868b 100644 --- a/system/config/dev.config.php +++ b/system/config/dev.config.php @@ -207,6 +207,7 @@ class Dev { "css/pages/userPage/main.css", "css/pages/userPage/accessForbidden.css", "css/pages/userPage/profileInfos.css", + "css/pages/userPage/posts.css", //Post page "css/pages/postPage/main.css",