Pages are now grouped per group they appear in on in the header (where possible) Utilities used by multiple pages in the project are grouped in folders such as services/pipes/etc
94 lines
3.3 KiB
HTML
94 lines
3.3 KiB
HTML
<div class="card-div">
|
|
<mat-card>
|
|
<mat-card-header>
|
|
<mat-card-title>Particle Properties</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Particle Name</mat-label>
|
|
<input matInput [(ngModel)]="particleData.particle_name" placeholder="Enter particle name">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Display Name</mat-label>
|
|
<input matInput [(ngModel)]="particleData.display_name" placeholder="Enter display name">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Particle Type</mat-label>
|
|
<mat-select [(ngModel)]="particleData.particle_type">
|
|
<mat-option *ngFor="let type of particleTypes" [value]="type">{{ type }}</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Lore</mat-label>
|
|
<textarea matInput [(ngModel)]="particleData.lore" placeholder="Enter lore"></textarea>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Display Item</mat-label>
|
|
<input matInput [(ngModel)]="particleData.display_item" placeholder="Enter display item">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Permission</mat-label>
|
|
<input matInput [(ngModel)]="particleData.permission" placeholder="Enter permission">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Package Permission</mat-label>
|
|
<input matInput [(ngModel)]="particleData.package_permission" placeholder="Enter package permission">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Frame Delay</mat-label>
|
|
<input matInput type="number" [(ngModel)]="particleData.frame_delay" placeholder="Enter frame delay">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Repeat</mat-label>
|
|
<input matInput type="number" [(ngModel)]="particleData.repeat" placeholder="Enter repeat count">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Repeat Delay</mat-label>
|
|
<input matInput type="number" [(ngModel)]="particleData.repeat_delay"
|
|
placeholder="Enter repeat delay">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Random Offset</mat-label>
|
|
<input matInput type="number" [(ngModel)]="particleData.random_offset"
|
|
placeholder="Enter random offset">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<mat-checkbox [(ngModel)]="particleData.stationary"><span>Stationary</span></mat-checkbox>
|
|
</div>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
</div>
|