sniffing.html 1.1 KB

123456789101112131415161718192021222324252627282930
  1. {{define "form/sniffing"}}
  2. <a-divider style="margin:5px 0 0;"></a-divider>
  3. <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
  4. <a-form-item>
  5. <span slot="label">
  6. Sniffing
  7. <a-tooltip>
  8. <template slot="title">
  9. <span>{{ i18n "pages.inbounds.noRecommendKeepDefault" }}</span>
  10. </template>
  11. <a-icon type="question-circle"></a-icon>
  12. </a-tooltip>
  13. </span>
  14. <a-switch v-model="inbound.sniffing.enabled"></a-switch>
  15. </a-form-item>
  16. <template v-if="inbound.sniffing.enabled">
  17. <a-form-item :wrapper-col="{span:24}">
  18. <a-checkbox-group v-model="inbound.sniffing.destOverride">
  19. <a-checkbox v-for="key,value in SNIFFING_OPTION" :value="key">[[ value ]]</a-checkbox>
  20. </a-checkbox-group>
  21. </a-form-item>
  22. <a-form-item label='Metadata Only'>
  23. <a-switch v-model="inbound.sniffing.metadataOnly"></a-switch>
  24. </a-form-item>
  25. <a-form-item label='Route Only'>
  26. <a-switch v-model="inbound.sniffing.routeOnly"></a-switch>
  27. </a-form-item>
  28. </template>
  29. </a-form>
  30. {{end}}