Go to file
2023-08-09 12:20:05 +02:00
.vscode VsCode editor setting 2023-07-23 16:47:11 +02:00
amd Finalized adding id number 2023-08-09 12:20:05 +02:00
classes Finalized adding id number 2023-08-09 12:20:05 +02:00
cli Groundwork for pages and periods in backend 2023-07-23 16:25:08 +02:00
css Created more specialized css variables 2023-08-08 23:09:22 +02:00
db Added idnumber and bugfix in invide name 2023-08-09 09:48:06 +02:00
doc Documentation update 2023-08-08 23:29:15 +02:00
lang Language typo fix 2023-08-09 12:05:34 +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 Minor context bugfix 2023-08-07 17:03:49 +02:00
invitations.php Added idnumber and bugfix in invide name 2023-08-09 09:48:06 +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 idnumber and bugfix in invide name 2023-08-09 09:48:06 +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); 
}