<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="{{ url_for('static',filename='css/pintuer.css') }}">
<link rel="stylesheet" href="{{ url_for('static',filename='css/admin.css') }}">
<script src="{{ url_for('static',filename='js/jquery.js') }}"></script>
<script src="{{ url_for('static',filename='js/pintuer.js') }}"></script>
</head>
<body>
<form method="post" action="" id="listform">
   <div class="panel admin-panel">
   <div class="panel-head"><strong class="icon-reorder">课程列表</strong></div>
<!--    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="editorProject.html" > 中期阶段项目</a> </li>
         </ul>
    </div>-->
    <table class="table table-hover text-center">
      <tr>
        <th>课程编号</th>
        <th>课程名称</th>
        <th>授课老师</th>
        <th>评教状态</th>
        <th>操作</th>
      </tr>
        {% for course in stu_course %}
        <tr >
            <td >{{ course.course_id }}</td>
          <td><font color="#00CC99">{{ course.course_name }}</font></td>
          <td>{{ course.course_teacher }}</td>
            {% if (course.course_teacher,username) in eva_info %}
          <td><font color="#00CC99">已评教</font></td>
             {% else %}
           <td><font color="red">未评教</font></td>
            {% endif %}
          <td><div class="button-group"> <a class="button border-main" style="padding:2px 8px;" href="/courseinfo?course_id={{ course.course_id }}"><span class="icon-user"></span> 查看</a>
          <a class="button border-red" href="/eva_teacher?course_id={{ course.course_id }}&course_name={{ course.course_name }}&course_teacher={{ course.course_teacher }}"  style="padding:2px 8px;" ><span class="icon-edit" ></span> 评教</a> </div></td>
        </tr>
        {% endfor %}
    </table>
    </div>
    </div>
  </div>
</form>
<script type="text/javascript">
</script>
</body>
</html>