Teamswork sync

This commit is contained in:
Nicolai Ort 2020-06-10 11:28:24 +02:00
parent c718943af3
commit e1a531ce80
3 changed files with 39 additions and 39 deletions

View File

@ -1 +1 @@
<app-task-list></app-task-list> <router-outlet></router-outlet>

View File

@ -1,36 +1,36 @@
import { BrowserModule } from '@angular/platform-browser'; import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms'; import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http'; import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module'; import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { BackendService } from './services/backend.service'; import { BackendService } from './services/backend.service';
import { TaskListComponent } from './task-list/task-list.component'; import { TaskListComponent } from './task-list/task-list.component';
import { TaskFormComponent } from './task-form/task-form.component'; import { TaskFormComponent } from './task-form/task-form.component';
import { UserstoryListComponent } from './userstory-list/userstory-list.component'; import { UserstoryListComponent } from './userstory-list/userstory-list.component';
import { UserstoryFormComponent } from './userstory-form/userstory-form.component'; import { UserstoryFormComponent } from './userstory-form/userstory-form.component';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
@NgModule({ @NgModule({
declarations: [ declarations: [
AppComponent, AppComponent,
TaskListComponent, TaskListComponent,
TaskFormComponent, TaskFormComponent,
UserstoryListComponent, UserstoryListComponent,
UserstoryFormComponent UserstoryFormComponent
], ],
imports: [ imports: [
BrowserModule, BrowserModule,
AppRoutingModule, AppRoutingModule,
HttpClientModule, HttpClientModule,
FormsModule, FormsModule,
NgbModule NgbModule
], ],
providers: [ providers: [
BackendService, BackendService,
], ],
bootstrap: [AppComponent] bootstrap: [AppComponent]
}) })
export class AppModule { } export class AppModule { }

View File

@ -6,9 +6,9 @@
<br/> <br/>
<span>Inhalt: {{userstory.content}}</span> <span>Inhalt: {{userstory.content}}</span>
<br/> <br/>
<span>Priotität: {{userstory.priority}}</span> <span>Priotität: {{userstory.priority}}</span>
<br> <br>
<button class="btn btn-secondary m-2" (click)="openUserstoryForm(userstory)">Bearbeiten</button> <button class="btn btn-secondary m-2" (click)="openUserstoryForm(userstory)">Bearbeiten</button>
<button class="btn btn-secondary m-2" (click)="deleteUserstory(userstory)">Löschen</button> <button class="btn btn-secondary m-2" (click)="deleteUserstory(userstory)">Löschen</button>
</li> </li>
</ul> </ul>