fix: profile and progress on dashboard
This commit is contained in:
@@ -1148,13 +1148,18 @@ input[type=checkbox] {
|
||||
}
|
||||
}
|
||||
|
||||
.zindex {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.progress {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: #318AD8;
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.progress-percentage {
|
||||
|
||||
6
community/public/js/profile.js
Normal file
6
community/public/js/profile.js
Normal file
@@ -0,0 +1,6 @@
|
||||
frappe.ready(() => {
|
||||
if (frappe.session.user == "Guest") {
|
||||
var link_array = $('.nav-link').filter((i, elem) => $(elem).text().trim() === "My Profile");
|
||||
link_array.length && $(link_array[0]).addClass("hide");
|
||||
}
|
||||
})
|
||||
1
community/public/js/website.bundle.js
Normal file
1
community/public/js/website.bundle.js
Normal file
@@ -0,0 +1 @@
|
||||
import "./profile.js"
|
||||
Reference in New Issue
Block a user