fix: profile and progress on dashboard

This commit is contained in:
pateljannat
2021-09-01 16:21:55 +05:30
parent cd4ffa2eff
commit 13b968e18c
19 changed files with 126 additions and 49 deletions

View File

@@ -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 {

View 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");
}
})

View File

@@ -0,0 +1 @@
import "./profile.js"