|
1 | 1 | <template> |
2 | | - <div class="main"> |
3 | | - <div class="settings-item"> |
4 | | - <label class="title"> {{ t('dashboard.message') }} </label> |
5 | | - </div> |
6 | | - <div class="chart chartByHours"> |
7 | | - <div class="mt-10 mb-20"> |
8 | | - <input |
9 | | - type="button" |
10 | | - :class="['chart-btn', chart == TypeOfChart.Horly ? 'active' : '']" |
11 | | - :value="t('byHours.message')" |
12 | | - @click="openChart(TypeOfChart.Horly)" |
13 | | - /> |
14 | | - <input |
15 | | - type="button" |
16 | | - :class="['ml-10', 'chart-btn', chart == TypeOfChart.Interval ? 'active' : '']" |
17 | | - :value="t('intervals.message')" |
18 | | - @click="openChart(TypeOfChart.Interval)" |
19 | | - /> |
20 | | - </div> |
21 | | - <HourlyChart v-if="chart == TypeOfChart.Horly" /> |
22 | | - <TimeIntervalChart v-if="chart == TypeOfChart.Interval" /> |
23 | | - </div> |
24 | | - <div class="tab-items"> |
25 | | - <TabList |
26 | | - :type="TypeOfList.Dashboard" |
27 | | - :showAllStats="false" |
28 | | - v-if="chart == TypeOfChart.Horly" |
| 2 | + <div class="settings-item"> |
| 3 | + <label class="title"> {{ t('dashboard.message') }} </label> |
| 4 | + </div> |
| 5 | + <div class="chart chartByHours"> |
| 6 | + <div class="mt-10 mb-20"> |
| 7 | + <input |
| 8 | + type="button" |
| 9 | + :class="['chart-btn', chart == TypeOfChart.Horly ? 'active' : '']" |
| 10 | + :value="t('byHours.message')" |
| 11 | + @click="openChart(TypeOfChart.Horly)" |
| 12 | + /> |
| 13 | + <input |
| 14 | + type="button" |
| 15 | + :class="['ml-10', 'chart-btn', chart == TypeOfChart.Interval ? 'active' : '']" |
| 16 | + :value="t('intervals.message')" |
| 17 | + @click="openChart(TypeOfChart.Interval)" |
29 | 18 | /> |
30 | 19 | </div> |
| 20 | + <HourlyChart v-if="chart == TypeOfChart.Horly" /> |
| 21 | + <TimeIntervalChart v-if="chart == TypeOfChart.Interval" /> |
| 22 | + </div> |
| 23 | + <div class="tab-items"> |
| 24 | + <TabList :type="TypeOfList.Dashboard" :showAllStats="false" v-if="chart == TypeOfChart.Horly" /> |
31 | 25 | </div> |
32 | 26 | </template> |
33 | 27 |
|
|
0 commit comments