This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch preview/refresh
in repository https://gitbox.apache.org/repos/asf/openoffice-project.git
The following commit(s) were added to refs/heads/preview/refresh by this push:
new 5f8c28e switch to top nav
5f8c28e is described below
commit 5f8c28e3888e7fbdcd86283b9133f78f5c8220d5
Author: Dave Fisher <[email protected]>
AuthorDate: Tue Jun 29 16:05:36 2021 -0700
switch to top nav
---
theme/openoffice/templates/base.html | 5 +--
theme/openoffice/templates/topnav.html | 70 ++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+), 3 deletions(-)
diff --git a/theme/openoffice/templates/base.html
b/theme/openoffice/templates/base.html
index f28caf3..f49cbab 100644
--- a/theme/openoffice/templates/base.html
+++ b/theme/openoffice/templates/base.html
@@ -46,9 +46,8 @@
<div id="bannercenter"><br/> The Free and Open Productivity Suite</div>
</div>
- <div id="clear"></div>
- <div id="sidenav">
- {% block sidenav %}{% include "sidenav.html" %}{% endblock %}
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
+ {% block topnav %}{% include "topnav.html" %}{% endblock %}
</div>
<div id="contenta">
{% block content %}
diff --git a/theme/openoffice/templates/topnav.html
b/theme/openoffice/templates/topnav.html
new file mode 100644
index 0000000..1c39003
--- /dev/null
+++ b/theme/openoffice/templates/topnav.html
@@ -0,0 +1,70 @@
+<div class="collapse navbar-collapse" id="navbarSupportedContent">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active dropdown">
+ <a class="nav-link dropdown-toggle" href="#" id="exampleDropdown"
+ role="button" data-toggle="dropdown" aria-expanded="false">General</a>
+ <ul class="dropdown-menu" aria-labelledby="exampleDropdown">
+ <li><a class="dropdown-item" href="/index.html">About</a></li>
+ <li><a class="dropdown-item" href="/downloads.html">Downloads</a></li>
+ <li><a class="dropdown-item" href="/license.html">License</a></li>
+ <li><a class="dropdown-item" href="/trademarks.html">Trademarks</a></li>
+ <li><a class="dropdown-item" href="/press.html">Press</a></li>
+ <li><a class="dropdown-item"
href="https://www.openoffice.org/">OpenOffice.org</a></li>
+ </ul>
+ </li>
+ <li class="nav-item active dropdown">
+ <a class="nav-link dropdown-toggle" href="#" id="exampleDropdown"
+ role="button" data-toggle="dropdown"
aria-expanded="false">Community</a>
+ <ul class="dropdown-menu" aria-labelledby="exampleDropdown">
+ <li><a class="dropdown-item" href="/get-involved.html">Get
Involved</a></li>
+ <li><a class="dropdown-item"
href="/orientation/index.html">Orientation</a></li>
+ <li><a class="dropdown-item" href="/mailing-lists.html">Mailing
Lists</a></li>
+ <li><a class="dropdown-item" href="/social.html">Social
Networking</a></li>
+ <li><a class="dropdown-item" href="/events.html">Events</a></li>
+ <li><a class="dropdown-item"
href="https://www.openoffice.org/support/">Support</a></li>
+ <li><a class="dropdown-item" href="/native-lang.html">Native
Language</a></li>
+ <li><a class="dropdown-item"
href="https://cwiki.apache.org/confluence/display/OOOUSERS/">Planning
Wiki</a></li>
+ <li><a class="dropdown-item" href="/people.html">People</a></li>
+ <li><a class="dropdown-item" href="/community-faqs.html">Community
FAQs</a></li>
+ </ul>
+ </li>
+ <li class="nav-item active dropdown">
+ <a class="nav-link dropdown-toggle" href="#" id="exampleDropdown"
+ role="button" data-toggle="dropdown"
aria-expanded="false">Development</a>
+ <ul class="dropdown-menu" aria-labelledby="exampleDropdown">
+ <li><a class="dropdown-item" href="/source.html">Source Code</a></li>
+ <li><a class="dropdown-item" href="/bug-tracking.html">Bug
Tracking</a></li>
+ <li><a class="dropdown-item" href="/qa.html">Quality Assurance</a></li>
+ <li><a class="dropdown-item" href="/translate.html">Translation</a></li>
+ <li><a class="dropdown-item" href="/website-local.html">Website</a></li>
+ <li><a class="dropdown-item" href="/security.html">Security
Reports</a></li>
+ <li><a class="dropdown-item"
href="/contributing-code.html">Contributing Code</a></li>
+ <li><a class="dropdown-item" href="/developer-faqs.html">Developer
FAQs</a></li>
+ </ul>
+ </li>
+ <li class="nav-item active dropdown">
+ <a class="nav-link dropdown-toggle" href="#" id="exampleDropdown"
+ role="button" data-toggle="dropdown" aria-expanded="false">Project</a>
+ <ul class="dropdown-menu" aria-labelledby="exampleDropdown">
+ <li><a class="dropdown-item"
href="https://blogs.apache.org/OOo/">Project Blog</a></li>
+ <li><a class="dropdown-item" href="/pmc-faqs.html">PMC FAQs</a></li>
+ </ul>
+ </li>
+ </ul>
+ <div class="navbar-nav">
+ <div class="nav-item dropdown dropdown-menu-right active">
+ <a class="nav-link dropdown-toggle" href="#"
+ role="button" data-toggle="dropdown" aria-haspopup="true"
+ aria-expanded="false">The ASF</a>
+ <div class="dropdown-menu dropdown-menu-right">
+ <a class="dropdown-item" href="https://www.apache.org/">Website</a>
+ <a class="dropdown-item"
href="https://www.apache.org/licenses/">License</a>
+ <a class="dropdown-item"
href="https://www.apache.org/security/">Security</a>
+ <a class="dropdown-item"
href="https://www.apache.org/events/current-event">Events</a>
+ <a class="dropdown-item"
href="https://www.openoffice.org/donations.html">Donations</a>
+ <a class="dropdown-item"
href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a>
+ <a class="dropdown-item"
href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ </div>
+ </div>
+ </div>
+</div>