Done
This commit is contained in:
parent
fa996a6be6
commit
a5efbdea7a
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
<div class="col-2">
|
||||
<button kendoButton style="width: 100%; margin-right: 5%" (click)="onPreview('PDF')"
|
||||
class="k-primary gh-preview">Preview</button>
|
||||
class="k-primary gh-preview" [svgIcon]="apiService.KendoSVGIcon['filePdf']">Preview</button>
|
||||
</div>
|
||||
|
||||
<!-- <div class="col-2">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<app-loading-panel> </app-loading-panel>
|
||||
<div class="grid">
|
||||
<div class="grid mer-filters">
|
||||
<div class="col-12 md:col-3 lg:col-3">
|
||||
<label>From Date</label>
|
||||
<kendo-datepicker [format]="dateFormat" [(ngModel)]="fromDate" style="width:100%"></kendo-datepicker>
|
||||
|
|
@ -35,9 +35,10 @@
|
|||
</kendo-dropdownlist>
|
||||
</div>
|
||||
}
|
||||
<div class="col-12 md:col-12 lg:col-12" align="right">
|
||||
<button kendoButton class="k-primary gh-preview" style="width: 180px; margin-right: 5px" (click)="onPreview('PDF')">Preview</button>
|
||||
<button kendoButton class="k-primary gh-excel" style="width: 180px" (click)="onPreview('EXCEL')">Export</button>
|
||||
<!-- Preview / Export on the same row as the filters, right-aligned, level with the input boxes -->
|
||||
<div class="col-12 md:col-3 lg:col-3 mer-actions">
|
||||
<button kendoButton class="k-primary gh-preview" [svgIcon]="apiService.KendoSVGIcon['filePdf']" (click)="onPreview('PDF')">Preview</button>
|
||||
<button kendoButton class="k-primary gh-excel" [svgIcon]="apiService.KendoSVGIcon['fileExcel']" (click)="onPreview('EXCEL')">Export</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,4 +13,19 @@
|
|||
min-height: 700px;
|
||||
/* max-height: 100%;
|
||||
background-color: var(--gh-tb) !important; */
|
||||
}
|
||||
}
|
||||
|
||||
/* Filters and Preview / Export on one row: buttons right-aligned and level with the input boxes */
|
||||
.mer-filters {
|
||||
align-items: flex-end;
|
||||
}
|
||||
.mer-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: flex-end;
|
||||
gap: 8px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.mer-actions button {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,28 +1,20 @@
|
|||
<fieldset>
|
||||
<div class="grid" style="padding: 10px;">
|
||||
<div class="col-2 md:col-2 lg:col-2">
|
||||
<label>From Date</label>
|
||||
</div>
|
||||
<div class="col-3 md:col-3 lg:col-2">
|
||||
<kendo-datepicker [(ngModel)]="fromDate" [format]="fromDateFormat" [bottomView]="bottomView"
|
||||
[topView]="topview" style="width:100%"></kendo-datepicker>
|
||||
</div>
|
||||
<div class="col-2 md:col-2 lg:col-1">
|
||||
<label>Days</label>
|
||||
</div>
|
||||
<div class="col-2 md:col-3 lg:col-3">
|
||||
<input type="text" placeholder="180" [(ngModel)]="dayCount" kendoTextBox style="width:100%;" />
|
||||
</div>
|
||||
<div class="col-12 md:col-4 lg:col-4" align="right">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton class="k-primary gh-preview" (click)="preview('PDF')">Preview</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['fileExcel']" style="margin-left:3px;" kendoButton class="k-primary gh-excel"
|
||||
(click)="preview('EXCEL')">
|
||||
Export
|
||||
</button>
|
||||
</div>
|
||||
<fieldset class="uce-head">
|
||||
<div class="uce-head__field">
|
||||
<label>From Date</label>
|
||||
<kendo-datepicker [(ngModel)]="fromDate" [format]="fromDateFormat" [bottomView]="bottomView"
|
||||
[topView]="topview" style="width:100%"></kendo-datepicker>
|
||||
</div>
|
||||
<div class="uce-head__field">
|
||||
<label>Days</label>
|
||||
<input type="text" placeholder="180" [(ngModel)]="dayCount" kendoTextBox style="width:100%;" />
|
||||
</div>
|
||||
<div class="uce-head__actions">
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['filePdf']" kendoButton class="k-primary gh-preview" (click)="preview('PDF')">Preview</button>
|
||||
<button [svgIcon]="apiService.KendoSVGIcon['fileExcel']" kendoButton class="k-primary gh-excel"
|
||||
(click)="preview('EXCEL')">
|
||||
Export
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
||||
</fieldset>
|
||||
@if (showPopUp) {
|
||||
<div class="card" class="blur-background">
|
||||
|
|
|
|||
|
|
@ -13,4 +13,42 @@
|
|||
min-height: 700px;
|
||||
/* max-height: 100%;
|
||||
background-color: var(--gh-tb) !important; */
|
||||
}
|
||||
}
|
||||
|
||||
/* Page header: From Date + Days on the left, Preview / Export on the right (layout only, palette colours) */
|
||||
.uce-head {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
gap: 14px 16px;
|
||||
margin: 0 0 12px;
|
||||
padding: 16px;
|
||||
min-width: 0;
|
||||
background: var(--gh-tb);
|
||||
border: 1px solid var(--gh-bo);
|
||||
border-left: 4px solid var(--gh-btn);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.uce-head__field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
width: 220px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.uce-head__field > label {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
color: var(--gh-muted);
|
||||
}
|
||||
.uce-head__actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.uce-head__actions button {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user