Skip to content

Commit

Permalink
moved searchbar above other links
Browse files Browse the repository at this point in the history
  • Loading branch information
777arc committed Mar 12, 2024
1 parent a42e1cf commit 6bb78be
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion _templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div style="float: right; padding-bottom: 0;">
<!-- GitHub Logo //-->
<a href="https://github.com/777arc/PySDR" target="_blank" style="text-decoration:none;">
<svg height="18px" width="18px">
<svg height="16px" width="18px">
<path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path>
</svg>
</a>
Expand Down
11 changes: 9 additions & 2 deletions _templates/navigation.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{{ toctree(includehidden=theme_sidebar_includehidden, collapse=theme_sidebar_collapse) }}
<hr />
<ul>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
<input type="text" style="font-size:120%" name="q" placeholder="{{ _('Search PySDR') }}" aria-label="{{ _('Search PySDR') }}" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<ul style="margin-top:2px">
<li class="toctree-l1">
<a href="https://github.com/777arc/PySDR" target="_blank" style="text-decoration:none;">
<svg height="18px" width="18px">
<svg height="15px" width="18px">
<path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z"></path>
</svg>
</a>
Expand Down
9 changes: 0 additions & 9 deletions _templates/searchbox.html

This file was deleted.

1 change: 0 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@
'**': [
'about.html',
'navigation.html',
'searchbox.html',
'patrons.html', # a custom template, has to be in the _templates dir, but for pysdr it gets auto-generated by python build script
#'relations.html', # doesnt seem to show anything
]
Expand Down

0 comments on commit 6bb78be

Please sign in to comment.