move template to ./template;

setup django middleware;
setup angular frontend;
wire django and angular together;
This commit is contained in:
Marco Zeisler
2020-11-17 19:34:25 +01:00
parent 044a096f54
commit ff4b3508d8
97 changed files with 13737 additions and 6080 deletions
@@ -0,0 +1,33 @@
<h1>landing works!</h1>
<mat-slider min="1" max="5" step="0.5" [value]="myValue"></mat-slider>
<h2>Two way data binding, passing data, triggering child event...</h2>
<mat-form-field *ngIf="true">
<input
type="text"
placeholder="Placeholder"
matInput
[(ngModel)]="exampleInputText"
>
</mat-form-field>
<app-test-sub-comp [message]="exampleInputText" (buttonClickedEvent)="alert()"
[anotherInput]=""
></app-test-sub-comp>
<h2>Hide display with *ngIf</h2>
<mat-slide-toggle [(ngModel)]="showPar">Show paragraph</mat-slide-toggle>
<p *ngIf="showPar">Toggle me</p>
<app-test-sub-comp *ngIf="showPar"
[message]="exampleInputText" (buttonClickedEvent)="alert()"
[anotherInput]=""
></app-test-sub-comp>
<h2>Display a test list with *ngFor</h2>
<span *ngFor="let dict of testList">{{dict.value}}; </span>