更新前端页面
This commit is contained in:
+50
-14
@@ -5,15 +5,22 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>协作学习投入智能干预平台(学生端)</title>
|
||||
<link rel="shortcut icon" href="/static/abl1b-qks1b-001.ico"/>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/dashboard.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/bootstrap-4.6.1-dist/css/bootstrap.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/static/bootstrap-4.6.1-dist/css/bootstrap.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/dashboard.css">
|
||||
<!--script start-->
|
||||
<script src="/static/js/jquery-1.11.3.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
|
||||
<script src="/static/bootstrap-4.6.1-dist/js/bootstrap.bundle.js"></script> <!-- bootstrap.bundle.min.js,还包含了 Popper,用于支持工具提示(tooltip)和弹出框(popover)功能,但是不包含 jQuery。-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons@4.28.0/dist/feather.min.js"></script> <!-- 图标相关-->
|
||||
<script src="/static/js/mind/c_m_m.js"></script>
|
||||
<style>
|
||||
input, textarea{
|
||||
background-color: #f8f6f6;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
const DefaultView = function () {
|
||||
this.websocket = null
|
||||
@@ -604,18 +611,47 @@
|
||||
{# <p>请修正表中的错误.</p>#}
|
||||
{# {% endif %}#}
|
||||
|
||||
<form method="post" action="{% url 'post_task' %}">
|
||||
<span>
|
||||
任务标题:<input type="text" name="title">
|
||||
</span>
|
||||
<span>
|
||||
任务计划描述:<input type="text" style="height:51px;width:449px" name="description">
|
||||
</span>
|
||||
<span>
|
||||
任务截至时间:<input type="datetime-local" class="form-control" placeholder="任务截至时间" name="deadline">
|
||||
</span>
|
||||
{% csrf_token %}
|
||||
<button type="submit">发布任务</button>
|
||||
{# <form method="post" action="{% url 'post_task' %}">#}
|
||||
{# <span>#}
|
||||
{# 任务标题:<input type="text" name="title">#}
|
||||
{# </span>#}
|
||||
{# <span>#}
|
||||
{# 任务计划描述:<input type="text" style="height:51px;width:449px" name="description">#}
|
||||
{# </span>#}
|
||||
{# <span>#}
|
||||
{# 任务截至时间:<input type="datetime-local" class="form-control" placeholder="任务截至时间" name="deadline">#}
|
||||
{# </span>#}
|
||||
{# {% csrf_token %}#}
|
||||
{# <button type="submit">发布任务</button>#}
|
||||
{# </form>#}
|
||||
<br><br>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<table class="center-table" style="margin-left: 200px">
|
||||
<tr style="text-align: center;">
|
||||
<td><h2>任务标题</h2></td>
|
||||
</tr>
|
||||
<tr style="text-align: center;">
|
||||
<td><input type="text" name="title" style="width: 500px"></td>
|
||||
</tr>
|
||||
<tr style="text-align: center;">
|
||||
<td><h3>任务计划描述</h3></td>
|
||||
</tr>
|
||||
<tr style="text-align: center;">
|
||||
<td><textarea type="text" rows="10" cols="100" name="description"></textarea></td>
|
||||
</tr>
|
||||
<tr style="text-align: center;">
|
||||
<td><h4>任务截至时间</h4></td>
|
||||
</tr>
|
||||
<tr style="text-align: center;">
|
||||
<td><input type="datetime-local" class="form-control" placeholder="任务截至时间" name="deadline"></td>
|
||||
</tr>
|
||||
<tr style="text-align: center;">
|
||||
<td><button type="submit" class="niceButton4">发布任务</button></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
{# <button type="submit">发布任务</button>#}
|
||||
</form>
|
||||
{# <ul>#}
|
||||
{# {% for task in tasks %}#}
|
||||
|
||||
Reference in New Issue
Block a user