From c2bcdf14b398e8a4054f351aa0a6eeb4fecac880 Mon Sep 17 00:00:00 2001 From: malik masis Date: Thu, 4 Aug 2022 18:01:55 +0300 Subject: [PATCH] Added Advanced filters --- .../Pages/Docs/Admin/Documents/Index.cshtml | 120 ++++++++++-------- .../Pages/Docs/Admin/Documents/index.js | 4 + 2 files changed, 68 insertions(+), 56 deletions(-) diff --git a/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/Index.cshtml b/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/Index.cshtml index 0532ae0d70..c826454c9a 100644 --- a/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/Index.cshtml +++ b/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/Index.cshtml @@ -33,26 +33,26 @@
- +
@L["Project"].Value
+ id="ProjectId" + name="ProjectId" + class="form-control me-sm-2">
- +
@L["Name"].Value
+ id="Name" + name="Name" + class="form-control me-sm-2">
@@ -61,112 +61,120 @@
@L["Version"].Value
+ id="Version" + name="Version" + class="form-control me-sm-2">
- +
@L["LanguageCode"].Value
+ id="LanguageCode" + name="LanguageCode" + class="form-control me-sm-2">
-
-
-
@L["Format"].Value
+ + + @L["SeeAdvancedFilters"] + + +
-
-
-
-
@L["CreationTime"].Value
+
+
+
@L["CreationTime"].Value
- - + - - - - + - + +
-
-
-
-
@L["LastUpdateTime"].Value
- - +
+
@L["LastUpdateTime"].Value
+ + - - - - + - + +
-
-
-
-
@L["LastSignificantUpdateTime"].Value
+
+
+
@L["LastSignificantUpdateTime"].Value
- - + - - - - + - + +
-
-
-
-
@L["LastCachedTime"].Value
+
+
+
@L["LastCachedTime"].Value
- - + - - - - + - + +
-
+
diff --git a/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/index.js b/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/index.js index e19132cfc1..5f4dc9b8d7 100644 --- a/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/index.js +++ b/modules/docs/src/Volo.Docs.Admin.Web/Pages/Docs/Admin/Documents/index.js @@ -157,4 +157,8 @@ $(function () { e.preventDefault(); dataTable.ajax.reload(); }); + + $("#AdvancedFilterSectionToggler").click(function (e) { + $("#AdvancedFilterSection").toggle(); + }); });