mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-11 19:04:20 +01:00
fix(dashboard): restructure components
This commit is contained in:
parent
43aaef8210
commit
422880dddf
15 changed files with 80 additions and 26 deletions
23
src/app/pages/dashboard/temperature/temperature.component.ts
Normal file
23
src/app/pages/dashboard/temperature/temperature.component.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-temperature',
|
||||
styleUrls: ['./temperature.component.scss'],
|
||||
template: `
|
||||
<nga-card size="xmedium">
|
||||
<nga-tabset fullWidth>
|
||||
<nga-tab tabTitle="Temperature">
|
||||
<ngx-temperature-dragger [(value)]="temperature" [arcThickness]="20" [knobRadius]="15" [bottomAngle]="90"
|
||||
disableArcColor="#2c2961" [fillColors]="['#2ec6ff', '#31ffad', '#7bff24', '#EAE75F']">
|
||||
</ngx-temperature-dragger>
|
||||
</nga-tab>
|
||||
<nga-tab tabTitle="Humidity">
|
||||
<span>Content #2</span>
|
||||
</nga-tab>
|
||||
</nga-tabset>
|
||||
</nga-card>
|
||||
`,
|
||||
})
|
||||
export class TemperatureComponent {
|
||||
temperature = 0.5;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue