From 534adbc85c6f1e8d05a1e49a8ebb034763dc012f Mon Sep 17 00:00:00 2001
From: wangxy <1356089412@qq.com>
Date: Tue, 2 Jul 2024 11:15:04 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E8=AF=95=E9=A2=98=E7=AE=A1=E7=90=86?=
 =?UTF-8?q?=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../templates/system/elExam/qu/add.html       | 42 +++++++++++++++++
 .../templates/system/elExam/qu/edit.html      | 45 +++++++++++++++++++
 2 files changed, 87 insertions(+)
 create mode 100644 ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html
 create mode 100644 ruoyi-admin/src/main/resources/templates/system/elExam/qu/edit.html

diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html
new file mode 100644
index 0000000..6583b3b
--- /dev/null
+++ b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/add.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+	<th:block th:include="include :: header('新增题库')" />
+	<th:block th:include="include :: summernote-css" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-repo-add">
+			<div class="form-group">	
+				<label class="col-sm-2 control-label is-required">题库名称:</label>
+				<div class="col-sm-10">
+					<input id="title" name="title" class="form-control" type="text" required>
+				</div>
+			</div>
+			<div class="row">
+				<div class="col-sm-12">
+					<div class="form-group">
+						<label class="col-xs-2 control-label">题库备注:</label>
+						<div class="col-xs-10">
+							<textarea name="remark" maxlength="500" class="form-control" rows="3"></textarea>
+						</div>
+					</div>
+				</div>
+			</div>
+		</form>
+	</div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: summernote-js" />
+    <script type="text/javascript">
+        var prefix = ctx + "system/repo";
+		$("#form-repo-add").validate({
+			focusCleanup: true
+		});
+		function submitHandler() {
+	        if ($.validate.form()) {
+				$.operate.save(prefix + "/add", $('#form-repo-add').serialize());
+	        }
+	    }
+	</script>
+</body>
+</html>
diff --git a/ruoyi-admin/src/main/resources/templates/system/elExam/qu/edit.html b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/edit.html
new file mode 100644
index 0000000..d4d4b17
--- /dev/null
+++ b/ruoyi-admin/src/main/resources/templates/system/elExam/qu/edit.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+	<th:block th:include="include :: header('修改题库')" />
+	<th:block th:include="include :: summernote-css" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-repo-edit" th:object="${repo}">
+            <input id="id" name="id" th:field="*{id}"  type="hidden">
+            <div class="form-group">	
+                <label class="col-sm-2 control-label is-required">题库标题:</label>
+                <div class="col-sm-10">
+                    <input id="title" name="title" th:field="*{title}" class="form-control" type="text" required>
+                </div>
+            </div>
+            <div class="row">
+                <div class="col-sm-12">
+                    <div class="form-group">
+                        <label class="col-xs-2 control-label">题库备注:</label>
+                        <div class="col-xs-10">
+                            <textarea name="remark" maxlength="500" class="form-control" rows="3">[[*{remark}]]</textarea>
+                        </div>
+                    </div>
+                </div>
+            </div>
+
+		</form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: summernote-js" />
+    <script type="text/javascript">
+        var prefix = ctx + "system/repo";
+
+		$("#form-repo-edit").validate({
+			focusCleanup: true
+		});
+		function submitHandler() {
+	        if ($.validate.form()) {
+				$.operate.save(prefix + "/edit", $('#form-repo-edit').serialize());
+	        }
+	    }
+	</script>
+</body>
+</html>