Juanfran 2014-09-08 13:57:38 +02:00
parent e96604d29e
commit ef4c95d84a
8 changed files with 1306 additions and 2 deletions

View File

@ -60,6 +60,11 @@ class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.F
promise.then =>
@appTitle.set("Backlog - " + @scope.project.name)
tgLoader.pageLoaded()
$(".backlog, .sidebar").mCustomScrollbar({
theme: 'minimal-dark'
scrollInertia: 0
axis: 'y'
})
# On Error
promise.then null, (xhr) =>

View File

@ -59,6 +59,13 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
@appTitle.set("Kanban - " + @scope.project.name)
tgLoader.pageLoaded()
$(".task-column").mCustomScrollbar({
theme: 'minimal-dark'
scrollInertia: 0
axis: 'y'
})
# On Error
promise.then null, (xhr) =>
if xhr and xhr.status == 404

View File

@ -22,3 +22,10 @@
}
}
}
.menu-secondary.sidebar,
.backlog {
height: 100vh;
overflow-x: auto;
}

View File

@ -14,3 +14,12 @@
margin-bottom: 1rem;
}
}
.task-column {
height: 100vh;
overflow-x: auto;
padding-right: 17px;
.mCS-minimal-dark {
opacity: 1!important;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -71,7 +71,8 @@
"isMobile": "~0.3.1",
"favico.js": "0.3.4",
"Sortable": "~0.1.8",
"pikaday": "~1.2.0"
"pikaday": "~1.2.0",
"malihu-custom-scrollbar-plugin": "~3.0.4"
},
"resolutions": {
"lodash": "~2.4.1",

View File

@ -74,7 +74,8 @@ paths = {
"app/vendor/jquery-flot/jquery.flot.time.js",
"app/vendor/flot-axislabels/jquery.flot.axislabels.js",
"app/vendor/jquery-textcomplete/jquery.textcomplete.js",
"app/vendor/markitup/markitup/jquery.markitup.js"
"app/vendor/markitup/markitup/jquery.markitup.js",
"app/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js",
"app/js/jquery.ui.git.js",
"app/js/sha1.js",
"app/plugins/**/*.js"

View File

@ -4,6 +4,8 @@ linters:
CapitalizationInSelector:
enabled: true
ignored_names:
- "mCS-minimal-dark"
ColorKeyword:
enabled: true