moodle-an-hochschulen / moodle-local_staticpage

Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme
GNU General Public License v3.0
46 stars 28 forks source link

Improvement: Overview “List of static pages” #74

Open stdoma opened 2 months ago

stdoma commented 2 months ago

I used the plugin in different scenarios. - Moodle: 4.4.2 / Plugin: v4.3-r2 (2023102001) With the “List of static pages” I can perform individual checks.

If you have a lot of documents in the overview, it is sometimes difficult to find your way around. I have made a few CSS adjustments so that the overview looks a little more like the usual system overviews.

This is probably not suitable for direct integration. Maybe it is an impulse for smaller adjustments.

body#page-admin-local-staticpage-settings_pagelist div[role="main"] ul {list-style-type: none; padding-left: 0;} body#page-admin-local-staticpage-settings_pagelist div[role="main"] ul li {margin: 0px; padding: 10px 20px; border-bottom: 1px solid #dee2e6;} body#page-admin-local-staticpage-settings_pagelist div[role="main"] ul li:nth-child(even) {background-color: #f8f9fa;} body#page-admin-local-staticpage-settings_pagelist div[role="main"] ul li p:last-child {margin-bottom: 0;}