LP1825851 Improve organization of sandbox print tests
authorBill Erickson <berickxx@gmail.com>
Wed, 10 Jul 2019 20:16:46 +0000 (16:16 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 10 Jul 2019 20:16:48 +0000 (16:16 -0400)
Group the print buttons into one section of the page.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html

index d77bbcd..403beeb 100644 (file)
 
 <!-- printing -->
 
-<button class="btn btn-secondary" (click)="doPrint()">Test Print</button>
-<ng-template #printTemplate let-context>Hello, {{context.world}}!</ng-template>
+<h4>PRINTING</h4>
 
-<button class="btn btn-secondary" (click)="printWithDialog()">Print with dialog</button>
+<div class="d-flex">
+  <div class="mr-2">
+    <button class="btn btn-info" (click)="doPrint()">Test Local Print</button>
+    <ng-template #printTemplate let-context>Hello, {{context.world}}!</ng-template>
+  </div>
+  <div class="mr-2">
+    <button class="btn btn-info" (click)="printWithDialog()">
+      Print with dialog (Hatch Only)
+    </button>
+  </div>
+  <div class="mr-2">
+    <button class="btn btn-info" 
+      (click)="testServerPrint()">Test Server-Generated Print</button>
+  </div>
+</div>
 
 <br/><br/>
 <div class="row">
     datatype="timestamp" [datePlusTime]="true"></eg-grid-column>
 </eg-grid>
 
-<h4>Test Server Print Template</h4>
-<button class="btn btn-info" (click)="testServerPrint()">GO</button>
-
 <br/><br/>
 
 <h4>PCRUD auto flesh and FormatService detection</h4>