浏览代码

Updated list table

Added state code columns
Better form columns sizing
baruffaldi 4 年之前
父节点
当前提交
77a2ee948a
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      frontend/js/app/nginx/redirection/form.ejs
  2. 1 0
      frontend/js/app/nginx/redirection/list/main.ejs

+ 2 - 2
frontend/js/app/nginx/redirection/form.ejs

@@ -22,7 +22,7 @@
                                 <input type="text" name="domain_names" class="form-control" id="input-domains" value="<%- domain_names.join(',') %>" required>
                             </div>
                         </div>
-                        <div class="col-sm-4 col-md-4">
+                        <div class="col-sm-3 col-md-3">
                             <div class="form-group">
                                 <label class="form-label"><%- i18n('redirection-hosts', 'forward-scheme') %><span class="form-required">*</span></label>
                                 <select name="forward_scheme" class="form-control custom-select" placeholder="$scheme">
@@ -32,7 +32,7 @@
                                 </select>
                             </div>
                         </div>
-                        <div class="col-sm-8 col-md-8">
+                        <div class="col-sm-9 col-md-9">
                             <div class="form-group">
                                 <label class="form-label"><%- i18n('redirection-hosts', 'forward-domain') %><span class="form-required">*</span></label>
                                 <input type="text" name="forward_domain_name" class="form-control text-monospace" placeholder="" value="<%- forward_domain_name %>" required>

+ 1 - 0
frontend/js/app/nginx/redirection/list/main.ejs

@@ -1,6 +1,7 @@
 <thead>
     <th width="30">&nbsp;</th>
     <th><%- i18n('str', 'source') %></th>
+    <th><%- i18n('redirection-hosts', 'forward-http-status-code') %></th>
     <th><%- i18n('str', 'destination') %></th>
     <th><%- i18n('str', 'ssl') %></th>
     <th><%- i18n('str', 'status') %></th>