mas css, la parte de adminn esta casi casi <3
This commit is contained in:
3
resources/js/admin.js
vendored
3
resources/js/admin.js
vendored
@@ -1,4 +1,7 @@
|
||||
switch(window.location.pathname){
|
||||
case "/admin":
|
||||
document.getElementById("title-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
case "/admin/posts":
|
||||
document.getElementById("posts-link").classList.add("pure-menu-highlight");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user