From 13753b9e3c135fd3714b1f9a3872f6e961c156fa Mon Sep 17 00:00:00 2001 From: Maximilian Kalus Date: Wed, 16 Sep 2015 16:01:14 +0200 Subject: [PATCH] File search also possile within source when file is shown and searchable. --- .../webapp/WEB-INF/templates/file/show.html | 14 +-------- .../WEB-INF/templates/partials/search.html | 30 +++++++++++++++++++ .../webapp/WEB-INF/templates/source/show.html | 2 ++ 3 files changed, 33 insertions(+), 13 deletions(-) create mode 100644 src/main/webapp/WEB-INF/templates/partials/search.html diff --git a/src/main/webapp/WEB-INF/templates/file/show.html b/src/main/webapp/WEB-INF/templates/file/show.html index e63100d1..f1097317 100644 --- a/src/main/webapp/WEB-INF/templates/file/show.html +++ b/src/main/webapp/WEB-INF/templates/file/show.html @@ -58,19 +58,7 @@

-
-
- - -
- - -
- -
-
- -
+
diff --git a/src/main/webapp/WEB-INF/templates/partials/search.html b/src/main/webapp/WEB-INF/templates/partials/search.html new file mode 100644 index 00000000..bbfd75c8 --- /dev/null +++ b/src/main/webapp/WEB-INF/templates/partials/search.html @@ -0,0 +1,30 @@ + + + + + + Segrada +
+ + + +

Search within file partial

+ +
+
+
+ + +
+ + +
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/templates/source/show.html b/src/main/webapp/WEB-INF/templates/source/show.html index 3b304109..e8f6e5ab 100644 --- a/src/main/webapp/WEB-INF/templates/source/show.html +++ b/src/main/webapp/WEB-INF/templates/source/show.html @@ -62,6 +62,8 @@

+
+