Skip to content

Commit

Permalink
Merge pull request #3 from digiaiiris/feature/IISCRUM-1319
Browse files Browse the repository at this point in the history
feature/IISCRUM-1319
  • Loading branch information
Timo Myllymäki authored Feb 11, 2020
2 parents 2887868 + 055a8c5 commit f12c25d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/panel-triggers/components/AlertList/AlertList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ export default class AlertList extends PureComponent<AlertListProps, AlertListSt
)}
</ol>
</section>

{(currentProblems.length === 0
? <div className="no-data-container">Ei aktiivisia häiriöitä</div>
: null)
}
<div className="triggers-panel-footer" key="alertListFooter">
<PaginationControl
itemsLength={problems.length}
Expand Down
13 changes: 13 additions & 0 deletions src/sass/_panel-triggers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,19 @@
}
}

.no-data-container {
width: 100%;
height: 40px;
color: #333;
font-weight: 600;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}

.zabbix-trigger-name {
font-weight: bold;
}
Expand Down

0 comments on commit f12c25d

Please sign in to comment.