Skip to content

Commit

Permalink
fix(trialBalance): align exporter/error buttons
Browse files Browse the repository at this point in the history
This commit fixes the alignment bugs in the exporter and error buttons.
It also makes the exporter button a normal button, instead of a
"success" button.

Closes #1680.
  • Loading branch information
jniles committed May 30, 2017
1 parent 36e72c9 commit 0cd471d
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions client/src/modules/journal/modals/trialBalanceMain.body.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,9 @@
<!-- exportation -->
<div class="row text-right" style="margin: 5px;">
<div class="col-xs-12">
<button
id="export"
type="button"
class="btn btn-success"
ng-click="TrialBalanceMainBodyCtrl.exportGrid()">
<i class="fa fa-file-excel-o"></i>
<span translate>FORM.BUTTONS.EXPORT</span>
</button>
</div>
</div>

<div class="row" style="margin: 5px;" ng-if="TrialBalanceMainBodyCtrl.showErrorButton">
<div class="col-xs-4">
<!-- tools for data validation and export -->
<div class="row " style="margin: 5px;">
<div class="col-xs-6">
<button
type="button"
class="btn"
class="btn btn-default"
ng-class="{
'btn-danger' : TrialBalanceMainBodyCtrl.feedBack.hasError,
'btn-warning': TrialBalanceMainBodyCtrl.feedBack.hasWarning,
Expand All @@ -28,6 +15,17 @@
<span translate>FORM.BUTTONS.VIEW_ERRORS</span>
</button>
</div>

<div class="col-xs-6 text-right">
<button
id="export"
type="button"
class="btn btn-default"
ng-click="TrialBalanceMainBodyCtrl.exportGrid()">
<i class="fa fa-file-excel-o"></i>
<span translate>FORM.BUTTONS.EXPORT</span>
</button>
</div>
</div>

<div
Expand Down

0 comments on commit 0cd471d

Please sign in to comment.