new code
This commit is contained in:
@@ -583,6 +583,12 @@
|
||||
任务发布页面
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/post_kecheng/">
|
||||
<span data-feather="star"></span>
|
||||
课程发布页面
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">
|
||||
<span data-feather="trash-2"></span>
|
||||
@@ -598,22 +604,43 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>课程id</th>
|
||||
<th>  </th>
|
||||
<th>课程名字</th>
|
||||
<th>  </th>
|
||||
<th>老师</th>
|
||||
<th>  </th>
|
||||
<th>添加时间</th>
|
||||
<th>  </th>
|
||||
<th>课程介绍</th>
|
||||
<th>  </th>
|
||||
<th>课程状态</th>
|
||||
<th>  </th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for kecheng in kechengs %}
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{kecheng.class_id}}</td>
|
||||
<th>  </th>
|
||||
<td>{{kecheng.class_name}}</td>
|
||||
<th>  </th>
|
||||
<td>{{kecheng.tercher_name}}</td>
|
||||
<th>  </th>
|
||||
<td>{{kecheng.add_time}}</td>
|
||||
<th>  </th>
|
||||
<td>{{kecheng.class_info}}</td>
|
||||
<th>  </th>
|
||||
<td>{{kecheng.class_status}}</td>
|
||||
<th>  </th>
|
||||
<form method="post" action="{% url 'come_kecheng' %}">
|
||||
<td>
|
||||
<input type="text" style="display:none" name="class_name" value="{{ kecheng.class_name }}">
|
||||
<input type="number" name="xiaozu" value="">小组
|
||||
{% csrf_token %}
|
||||
<button type="submit">加入课程</button>
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user