Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-22793. Notification popover layout issues #127

Merged
merged 1 commit into from Jan 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions ambari-web/app/styles/application.less
Expand Up @@ -2596,4 +2596,8 @@ a.abort-icon:hover {
padding: 10px;
max-height: 120px;
overflow: scroll;
}

#notifications-dropdown.dropdown-menu .notifications-header .notifications-title {
line-height: 30px;
}
30 changes: 15 additions & 15 deletions ambari-web/app/templates/main/alerts/alert_notifications_popup.hbs
Expand Up @@ -18,25 +18,25 @@

<div class="popup-arrow-up"></div>
<div class="notifications-header col-sm-12">
<div class="notifications-title">{{t alerts.dropdown.dialog.title}} ({{view.alertsNumber}})</div>
<div class="notifications-title pull-left">{{t alerts.dropdown.dialog.title}} ({{view.alertsNumber}})</div>
{{#if view.isLoaded}}
<div class="state-filter pull-right">
<span>{{t common.show}}:&nbsp;</span>
<div class="btn-group">
{{view Ember.Select
contentBinding="view.categories"
optionValuePath="content.value"
optionLabelPath="content.label"
selectionBinding="view.selectedCategory"
classNames="filter-select form-control"
}}
</div>
</div>
{{/if}}
</div>

<div class="notifications-body col-sm-12">
{{#if view.isLoaded}}
<div class="table-controls row">
<div class="state-filter pull-right">
<span>{{t common.show}}:&nbsp;</span>
<div class="btn-group">
{{view Ember.Select
contentBinding="view.categories"
optionValuePath="content.value"
optionLabelPath="content.label"
selectionBinding="view.selectedCategory"
classNames="filter-select form-control"
}}
</div>
</div>
</div>
<table class="alerts-table table table-hover">
<tbody>
{{#if view.isAlertEmptyList}}
Expand Down