Skip to content

Commit

Permalink
fix: place export button above the table
Browse files Browse the repository at this point in the history
  • Loading branch information
Akanksh Saxena authored and velrest committed Jan 27, 2022
1 parent f292beb commit 6917c0e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion frontend/app/styles/pages/subscriptions/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
&__button {
@extend .uk-button;
@extend .uk-button-default;
@extend .uk-margin-right;
@extend .uk-align-right;
}

&__hint {
Expand Down
25 changes: 10 additions & 15 deletions frontend/app/subscriptions/list/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@
<label class="form__label" for="form-filter">
{{~t "page.subscriptions.list.filter"~}}
</label>
<span class="subscription-export">
<button
{{on "click" this.export}}
class="subscription-export__button"
type="button"
title={{~t "page.subscriptions.list.export.hint"~}}
>
{{~t "page.subscriptions.list.export.label"~}}
</button>
</span>
</p>

<div class="data-table">
Expand Down Expand Up @@ -91,20 +101,5 @@
</tbody>
</table>
</div>

<p class="subscription-export">
<button
{{on "click" this.export}}
class="subscription-export__button"
type="button"
>
{{~t "page.subscriptions.list.export.label"~}}
</button>

<span class="subscription-export__hint">
{{~t "page.subscriptions.list.export.hint"~}}
</span>
</p>

</div>
</section>

0 comments on commit 6917c0e

Please sign in to comment.