small fixes
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['inbound', 'id'],
|
props: ['inbound'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
hasUser: false,
|
hasUser: false,
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{{ $t('actions.' + title) + " " + $t('objects.client') }}
|
{{ $t('actions.' + title) + " " + $t('objects.client') }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<v-card-text style="padding: 0 16px;">
|
<v-card-text style="padding: 0 16px; overflow-y: scroll;">
|
||||||
<v-container style="padding: 0;">
|
<v-container style="padding: 0;">
|
||||||
<v-tabs
|
<v-tabs
|
||||||
v-model="tab"
|
v-model="tab"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{{ $t('actions.' + title) + " " + $t('objects.inbound') }}
|
{{ $t('actions.' + title) + " " + $t('objects.inbound') }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-divider></v-divider>
|
<v-divider></v-divider>
|
||||||
<v-card-text style="padding-top: 0; overflow-y: scroll;">
|
<v-card-text style="padding: 0 16px; overflow-y: scroll;">
|
||||||
<v-container style="padding: 0;">
|
<v-container style="padding: 0;">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="12" sm="6" md="4">
|
<v-col cols="12" sm="6" md="4">
|
||||||
@@ -60,7 +60,6 @@
|
|||||||
<AddrVue :addr="addr" :hasTls="Object.hasOwn(inbound,'tls')" />
|
<AddrVue :addr="addr" :hasTls="Object.hasOwn(inbound,'tls')" />
|
||||||
</template>
|
</template>
|
||||||
</v-card>
|
</v-card>
|
||||||
<pre dir="ltr">{{ inData }}</pre>
|
|
||||||
</v-window-item>
|
</v-window-item>
|
||||||
</v-window>
|
</v-window>
|
||||||
</v-container>
|
</v-container>
|
||||||
|
|||||||
@@ -157,6 +157,7 @@ export default {
|
|||||||
this.outbound = createOutbound("direct",{ tag: "direct-" + RandomUtil.randomSeq(3) })
|
this.outbound = createOutbound("direct",{ tag: "direct-" + RandomUtil.randomSeq(3) })
|
||||||
this.title = "add"
|
this.title = "add"
|
||||||
}
|
}
|
||||||
|
this.tab = "t1"
|
||||||
this.outboundStats = this.$props.stats
|
this.outboundStats = this.$props.stats
|
||||||
},
|
},
|
||||||
changeType() {
|
changeType() {
|
||||||
@@ -183,6 +184,7 @@ export default {
|
|||||||
if (msg.success) {
|
if (msg.success) {
|
||||||
this.outbound = msg.obj
|
this.outbound = msg.obj
|
||||||
this.tab = "t1"
|
this.tab = "t1"
|
||||||
|
this.link = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="12">{{ $t('rule.ruleset') }}</v-col>
|
<v-col 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-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">
|
<v-card rounded="xl" elevation="5" min-width="200" :title="index+1">
|
||||||
<v-card-subtitle style="margin-top: -20px;">
|
<v-card-subtitle style="margin-top: -20px;">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>{{ $t('ruleset.' + item.type) }}</v-col>
|
<v-col>{{ $t('ruleset.' + item.type) }}</v-col>
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="12">{{ $t('pages.rules') }}</v-col>
|
<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 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">
|
<v-card rounded="xl" elevation="5" min-width="200" :title="index+1">
|
||||||
<v-card-subtitle style="margin-top: -20px;">
|
<v-card-subtitle style="margin-top: -20px;">
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>{{ item.type != undefined ? $t('rule.logical') + ' (' + item.mode + ')' : $t('rule.simple') }}</v-col>
|
<v-col>{{ item.type != undefined ? $t('rule.logical') + ' (' + item.mode + ')' : $t('rule.simple') }}</v-col>
|
||||||
|
|||||||
Reference in New Issue
Block a user