1
0

dokodemo.html 1.1 KB

1234567891011121314151617181920212223
  1. {{define "form/dokodemo"}}
  2. <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
  3. <a-form-item label='{{ i18n "pages.inbounds.targetAddress"}}'>
  4. <a-input v-model.trim="inbound.settings.address"></a-input>
  5. </a-form-item>
  6. <a-form-item label='{{ i18n "pages.inbounds.destinationPort"}}'>
  7. <a-input-number v-model.number="inbound.settings.port"></a-input-number>
  8. </a-form-item>
  9. <a-form-item label='{{ i18n "pages.inbounds.network"}}'>
  10. <a-select v-model="inbound.settings.network" :dropdown-class-name="themeSwitcher.currentTheme">
  11. <a-select-option value="tcp,udp">TCP,UDP</a-select-option>
  12. <a-select-option value="tcp">TCP</a-select-option>
  13. <a-select-option value="udp">UDP</a-select-option>
  14. </a-select>
  15. </a-form-item>
  16. <a-form-item label='Follow Redirect'>
  17. <a-switch v-model="inbound.settings.followRedirect"></a-switch>
  18. </a-form-item>
  19. <a-form-item label='Timeout'>
  20. <a-input-number v-model.number="inbound.settings.timeout" :min="0"></a-input-number>
  21. </a-form-item>
  22. </a-form>
  23. {{end}}