Test ip direct
This commit is contained in:
parent
5432238816
commit
2777b92589
|
@ -1,6 +1,6 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
var local_host = "<%= request.ip %>:<%= request.port %>";
|
||||
var local_host = "<%= request.host %>:<%= request.port %>";
|
||||
|
||||
function hide_current_host_name(localhost) {
|
||||
$('input[type=checkbox]').each(function() {
|
||||
|
@ -80,9 +80,9 @@ $(document).ready(function() {
|
|||
<tr>
|
||||
<td colspan="5" class="dept_options">
|
||||
<div class="dept_options">
|
||||
<%= check_box("school", "depts", {:multiple => true}, "118.163.60.152:14180", nil) %><%= label_tag("118.163.60.152:14180", "測試站14180") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "118.163.60.152:14280", nil) %><%= label_tag("118.163.60.152:14280", "測試站14280") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "總務長室暨總務處秘書室", nil) %><%= label_tag(:dep1, "總務長室暨總務處秘書室") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "<%= request.host %>:14180", nil) %><%= label_tag("<%= request.host %>:14180", "測試站14180") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "<%= request.host %>:14280", nil) %><%= label_tag("<%= request.host %>:14280", "測試站14280") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "", nil) %><%= label_tag(:dep1, "總務長室暨總務處秘書室") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "文書組", nil) %><%= label_tag(:dep2, "文書組") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "事務組", nil) %><%= label_tag(:dep3, "事務組") %>
|
||||
<%= check_box("school", "depts", {:multiple => true}, "保管組", nil) %><%= label_tag(:dep4, "保管組") %>
|
||||
|
|
Loading…
Reference in New Issue