LP1806087 Angular staff catalog phase II.
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / catalog / record / record.component.html
1
2 <div id="staff-catalog-record-container">
3   <div class="row ml-0 mr-0">
4     <div id='staff-catalog-bib-navigation'>
5       <div *ngIf="searchContext.isSearchable()">
6         <eg-catalog-record-pagination [recordId]="recordId">
7         </eg-catalog-record-pagination>
8       </div>
9     </div>
10     <!-- push the actions component to the right -->
11     <div class="flex-1"></div>
12     <div id='staff-catalog-bib-navigation'>
13       <eg-catalog-record-actions [recordId]="recordId">
14       </eg-catalog-record-actions>
15     </div>
16   </div>
17   <div id='staff-catalog-bib-summary-container' class='mt-1'>
18     <eg-bib-summary [bibSummary]="summary">
19     </eg-bib-summary>
20   </div>
21   <div id='staff-catalog-bib-tabs-container' class='mt-3'>
22     <div class="row">
23       <div class="col-lg-12 text-right">
24         <button class="btn btn-secondary btn-sm" 
25             [disabled]="recordTab == defaultTab"
26             (click)="setDefaultTab()" i18n>Set Default View</button>
27       </div>
28     </div>
29     <ngb-tabset #recordTabs [activeId]="recordTab" (tabChange)="onTabChange($event)">
30       <ngb-tab title="Copy Table" i18n-title id="catalog">
31         <ng-template ngbTabContent>
32           <eg-catalog-copies [recordId]="recordId"></eg-catalog-copies>
33         </ng-template>
34       </ngb-tab>
35       <!-- NOTE some tabs send the user over to the AngJS app -->
36       <ngb-tab title="MARC Edit" i18n-title id="marc_edit">
37       </ngb-tab>
38       <ngb-tab title="MARC View" i18n-title id="marc_html">
39         <ng-template ngbTabContent>
40           <eg-marc-html [recordId]="recordId" recordType="bib"></eg-marc-html>
41         </ng-template>
42       </ngb-tab>
43       <ngb-tab title="View Holds" i18n-title id="holds">
44       </ngb-tab>
45       <ngb-tab title="Monograph Parts" i18n-title id="monoparts">
46         <ng-template ngbTabContent>
47           <eg-catalog-record-parts [recordId]="recordId">
48           </eg-catalog-record-parts>
49         </ng-template>
50       </ngb-tab>
51       <ngb-tab title="Holdings View" i18n-title id="holdings">
52       </ngb-tab>
53       <ngb-tab title="Conjoined Items" i18n-title id="conjoined">
54       </ngb-tab>
55     </ngb-tabset>
56   </div>
57 </div>
58
59