Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions projects/lib-workspace/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ import { de } from 'date-fns/locale';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import { MAT_DATE_LOCALE } from '@angular/material/core';
import { FsCalendarModule, FsCalendarService, FsMaterialFullModule, FsNavFrameModule } from 'projects/ng-mat-components/src/public-api';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatSelectModule } from '@angular/material/select';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { FsCalendarModule, FsCalendarService, FsNavFrameModule } from 'projects/ng-mat-components/src/public-api';
import { HomeComponent } from './content/home/home.component';
import { ShowcaseCalendarPanelsComponent } from './content/showcase-calendar-panels/showcase-calendar-panels.component';
import { ShowcaseCalendarTableComponent } from './content/showcase-calendar-table/showcase-calendar-table.component';
Expand All @@ -23,8 +30,15 @@ import { ShowcaseNavFrameComponent } from './content/showcase-nav-frame/showcase
AppRoutingModule,
BrowserAnimationsModule,
ReactiveFormsModule,
/* Mat Modules */
MatButtonModule,
MatIconModule,
MatFormFieldModule,
MatInputModule,
MatSelectModule,
MatCardModule,
MatSlideToggleModule,
/* Lib modules */
FsMaterialFullModule,
FsNavFrameModule,
FsCalendarModule,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
</div>

<div class="selection">
<mat-form-field>
<mat-form-field appearance="fill">
<mat-label>Months before</mat-label>
<mat-select [(ngModel)]="monthsBefore">
<mat-select name="monthsBefore" [(ngModel)]="monthsBefore">
<mat-option *ngFor="let num of monthsAfterBefore" [value]="num">{{ num }}</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field>
<mat-form-field appearance="fill">
<mat-label>Months after</mat-label>
<mat-select [(ngModel)]="monthsAfter">
<mat-select name="monthsAfter" [(ngModel)]="monthsAfter">
<mat-option *ngFor="let num of monthsAfterBefore" [value]="num">{{ num }}</mat-option>
</mat-select>
</mat-form-field>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export class ShowcaseCalendarPanelsComponent implements OnInit {
monthsBefore = 1;
monthsAfter = 1;

// monthsBefore = new FormControl(1);
// monthsAfter = new FormControl(1);

dataSource: CalendarPanels = {
config: {
renderMode: 'monthly', // 'annual' | 'monthly'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<div style="height: 300px; display: flex">
<div style="width: 100%; display: flex; justify-content: space-between">
<p>
&#8593; Title can be changed vis contend projection
&#8593; Title and the hole Toolbar can be changed with content projection
<br />
<br />
Note: The toolbar is optional, but then you have to implement your own solution!
<br />
This one is also slightly thinner than the original material bar in height.
</p>
<p>&#8593; use perdifined content or your own</p>
<p>&#8593; like this search</p>
</div>

<p style="position: absolute; top: 200px">&#8592; In the sidenav you can set preregisterd entrys</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

.app-name {
font-size: 1.2rem;
white-space: nowrap;
text-overflow: ellipsis;
}

.app-version {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ fs-nav-user-profile {

.fs-nav-user-profile-name {
font-size: 1rem;
white-space: nowrap;
text-overflow: ellipsis;
}

.fs-nav-user-profile-subname {
font-size: .7rem;
white-space: nowrap;
text-overflow: ellipsis;
}
}

Expand Down
4 changes: 2 additions & 2 deletions projects/ng-mat-components/styles/fonts/_roboto.scss

Large diffs are not rendered by default.