]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Refactor log pipe
authorSebastian Krah <skrah@suse.com>
Tue, 29 Jan 2019 13:32:52 +0000 (14:32 +0100)
committerSebastian Krah <skrah@suse.com>
Tue, 29 Jan 2019 13:59:14 +0000 (14:59 +0100)
commit2a42aef5d55d7f741b773c4a841d3cc008c58441
treee2d670b7d5c1f01b72e72c5c936559fae27eb8af
parent03683460028d2e584513e1de46ab3732f078c733
mgr/dashboard: Refactor log pipe

The pipe returns a class name instead of an object now. This has the advantage,
that the layout can be modified directly in scss and keeps the code seperated
from the layout.

Fixes: https://tracker.ceph.com/issues/37916
Signed-off-by: Sebastian Krah <skrah@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts