|
|
|
@ -44,8 +44,16 @@
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function test(id){
|
|
|
|
|
|
|
|
|
|
location.href = encodeURI('http://course.trustie.net<%=port%>?school_id='+id);
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '<%=school_course_list_path%>',
|
|
|
|
|
type: "POST",
|
|
|
|
|
data: {
|
|
|
|
|
school_id: id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}).complete(eval_ajax);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function ssearch(){
|
|
|
|
@ -70,8 +78,8 @@
|
|
|
|
|
<div>
|
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
<a href="http://course.trustie.net<%=port%>?school_id=0">全部学校</a>
|
|
|
|
|
<%= link_to '我的学校',scholl_course_list_path(User.current.user_extensions.school) %>
|
|
|
|
|
<%= link_to "全部学校",school_index_path %>
|
|
|
|
|
<%= link_to '我的学校',school_course_list_path(User.current.user_extensions.school) %>
|
|
|
|
|
</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li style="width: 40%; float: left">请选择省份:
|
|
|
|
@ -85,7 +93,7 @@
|
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
|
<div>
|
|
|
|
|
<ul id="schoollist" style="line-height: 25px">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|