Go to file
2023-08-04 23:18:57 +02:00
.vscode VsCode editor setting 2023-07-23 16:47:11 +02:00
amd Line layout tweaks 2023-08-04 22:54:32 +02:00
classes Added span editability 2023-08-04 23:18:57 +02:00
cli Groundwork for pages and periods in backend 2023-07-23 16:25:08 +02:00
css Line layout tweaks 2023-08-04 22:54:32 +02:00
db Added period span field to item table 2023-08-03 22:23:56 +02:00
doc Finished documentation 2023-07-03 23:28:46 +02:00
lang Course update permission check and warnings 2023-07-30 04:08:57 +02:00
test Tweaks in diagonal lines 2023-07-17 17:47:37 +02:00
.gitignore Added built files so update from git is an option 2023-08-04 22:39:58 +02:00
bootstrap-color-constants.png Added bootstrap color reference 2023-06-03 00:00:29 +02:00
build.php Changed build script to not remove existing files 2023-06-16 11:59:36 +02:00
build.sh Implemented vue dve/prod mode switch 2023-07-26 16:42:21 +02:00
cfg_grades.php Documentation update 2023-07-02 16:34:49 +02:00
doc.php Documentation update 2023-07-02 22:58:54 +02:00
edit-invite.php Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
edit-plan.php Multi-period courses drag and drop 2023-08-04 11:54:16 +02:00
invitations.php Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
invited.php Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
lib.php Syntax fix 2023-06-16 13:48:44 +02:00
LICENSE Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
myreport-embed.php Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
myreport.php Whitespace 2023-06-03 14:56:31 +02:00
README.md Added scrollbar styling 2023-07-07 17:22:48 +02:00
reports.php Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
settings.php Bugfixes 2023-07-04 23:38:08 +02:00
styles.css Loading recovered files from server crash 2023-05-17 21:19:14 +02:00
version.php Added period span field to item table 2023-08-03 22:23:56 +02:00
view-plan.php Auto get first available context on viewing 2023-06-16 13:49:05 +02:00
vuemode.sh Implemented vue dve/prod mode switch 2023-07-26 16:42:21 +02:00

moodle-local_treestudyplan

The studyplan plugin will automatically add links to the flat navigation bat used in Moodle 3.11 and below However, Moodle 4.0-4.2 use a new "primary navigation" bar, and does not yet support customizing the primary navigation bar (it is a planned feature though)

Use the following workaround: You can add custom primary menu items in Site administration -> Appearance -> Theme settings That page contains an item called "Custom menu items" Add the following into that area to custimize it // [your name for my studyplan]|/local/treestudyplan/myreport.php // [your name for studyplan viewing]|/local/treestudyplan/view-plan.php // [your name for studyplan managing]|/local/treestudyplan/edit-plan.php // For example:

Mijn studieplan|/local/treestudyplan/myreport.php||nl
Studieplannen|/local/treestudyplan/view-plan.php||nl
Studieplannen beheren|/local/treestudyplan/edit-plan.php||nl
My study plan|/local/treestudyplan/myreport.php||en
Study plans|/local/treestudyplan/view-plan.php||en
Manage Study plans|/local/treestudyplan/edit-plan.php||en

Dev Notepad

Size matching and grid view

Link to jsfiddle for size matching with different scroll area (frozen line headings): https://jsfiddle.net/pmkuipers/sfweghr1/4/ Use proper grid styling for column resizing (see same fiddle)

Scroll bar syling

example style with cross-browser support

:root{
  --primary: #006DDD;
 
}
div.scroll {
	height: 50em;
	overflow-y: scroll;
  	scrollbar-color: var(--primary) color-mix(in srgb, var(--primary) 20%, white);
  	scrollbar-width: thin;
}
div.scroll::-webkit-scrollbar {
  width: 8px;
}

/* Track */
div.scroll::-webkit-scrollbar-track {
  background:  color-mix(in srgb, var(--primary) 20%, white);
}
 
/* Handle */
div.scroll::-webkit-scrollbar-thumb {
  background:var(--primary); 
}