File tree Expand file tree Collapse file tree 3 files changed +18
-9
lines changed
Expand file tree Collapse file tree 3 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 44 </div >
55 <div class =" chart chartByHours" >
66 <div class =" mt-10 mb-20" >
7- <input
8- type =" button"
7+ <button
98 :class =" ['chart-btn', chart == TypeOfChart.Horly ? 'active' : '']"
10- :value =" t('byHours.message')"
119 @click =" openChart(TypeOfChart.Horly)"
12- />
13- <input
14- type =" button"
10+ >
11+ <img class =" ml-5" src =" ../assets/icons/by-hours.svg" height =" 22" />
12+ {{ t('byHours.message') }}
13+ </button >
14+ <button
1515 :class =" ['ml-10', 'chart-btn', chart == TypeOfChart.Interval ? 'active' : '']"
16- :value =" t('intervals.message')"
1716 @click =" openChart(TypeOfChart.Interval)"
18- />
17+ >
18+ <img class =" ml-5" src =" ../assets/icons/by-intervals.svg" height =" 22" />
19+ {{ t('intervals.message') }}
20+ </button >
1921 </div >
2022 <HourlyChart v-if =" chart == TypeOfChart.Horly" />
2123 <TimeIntervalChart v-if =" chart == TypeOfChart.Interval" />
@@ -73,6 +75,7 @@ function openChart(type: TypeOfChart) {
7375}
7476
7577.chart-btn.active {
76- background-color : #428bff ;
78+ background-color : #428bff !important ;
79+ color : white ;
7780}
7881 </style >
You can’t perform that action at this time.
0 commit comments