1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 17:23:00 +00:00

Refactor the default peppermint.json nav more menu value

....but the supporting backend code isn't there yet.
This commit is contained in:
Starbeamrainbowlabs 2019-08-29 00:16:13 +01:00
parent 0427f8818f
commit 2c37d77f82
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -69,35 +69,42 @@
], ],
"menu" "menu"
]}, ]},
"nav_links_extra": { "type": "nav", "description": "An array of additional links in the above format that will be shown under \"More\" subsection.", "default": [ "nav_links_extra": { "type": "nav", "description": "An array of additional links in the above format that will be shown under \"More\" subsection.", "default": {
"Page": [
[ [
"⌛ Page History", "⌛ Page History",
"?action=history&page={page}" "?action=history&page={page}"
], ],
[
"📤 Upload",
"index.php?action=upload"
]
],
"Navigation": [
[ [
"🎫 All Tags", "🎫 All Tags",
"index.php?action=list-tags" "index.php?action=list-tags"
], ],
[
"👥 All Users",
"index.php?action=user-list"
],
[ [
"🎊 Random Page", "🎊 Random Page",
"?action=random" "?action=random"
], ],
[ [
"🗓 Recent changes", "📅 Recent changes",
"?action=recent-changes" "?action=recent-changes"
]
], ],
"Wiki": [
[ [
"📊 Statistics", "📊 Statistics",
"?action=stats" "?action=stats"
], ],
[ [
"🌥 Upload", "👥 All Users",
"index.php?action=upload" "index.php?action=user-list"
]
], ],
"Moderator": [
[ [
"◆ 🚫 Delete", "◆ 🚫 Delete",
"index.php?action=delete&page={page}" "index.php?action=delete&page={page}"
@ -114,7 +121,8 @@
"◆ 🔧 Edit master settings", "◆ 🔧 Edit master settings",
"index.php?action=configure" "index.php?action=configure"
] ]
]}, ]
} },
"nav_links_bottom": { "type": "nav", "description": "An array of links in the above format that will be shown at the bottom of the page.", "default": [ "nav_links_bottom": { "type": "nav", "description": "An array of links in the above format that will be shown at the bottom of the page.", "default": [
[ [
"🖨 Printable version", "🖨 Printable version",