[rules] better view

This commit is contained in:
Alireza Ahmadi
2024-10-28 15:37:02 +01:00
parent 93868b02d4
commit 837150e065
+4 -10
View File
@@ -27,21 +27,15 @@
</v-col>
</v-row>
<v-row>
<v-col cols="12">{{ $t('rule.ruleset') }}</v-col>
<v-col class="v-card-subtitle" cols="12">{{ $t('rule.ruleset') }}</v-col>
<v-col cols="12" sm="4" md="3" lg="2" v-for="(item, index) in <any[]>rulesets" :key="item.tag">
<v-card rounded="xl" elevation="5" min-width="200" :title="index+1">
<v-card rounded="xl" elevation="5" min-width="200" :title="item.tag">
<v-card-subtitle style="margin-top: -20px;">
<v-row>
<v-col>{{ $t('ruleset.' + item.type) }}</v-col>
</v-row>
</v-card-subtitle>
<v-card-text>
<v-row>
<v-col>{{ $t('objects.tag') }}</v-col>
<v-col dir="ltr">
{{ item.tag }}
</v-col>
</v-row>
<v-row>
<v-col>{{ $t('ruleset.format') }}</v-col>
<v-col dir="ltr">
@@ -84,8 +78,8 @@
</v-col>
</v-row>
<v-row>
<v-col cols="12">{{ $t('pages.rules') }}</v-col>
<v-col cols="12" sm="4" md="3" lg="2" v-for="(item, index) in <any[]>rules">
<v-col class="v-card-subtitle" cols="12">{{ $t('pages.rules') }}</v-col>
<v-col cols="12" sm="4" md="3" lg="2" v-for="(item, index) in <any[]>rules"
<v-card rounded="xl" elevation="5" min-width="200" :title="index+1">
<v-card-subtitle style="margin-top: -20px;">
<v-row>