Fix CommonJS import, add z-index for sticky subheader, change text in 'logout' tooltip
This commit is contained in:
parent
88b91e9a37
commit
df42a5f243
@ -17,7 +17,6 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
"allowedCommonJsDependencies": ["papaparse"],
|
|
||||||
"outputPath": "dist/nkadf",
|
"outputPath": "dist/nkadf",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
z-index: 2000;
|
|
||||||
box-shadow: 0px 10px 17px -15px rgba(0, 0, 0, 0.88);
|
box-shadow: 0px 10px 17px -15px rgba(0, 0, 0, 0.88);
|
||||||
|
z-index: 10;
|
||||||
button {
|
button {
|
||||||
margin: 1rem 0rem 1rem 1rem;
|
margin: 1rem 0rem 1rem 1rem;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ import {
|
|||||||
NbLayoutScrollService,
|
NbLayoutScrollService,
|
||||||
NbScrollPosition,
|
NbScrollPosition,
|
||||||
} from '@nebular/theme';
|
} from '@nebular/theme';
|
||||||
import * as Papa from 'papaparse';
|
import { parse } from 'papaparse';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-discussion-viewer',
|
selector: 'app-discussion-viewer',
|
||||||
@ -102,7 +102,7 @@ export class DiscussionViewerComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
parseFile(file: File): Promise<{ id: number; name: string }[]> {
|
parseFile(file: File): Promise<{ id: number; name: string }[]> {
|
||||||
return new Promise((resolve, _) => {
|
return new Promise((resolve, _) => {
|
||||||
Papa.parse(file, {
|
parse(file, {
|
||||||
header: true,
|
header: true,
|
||||||
skipEmptyLines: true,
|
skipEmptyLines: true,
|
||||||
complete: (result) => {
|
complete: (result) => {
|
||||||
|
@ -10,7 +10,10 @@
|
|||||||
<nb-action>nkadf</nb-action>
|
<nb-action>nkadf</nb-action>
|
||||||
</nb-actions>
|
</nb-actions>
|
||||||
<nb-actions>
|
<nb-actions>
|
||||||
<nb-action icon="power" (click)="logout()" nbTooltip="Wyloguj"
|
<nb-action
|
||||||
|
icon="power"
|
||||||
|
(click)="logout()"
|
||||||
|
nbTooltip="Wróć do strony początkowej"
|
||||||
>Wyloguj</nb-action
|
>Wyloguj</nb-action
|
||||||
>
|
>
|
||||||
</nb-actions>
|
</nb-actions>
|
||||||
|
Loading…
Reference in New Issue
Block a user