Skip to content

Commit

Permalink
Style select element properly; Add titles to report
Browse files Browse the repository at this point in the history
  • Loading branch information
adeolabadmus committed Mar 7, 2017
1 parent f0ee0b3 commit 43ec7f1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,9 @@ export default {
},
reports: {
titles: {
saved: 'The report has been saved'
saved: 'Report saved',
opdTitle: 'OPD Report',
dischargeReport: 'Discharge Report'
},
form: {
visitDate: 'Date of Visit',
Expand Down
5 changes: 5 additions & 0 deletions app/reports/edit/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
{{#if headerLine3}}
<span>{{headerLine3}}</span><br>
{{/if}}
{{#if isOutPatient}}
<h3>{{t 'reports.titles.opdTitle' }}</h3>
{{else}}
<h3>{{t 'reports.titles.dischargeReport' }}</h3>
{{/if}}
</div>
<div class="report">
{{#edit-panel editPanelProps=editPanelProps}}
Expand Down
8 changes: 8 additions & 0 deletions app/styles/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
font-size: .8em;
}

.report select {
-webkit-appearance: none;
-moz-appearance: none;
outline: 0;
border: 0;
text-overflow: '';
}

.report .panel-primary {
position: absolute;
left: 0;
Expand Down

0 comments on commit 43ec7f1

Please sign in to comment.