mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 21:50:05 +00:00
Add DDNS Profiles, use publicsuffixlist domain parser (#350)
* Add DDNS Profiles, use publicsuffixlist domain parser * Add Tencent Cloud DNS Provider * Restore validate DDNS provider function * chore: fmt & upgrade dependencies
This commit is contained in:
3
resource/l10n/en-US.toml
vendored
3
resource/l10n/en-US.toml
vendored
@@ -628,6 +628,9 @@ other = "Enable DDNS IPv6"
|
||||
[DDNSDomain]
|
||||
other = "DDNS Domain"
|
||||
|
||||
[DDNSProfile]
|
||||
other = "DDNS Profile Name"
|
||||
|
||||
[Feature]
|
||||
other = "Feature"
|
||||
|
||||
|
||||
3
resource/l10n/es-ES.toml
vendored
3
resource/l10n/es-ES.toml
vendored
@@ -628,6 +628,9 @@ other = "Habilitar DDNS IPv6"
|
||||
[DDNSDomain]
|
||||
other = "Dominio DDNS"
|
||||
|
||||
[DDNSProfile]
|
||||
other = "Nombre del perfil de DDNS"
|
||||
|
||||
[Feature]
|
||||
other = "Característica"
|
||||
|
||||
|
||||
3
resource/l10n/zh-CN.toml
vendored
3
resource/l10n/zh-CN.toml
vendored
@@ -628,6 +628,9 @@ other = "启用DDNS IPv6"
|
||||
[DDNSDomain]
|
||||
other = "DDNS域名"
|
||||
|
||||
[DDNSProfile]
|
||||
other = "DDNS配置名"
|
||||
|
||||
[Feature]
|
||||
other = "功能"
|
||||
|
||||
|
||||
3
resource/l10n/zh-TW.toml
vendored
3
resource/l10n/zh-TW.toml
vendored
@@ -628,6 +628,9 @@ other = "啟用DDNS IPv6"
|
||||
[DDNSDomain]
|
||||
other = "DDNS網域"
|
||||
|
||||
[DDNSProfile]
|
||||
other = "DDNS設定名"
|
||||
|
||||
[Feature]
|
||||
other = "功能"
|
||||
|
||||
|
||||
@@ -303,6 +303,7 @@ function addOrEditServer(server, conf) {
|
||||
modal.find("input[name=name]").val(server ? server.Name : null);
|
||||
modal.find("input[name=Tag]").val(server ? server.Tag : null);
|
||||
modal.find("input[name=DDNSDomain]").val(server ? server.DDNSDomain : null);
|
||||
modal.find("input[name=DDNSProfile]").val(server ? server.DDNSProfile : null);
|
||||
modal
|
||||
.find("input[name=DisplayIndex]")
|
||||
.val(server ? server.DisplayIndex : null);
|
||||
|
||||
4
resource/template/component/server.html
vendored
4
resource/template/component/server.html
vendored
@@ -48,6 +48,10 @@
|
||||
<label>{{tr "DDNSDomain"}}</label>
|
||||
<input type="text" name="DDNSDomain" placeholder="{{tr "DDNSDomain"}}">
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>{{tr "DDNSProfile"}}</label>
|
||||
<input type="text" name="DDNSProfile" placeholder="{{tr "DDNSProfile"}}">
|
||||
</div>
|
||||
<div class="field">
|
||||
<label>{{tr "Note"}}</label>
|
||||
<textarea name="Note"></textarea>
|
||||
|
||||
Reference in New Issue
Block a user