|
1 |
| -<div class="main"> |
2 |
| - <header class="top"> |
3 |
| - <div class="logo">#Fittable</div> |
4 |
| - <aside class="top-right-bar"> |
5 |
| - <img class="top-button" src="../assets//icons//npmjs.svg" alt="npmjs" title="npmjs" (click)="onNpmJs()" /> |
6 |
| - <img class="top-button" src="../assets//icons//github.svg" alt="GitHub" title="GitHub" (click)="onGitHub()" /> |
7 |
| - <img class="top-button" src="../assets//icons//e-mail.svg" alt="Contact" title="mailto:ionut.kosteea@gmail.com" |
8 |
| - (click)="onContact()" /> |
9 |
| - </aside> |
| 1 | +<div class="content"> |
| 2 | + <header class="header"> |
| 3 | + <p-toolbar> |
| 4 | + <div class="p-toolbar-group-start"> |
| 5 | + <p-button class="hamburger" icon="pi pi-bars" (onClick)="onHamburgerClick()"></p-button> |
| 6 | + <div class="logo">#Fittable</div> |
| 7 | + </div> |
| 8 | + <aside class="p-toolbar-group-end"> |
| 9 | + <p-button styleClass="p-button-rounded p-button-secondary p-button-outlined" title="npmjs" (click)="onNpmJs()"> |
| 10 | + <img alt="npmjs" src="../assets/icons/npmjs.svg" /> |
| 11 | + </p-button> |
| 12 | + <p-button styleClass="p-button-rounded p-button-secondary p-button-outlined" title="GitHub" |
| 13 | + (click)="onGitHub()"> |
| 14 | + <img alt="GitHub" src="../assets/icons/github.svg" /> |
| 15 | + </p-button> |
| 16 | + <p-button styleClass="p-button-rounded p-button-secondary p-button-outlined" |
| 17 | + title="mailto:ionut.kosteea@gmail.com" (click)="onContact()"> |
| 18 | + <img alt="Contact" src="../assets/icons/e-mail.svg" /> |
| 19 | + </p-button> |
| 20 | + </aside> |
| 21 | + </p-toolbar> |
10 | 22 | </header>
|
11 |
| - <nav class="navigation"> |
12 |
| - <navigation-tree [clickedLeaf$]="activeContent$"></navigation-tree> |
| 23 | + <nav class="navigation-tree navigation"> |
| 24 | + <navigation-tree [treeSelection$]="activeTopic$"></navigation-tree> |
13 | 25 | </nav>
|
14 |
| - <main #content class="content"> |
15 |
| - <section *ngIf="activeContent==='Introduction'"> |
| 26 | + <main #topic class="topic"> |
| 27 | + <section *ngIf="activeTopic==='Introduction'"> |
16 | 28 | <introduction></introduction>
|
17 | 29 | </section>
|
18 |
| - <section *ngIf="activeContent==='Playground'"> |
| 30 | + <section *ngIf="activeTopic==='Playground'"> |
19 | 31 | <playground></playground>
|
20 | 32 | </section>
|
21 |
| - <section *ngIf="activeContent==='Architecture'"> |
| 33 | + <section *ngIf="activeTopic==='Architecture'"> |
22 | 34 | <architecture></architecture>
|
23 | 35 | </section>
|
24 |
| - <section *ngIf="activeContent==='Installation'"> |
| 36 | + <section *ngIf="activeTopic==='Installation'"> |
25 | 37 | <installation></installation>
|
26 | 38 | </section>
|
27 |
| - <section *ngIf="activeContent==='Row height'"><row-height></row-height></section> |
28 |
| - <section *ngIf="activeContent==='Column width'"><column-width></column-width></section> |
29 |
| - <section *ngIf="activeContent==='Cell value'"><cell-value></cell-value></section> |
30 |
| - <section *ngIf="activeContent==='Cell style'"><cell-style></cell-style></section> |
31 |
| - <section *ngIf="activeContent==='Cell merge'"><cell-merge></cell-merge></section> |
32 |
| - <section *ngIf="activeContent==='Table DTO'"><table-dto></table-dto></section> |
33 |
| - <section *ngIf="activeContent==='Custom table'"><custom-table></custom-table></section> |
34 |
| - <section *ngIf="activeContent==='Update style'"><update-style></update-style></section> |
35 |
| - <section *ngIf="activeContent==='Paint format'"><paint-format></paint-format></section> |
36 |
| - <section *ngIf="activeContent==='Resize rows'"><resize-rows></resize-rows></section> |
37 |
| - <section *ngIf="activeContent==='Insert rows above'"><insert-rows-above></insert-rows-above></section> |
38 |
| - <section *ngIf="activeContent==='Insert rows below'"><insert-rows-below></insert-rows-below></section> |
39 |
| - <section *ngIf="activeContent==='Remove rows'"><remove-rows></remove-rows></section> |
40 |
| - <section *ngIf="activeContent==='Resize columns'"><resize-columns></resize-columns></section> |
41 |
| - <section *ngIf="activeContent==='Insert columns left'"><insert-columns-left></insert-columns-left></section> |
42 |
| - <section *ngIf="activeContent==='Insert columns right'"><insert-columns-right></insert-columns-right></section> |
43 |
| - <section *ngIf="activeContent==='Remove columns'"><remove-columns></remove-columns></section> |
44 |
| - <section *ngIf="activeContent==='Clear cells'"><clear-cells></clear-cells></section> |
45 |
| - <section *ngIf="activeContent==='Cell values'"><cell-values></cell-values></section> |
46 |
| - <section *ngIf="activeContent==='Remove cells'"><remove-cells></remove-cells></section> |
47 |
| - <section *ngIf="activeContent==='Cut / Paste cells'"><cut-paste-cells></cut-paste-cells></section> |
48 |
| - <section *ngIf="activeContent==='Copy / Paste cells'"><copy-paste-cells></copy-paste-cells></section> |
49 |
| - <section *ngIf="activeContent==='Merge cells'"><merge-cells></merge-cells></section> |
50 |
| - <section *ngIf="activeContent==='Unmerge cells'"><unmerge-cells></unmerge-cells></section> |
51 |
| - <section *ngIf="activeContent==='Operation DTO'"><operation-dto></operation-dto></section> |
52 |
| - <section *ngIf="activeContent==='Custom operation'"><custom-operation></custom-operation></section> |
53 |
| - <section *ngIf="activeContent==='Table interoperability'"><table-interoperability></table-interoperability> |
| 39 | + <section *ngIf="activeTopic==='Row height'"><row-height></row-height></section> |
| 40 | + <section *ngIf="activeTopic==='Column width'"><column-width></column-width></section> |
| 41 | + <section *ngIf="activeTopic==='Cell value'"><cell-value></cell-value></section> |
| 42 | + <section *ngIf="activeTopic==='Cell style'"><cell-style></cell-style></section> |
| 43 | + <section *ngIf="activeTopic==='Cell merge'"><cell-merge></cell-merge></section> |
| 44 | + <section *ngIf="activeTopic==='Table DTO'"><table-dto></table-dto></section> |
| 45 | + <section *ngIf="activeTopic==='Custom table'"><custom-table></custom-table></section> |
| 46 | + <section *ngIf="activeTopic==='Update style'"><update-style></update-style></section> |
| 47 | + <section *ngIf="activeTopic==='Paint format'"><paint-format></paint-format></section> |
| 48 | + <section *ngIf="activeTopic==='Resize rows'"><resize-rows></resize-rows></section> |
| 49 | + <section *ngIf="activeTopic==='Insert rows above'"><insert-rows-above></insert-rows-above></section> |
| 50 | + <section *ngIf="activeTopic==='Insert rows below'"><insert-rows-below></insert-rows-below></section> |
| 51 | + <section *ngIf="activeTopic==='Remove rows'"><remove-rows></remove-rows></section> |
| 52 | + <section *ngIf="activeTopic==='Resize columns'"><resize-columns></resize-columns></section> |
| 53 | + <section *ngIf="activeTopic==='Insert columns left'"><insert-columns-left></insert-columns-left></section> |
| 54 | + <section *ngIf="activeTopic==='Insert columns right'"><insert-columns-right></insert-columns-right></section> |
| 55 | + <section *ngIf="activeTopic==='Remove columns'"><remove-columns></remove-columns></section> |
| 56 | + <section *ngIf="activeTopic==='Clear cells'"><clear-cells></clear-cells></section> |
| 57 | + <section *ngIf="activeTopic==='Cell values'"><cell-values></cell-values></section> |
| 58 | + <section *ngIf="activeTopic==='Remove cells'"><remove-cells></remove-cells></section> |
| 59 | + <section *ngIf="activeTopic==='Cut / Paste cells'"><cut-paste-cells></cut-paste-cells></section> |
| 60 | + <section *ngIf="activeTopic==='Copy / Paste cells'"><copy-paste-cells></copy-paste-cells></section> |
| 61 | + <section *ngIf="activeTopic==='Merge cells'"><merge-cells></merge-cells></section> |
| 62 | + <section *ngIf="activeTopic==='Unmerge cells'"><unmerge-cells></unmerge-cells></section> |
| 63 | + <section *ngIf="activeTopic==='Operation DTO'"><operation-dto></operation-dto></section> |
| 64 | + <section *ngIf="activeTopic==='Custom operation'"><custom-operation></custom-operation></section> |
| 65 | + <section *ngIf="activeTopic==='Table interoperability'"><table-interoperability></table-interoperability> |
54 | 66 | </section>
|
55 |
| - <section *ngIf="activeContent==='Row header'"><row-header></row-header></section> |
56 |
| - <section *ngIf="activeContent==='Column header'"><column-header></column-header></section> |
57 |
| - <section *ngIf="activeContent==='Row heights'"><row-heights></row-heights></section> |
58 |
| - <section *ngIf="activeContent==='Column widths'"><column-widths></column-widths></section> |
59 |
| - <section *ngIf="activeContent==='Column filters (1/2)'"><column-filters></column-filters></section> |
60 |
| - <section *ngIf="activeContent==='Column filters (2/2)'"><column-filter-executor></column-filter-executor> |
| 67 | + <section *ngIf="activeTopic==='Row header'"><row-header></row-header></section> |
| 68 | + <section *ngIf="activeTopic==='Column header'"><column-header></column-header></section> |
| 69 | + <section *ngIf="activeTopic==='Row heights'"><row-heights></row-heights></section> |
| 70 | + <section *ngIf="activeTopic==='Column widths'"><column-widths></column-widths></section> |
| 71 | + <section *ngIf="activeTopic==='Column filters (1/2)'"><column-filters></column-filters></section> |
| 72 | + <section *ngIf="activeTopic==='Column filters (2/2)'"><column-filter-executor></column-filter-executor> |
61 | 73 | </section>
|
62 |
| - <section *ngIf="activeContent==='Table scroller'"><table-scroller></table-scroller></section> |
63 |
| - <section *ngIf="activeContent==='Cell selection'"><cell-selection></cell-selection></section> |
64 |
| - <section *ngIf="activeContent==='Cell editor'"><cell-editor></cell-editor></section> |
65 |
| - <section *ngIf="activeContent==='Language dictionary'"><language-dictionary></language-dictionary></section> |
66 |
| - <section *ngIf="activeContent==='Image registry'"><image-registry></image-registry></section> |
67 |
| - <section *ngIf="activeContent==='Theme switcher'"><theme-switcher></theme-switcher></section> |
68 |
| - <section *ngIf="activeContent==='Settings bar'"><settings-bar></settings-bar></section> |
69 |
| - <section *ngIf="activeContent==='Toolbar'"> |
| 74 | + <section *ngIf="activeTopic==='Table scroller'"><table-scroller></table-scroller></section> |
| 75 | + <section *ngIf="activeTopic==='Cell selection'"><cell-selection></cell-selection></section> |
| 76 | + <section *ngIf="activeTopic==='Cell editor'"><cell-editor></cell-editor></section> |
| 77 | + <section *ngIf="activeTopic==='Language dictionary'"><language-dictionary></language-dictionary></section> |
| 78 | + <section *ngIf="activeTopic==='Image registry'"><image-registry></image-registry></section> |
| 79 | + <section *ngIf="activeTopic==='Theme switcher'"><theme-switcher></theme-switcher></section> |
| 80 | + <section *ngIf="activeTopic==='Settings bar'"><settings-bar></settings-bar></section> |
| 81 | + <section *ngIf="activeTopic==='Toolbar'"> |
70 | 82 | <toolbar></toolbar>
|
71 | 83 | </section>
|
72 |
| - <section *ngIf="activeContent==='Context menu'"><context-menu></context-menu></section> |
73 |
| - <section *ngIf="activeContent==='Statusbar'"> |
| 84 | + <section *ngIf="activeTopic==='Context menu'"><context-menu></context-menu></section> |
| 85 | + <section *ngIf="activeTopic==='Statusbar'"> |
74 | 86 | <statusbar></statusbar>
|
75 | 87 | </section>
|
76 |
| - <section *ngIf="activeContent==='Custom view model'"><custom-view-model></custom-view-model></section> |
77 |
| - <section *ngIf="activeContent==='Custom view'"><custom-view></custom-view></section> |
| 88 | + <section *ngIf="activeTopic==='Custom view model'"><custom-view-model></custom-view-model></section> |
| 89 | + <section *ngIf="activeTopic==='Custom view'"><custom-view></custom-view></section> |
78 | 90 | </main>
|
| 91 | + <p-sidebar [(visible)]="showSidebar" [style]="{width:'300px'}"> |
| 92 | + <div class="navigation-tree"> |
| 93 | + <navigation-tree [treeSelection$]="activeTopic$"></navigation-tree> |
| 94 | + </div> |
| 95 | + </p-sidebar> |
79 | 96 | </div>
|
0 commit comments