[frontend] Small fixes

This commit is contained in:
Cathy Hu 2020-08-27 21:54:49 +02:00
parent dea2472049
commit 7734355e5e
2 changed files with 3 additions and 5 deletions

View file

@ -59,7 +59,7 @@
></span> ></span>
Register Register
</button> </button>
<a mat-button routerLink="/login" class="btn btn-link">Cancel</a> <a mat-button routerLink="/login" class="btn btn-link">Log In</a>
</div> </div>
</form> </form>
</mat-card-content> </mat-card-content>

View file

@ -6,14 +6,13 @@ import { HoodsettingsComponent } from './board/hoodsettings/hoodsettings.compone
import { PlatformsComponent } from './board/platforms/platforms.component'; import { PlatformsComponent } from './board/platforms/platforms.component';
import { HoodpageComponent } from './board/hoodpage/hoodpage.component'; import { HoodpageComponent } from './board/hoodpage/hoodpage.component';
import { BoardComponent } from './board/board.component'; import { BoardComponent } from './board/board.component';
import { MaterialModule } from '../shared/material/material.module';
import { TriggerComponent } from './board/hoodsettings/trigger/trigger.component'; import { TriggerComponent } from './board/hoodsettings/trigger/trigger.component';
import { BadwordsComponent } from './board/hoodsettings/badwords/badwords.component'; import { BadwordsComponent } from './board/hoodsettings/badwords/badwords.component';
import { SharedModule } from '../shared/shared.module'; import { SharedModule } from '../shared/shared.module';
import { CommonModule } from '@angular/common';
import { MarkdownModule } from 'ngx-markdown'; import { MarkdownModule } from 'ngx-markdown';
import { HttpClient } from '@angular/common/http'; import { HttpClient } from '@angular/common/http';
import { NewHoodDialogComponent } from './hoods/new-hood-dialog/new-hood-dialog.component'; import { NewHoodDialogComponent } from './hoods/new-hood-dialog/new-hood-dialog.component';
import { PlatformsModule } from '../platforms/platforms.module';
@NgModule({ @NgModule({
declarations: [ declarations: [
@ -29,10 +28,9 @@ import { NewHoodDialogComponent } from './hoods/new-hood-dialog/new-hood-dialog.
], ],
imports: [ imports: [
DashboardRoutingModule, DashboardRoutingModule,
MaterialModule,
SharedModule, SharedModule,
CommonModule,
MarkdownModule.forRoot({ loader: HttpClient }), MarkdownModule.forRoot({ loader: HttpClient }),
PlatformsModule,
], ],
}) })
export class DashboardModule {} export class DashboardModule {}