修复部分页面错误

This commit is contained in:
chishin 2023-04-05 15:19:25 +08:00
parent 4390e8f726
commit 78f06235b6
3 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="text-muted">注意: <code>允许</code> 和 <code>禁止</code> 规则将按照它们定义的顺序执行。</div> <div class="text-muted">注意: <code>allow(允许)</code> 和 <code>deny(禁止)</code> 规则将按照它们定义的顺序执行。</div>
<div class="btn-list justify-content-end"> <div class="btn-list justify-content-end">
<button type="button" class="btn btn-teal access_add"><%- i18n('access-lists', 'access-add') %></button> <button type="button" class="btn btn-teal access_add"><%- i18n('access-lists', 'access-add') %></button>
</div> </div>

View File

@ -1,13 +1,13 @@
<div class="col-sm-3 col-md-3"> <div class="col-sm-3 col-md-3">
<div class="form-group"> <div class="form-group">
<select name="directive[]" class="form-control custom-select" placeholder="http"> <select name="directive[]" class="form-control custom-select" placeholder="http">
<option value="allow" <%- typeof directive == 'undefined' || directive === 'allow' ? 'selected' : '' %>>允许</option> <option value="allow" <%- typeof directive == 'undefined' || directive === 'allow' ? 'selected' : '' %>>allow</option>
<option value="deny" <%- typeof directive !== 'undefined' && directive === 'deny' ? 'selected' : '' %>>禁止</option> <option value="deny" <%- typeof directive !== 'undefined' && directive === 'deny' ? 'selected' : '' %>>deny</option>
</select> </select>
</div> </div>
</div> </div>
<div class="col-sm-9 col-md-9"> <div class="col-sm-9 col-md-9">
<div class="form-group"> <div class="form-group">
<input type="text" name="address[]" placeholder="IP / 子网络" class="form-control" value="<%- typeof address !== 'undefined' ? address : '' %>" value=""> <input type="text" name="address[]" placeholder="IP / Subnet" class="form-control" value="<%- typeof address !== 'undefined' ? address : '' %>" value="">
</div> </div>
</div> </div>

View File

@ -352,7 +352,7 @@
}, },
"footer": { "footer": {
"fork-me": "在Github上Fork项目", "fork-me": "在Github上Fork项目",
"copy": "&copy; 2022 <a href=\"{url}\" target=\"_blank\">jc21.com</a>, ", "copy": "&copy; 2022-2023 <a href=\"{url}\" target=\"_blank\">jc21.com</a>, ",
"theme": "Theme by <a href=\"{url}\" target=\"_blank\">Tabler</a>, ", "theme": "Theme by <a href=\"{url}\" target=\"_blank\">Tabler</a>, ",
"translate": "汉化版由 <a href=\"{url}\" target=\"_blank\">xiaoxinpro</a> 提供. " "translate": "汉化版由 <a href=\"{url}\" target=\"_blank\">xiaoxinpro</a> 提供. "
}, },