Final project updates include floatinglabel (#2)
This commit is contained in:
Родитель
426f9358a4
Коммит
780431ad7b
|
@ -41,3 +41,4 @@ testem.log
|
|||
# System Files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.angular/
|
|
@ -55,26 +55,23 @@
|
|||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<kendo-textbox-container floatingLabel="Title" style="width: 100%;">
|
||||
<input kendoTextBox [(ngModel)]="newItem.title" name="title" />
|
||||
</kendo-textbox-container>
|
||||
<kendo-floatinglabel text="Title" style="width:100%;">
|
||||
<input kendoTextBox [(ngModel)]="newItem.title" name="title"/>
|
||||
</kendo-floatinglabel>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<kendo-textbox-container floatingLabel="Description" style="width: 100%;">
|
||||
<kendo-floatinglabel text="Description" style="width:100%;">
|
||||
<textarea kendoTextArea [(ngModel)]="newItem.description" name="description"></textarea>
|
||||
</kendo-textbox-container>
|
||||
|
||||
</kendo-floatinglabel>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">Item Type</label>
|
||||
<div class="col-sm-10">
|
||||
<select class="form-control" [(ngModel)]="newItem.type" name="itemType">
|
||||
<option *ngFor="let itemType of itemTypesProvider" [ngValue]="itemType">{{itemType}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<kendo-floatinglabel text="Item Type" style="width:100%;">
|
||||
<select class="form-control" [(ngModel)]="newItem.type" name="itemType">
|
||||
<option *ngFor="let itemType of itemTypesProvider" [ngValue]="itemType">{{itemType}}</option>
|
||||
</select>
|
||||
</kendo-floatinglabel>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
@ -9,6 +9,7 @@ import { InputsModule } from '@progress/kendo-angular-inputs';
|
|||
import { GridModule } from '@progress/kendo-angular-grid';
|
||||
import { ChartsModule } from '@progress/kendo-angular-charts';
|
||||
import { SchedulerModule } from '@progress/kendo-angular-scheduler';
|
||||
import { FloatingLabelModule } from "@progress/kendo-angular-label";
|
||||
|
||||
import { PresetFilterComponent } from './components/preset-filter/preset-filter.component';
|
||||
|
||||
|
@ -28,21 +29,23 @@ import 'hammerjs';
|
|||
InputsModule,
|
||||
GridModule,
|
||||
ChartsModule,
|
||||
SchedulerModule
|
||||
SchedulerModule,
|
||||
FloatingLabelModule,
|
||||
],
|
||||
exports: [
|
||||
FormsModule,
|
||||
MainMenuComponent,
|
||||
SideMenuComponent,
|
||||
PresetFilterComponent,
|
||||
ModalComponent,
|
||||
ModalComponent,
|
||||
LayoutModule,
|
||||
ButtonsModule,
|
||||
DropDownsModule,
|
||||
InputsModule,
|
||||
GridModule,
|
||||
ChartsModule,
|
||||
SchedulerModule
|
||||
SchedulerModule,
|
||||
FloatingLabelModule,
|
||||
],
|
||||
declarations: [
|
||||
MainMenuComponent,
|
||||
|
|
Загрузка…
Ссылка в новой задаче