Add local test server

This commit is contained in:
Bernie Chiu 2013-10-08 16:06:36 +08:00
parent 9fbb2917b1
commit bd3a922073
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,15 @@
class Panel::Ask::BackEnd::AskCoordinationsController < OrbitWidgetController
include AdminHelper
include OrbitControllerLib::DivisionForDisable
before_filter :for_app_manager
def initialize
super
@app_title = 'ask_coordinations'
end
def index
end
end

View File

@ -80,8 +80,10 @@ $(document).ready(function() {
<tr>
<td colspan="5" class="dept_options">
<div class="dept_options">
<%= 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}, (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}, (request.host + ":3000"), nil) %><%= label_tag((request.host + ":3000"), "測試站3000") %>
<%= check_box("school", "depts", {:multiple => true}, (request.host + ":4000"), nil) %><%= label_tag((request.host + ":4000"), "測試站4000") %>
<%= 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, "事務組") %>