minor fixes
This commit is contained in:
parent
32815f7e92
commit
46baf0443d
@ -2,25 +2,25 @@
|
|||||||
|
|
||||||
<form (submit)="saveProject()" [formGroup]="projectForm">
|
<form (submit)="saveProject()" [formGroup]="projectForm">
|
||||||
<div
|
<div
|
||||||
[translate]="project?.projectId ? 'projects.add-edit-dialog.header-edit.label': 'projects.add-edit-dialog.header-new.label'"
|
[translate]="project?.projectId ? 'project-listing.add-edit-dialog.header-edit.label': 'project-listing.add-edit-dialog.header-new.label'"
|
||||||
class="dialog-header heading-l">
|
class="dialog-header heading-l">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="dialog-content">
|
<div class="dialog-content">
|
||||||
<div class="red-input-group">
|
<div class="red-input-group">
|
||||||
<label translate="projects.add-edit-dialog.form.name.label"></label>
|
<label translate="project-listing.add-edit-dialog.form.name.label"></label>
|
||||||
<input formControlName="projectName" name="projectName" type="text">
|
<input formControlName="projectName" name="projectName" type="text">
|
||||||
</div>
|
</div>
|
||||||
<div class="red-input-group">
|
<div class="red-input-group">
|
||||||
<label translate="projects.add-edit-dialog.form.description.label"></label>
|
<label translate="project-listing.add-edit-dialog.form.description.label"></label>
|
||||||
<textarea formControlName="description" name="description" type="text" rows="5"></textarea>
|
<textarea formControlName="description" name="description" type="text" rows="5"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="dialog-actions">
|
<div class="dialog-actions">
|
||||||
<button [disabled]="projectForm.invalid" color="primary" mat-flat-button
|
<button [disabled]="projectForm.invalid" color="primary" mat-flat-button
|
||||||
translate="projects.add-edit-dialog.actions.save.label" type="submit"></button>
|
translate="project-listing.add-edit-dialog.actions.save.label" type="submit"></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
.dialog-actions {
|
.dialog-actions {
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
|
display: flex;
|
||||||
> * {
|
> * {
|
||||||
margin-right: 16px
|
margin-right: 16px
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user