From 6bcb242d6be25caef7f9c2d8619e12faa4f22b3b Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Tue, 4 Feb 2020 15:48:30 +0000 Subject: [PATCH] FEAT: Add omnisearch to header Tis a bit broken on mobile at the moment... --- RIGS/templates/RIGS/index.html | 58 +++++++------------------------- RIGS/templates/RIGS/omnibar.html | 33 ++++++++++++++++++ templates/base_rigs.html | 6 ++-- 3 files changed, 50 insertions(+), 47 deletions(-) create mode 100644 RIGS/templates/RIGS/omnibar.html diff --git a/RIGS/templates/RIGS/index.html b/RIGS/templates/RIGS/index.html index f3b4d1a7..d9ee6fb7 100644 --- a/RIGS/templates/RIGS/index.html +++ b/RIGS/templates/RIGS/index.html @@ -11,7 +11,7 @@
- + -
-
-

Search Rigboard -

-
- -
-
-
-
- - -
- - -
-
-
-
-
+
+
+

Search Rigboard +

+
+
+
+ {% include 'RIGS/omnibar.html' %}
+
+
{% if perms.RIGS.view_event %}
- {% include 'RIGS/activity_feed.html' %} + {% include 'RIGS/activity_feed.html' %}
{% endif %}
diff --git a/RIGS/templates/RIGS/omnibar.html b/RIGS/templates/RIGS/omnibar.html new file mode 100644 index 00000000..88788b89 --- /dev/null +++ b/RIGS/templates/RIGS/omnibar.html @@ -0,0 +1,33 @@ + +
+
+ + +
+ + +
+
+
+
diff --git a/templates/base_rigs.html b/templates/base_rigs.html index febaba98..8ab18d50 100644 --- a/templates/base_rigs.html +++ b/templates/base_rigs.html @@ -23,7 +23,6 @@
  • New Event
  • {% endif %} - {% endif %} @@ -51,4 +50,7 @@ {% if perms.RIGS.view_venue %}
  • Venues
  • {% endif %} -{% endblock %} \ No newline at end of file + {% if user.is_authenticated %} + + {% endif %} +{% endblock %}