<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="container">
    <form class="course-edit">
        <input type="hidden" name="id" id="id-input" value="-1">
        <table class="input-form">
            <thead>
            <tr>
                <td class="td_header" colspan="3">课程信息录入，<span class="star">*</span>代表必填</td>
            </tr>
            </thead>
            <tr>
                <td><label for="name-input">名称</label></td>
                <td>
                    <input name="name" type="text" id="name-input">
                </td>
                <td>
                    <span class="star">*</span>5~20位字符
                </td>
            </tr>
            <tr>
                <td><label for="type-input">性质</label></td>
                <td>
                    <select name="type" id="type-input">
                        <option value="1">公共基础必修课</option>
                        <option value="2">公共选修课</option>
                        <option value="3">学科基础课</option>
                        <option value="4">专业必修课</option>
                        <option value="5">专业选修课</option>
                        <option value="6">集中性实践教学环节</option>
                    </select>
                </td>
                <td>
                    <span class="star">*</span>
                </td>
            </tr>
            <tr>
                <td><label for="credit-input">学分</label></td>
                <td>
                    <input name="credit" type="number" id="credit-input">
                </td>
                <td>
                    <span class="star">*</span>数值
                </td>
            </tr>
            <tr>
                <td><label for="grade-input">年份</label></td>
                <td>
                    <input name="grade" type="text" id="grade-input">
                </td>
                <td>
                    <span class="star">*</span>4位数年份
                </td>
            </tr>
            <tr>
                <td>开设专业</td>
                <td>
                    <input name="major" value="1" type="radio" id="major-input-1">
                    <label for="major-input-1">软件工程</label>
                    <input name="major" value="2" type="radio" id="major-input-2">
                    <label for="major-input-2">空间信息</label>
                    <input name="major" value="3" type="radio" id="major-input-3">
                    <label for="major-input-3">大数据</label>
                </td>
                <td>
                    <span class="star">*</span>
                </td>
            </tr>
            <tr>
                <td><label for="detail-input">备注</label></td>
                <td>
                    <textarea rows="5" name="detail" id="detail-input"></textarea>
                </td>
                <td>
                    200个字符以内
                </td>
            </tr>
            <tfoot>
            <tr>
                <td colspan="3">
                    <input type="submit">
                    <button onclick="closeEdit()">关闭编辑</button>
                </td>
            </tr>
            </tfoot>
        </table>
    </form>
</div>