diff --git a/web/src/main/webapp/WEB-INF/jsp/index.jsp b/web/src/main/webapp/WEB-INF/jsp/index.jsp
index 6affd78..b5ab4e5 100644
--- a/web/src/main/webapp/WEB-INF/jsp/index.jsp
+++ b/web/src/main/webapp/WEB-INF/jsp/index.jsp
@@ -29,12 +29,15 @@
$("#tabs").on('click', 'button', function () {
$(this).addClass('active');
+ $($(this).attr('href')).addClass('active show');
+ $($(this).attr('href')).siblings().removeClass('active show')
$(this).siblings().removeClass('active');
});
$("#tabs").on('click', 'i', function () {
$(this).parent().remove();
+ $($(this).parent().attr('href')).remove();
});
});
@@ -50,7 +53,7 @@
Close
-
+
@@ -63,19 +66,19 @@
diff --git a/web/src/main/webapp/WEB-INF/jsp/menu.jsp b/web/src/main/webapp/WEB-INF/jsp/menu.jsp
index ffc9ab9..9a55c77 100644
--- a/web/src/main/webapp/WEB-INF/jsp/menu.jsp
+++ b/web/src/main/webapp/WEB-INF/jsp/menu.jsp
@@ -54,13 +54,22 @@
$(menuId).click(function () {
btnId='#btn'+$(this).data('id');
if ($(btnId).length == 0) {
- $("#tabs").append('