aboutsummaryrefslogtreecommitdiff
path: root/docs/_templates/layout.html
diff options
context:
space:
mode:
authorJosh B <[email protected]>2020-05-31 00:11:03 +1000
committerRapptz <[email protected]>2020-12-18 21:18:52 -0500
commit16740623a3945d61b00455cb6b4b2aadd32c2f17 (patch)
tree04b4a3fc91bb06509941fc324a75ff7665a903e3 /docs/_templates/layout.html
parentUse new HTML5 <section> instead of <div class="section"> (diff)
downloaddiscord.py-16740623a3945d61b00455cb6b4b2aadd32c2f17.tar.xz
discord.py-16740623a3945d61b00455cb6b4b2aadd32c2f17.zip
Create settings icon for mobile
Diffstat (limited to 'docs/_templates/layout.html')
-rw-r--r--docs/_templates/layout.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 41f0809d..b7c472cf 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -56,19 +56,22 @@
{#- The relative links component #}
<header class="grid-item">
<nav>
- {%- for rellink in rellinks | reverse %}
+ <!--{%- for rellink in rellinks | reverse %}
<a href="{{ pathto(rellink[0])|e }}" title="{{ rellink[1]|striptags|e }}"
{{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a> |
- {%- endfor %}
- <a title="settings" accesskey="S" onclick="openModal(settingsModal);">settings</a>
+ {%- endfor %}-->
+ <a title="settings" accesskey="S" onclick="openModal(settingsModal);"><i class='fas fa-cog'></i></a>
{#- No breadcrumbs. But if they're gonna appear they'll be here #}
</nav>
</header>
{#- The sidebar component #}
<aside class="grid-item">
- <div id="hamburger-toggle">
+ <span id="hamburger-toggle">
<i class="fa fa-bars"></i>
- </div>
+ </span>
+ <span id="settings-toggle" onclick="openModal(settingsModal);">
+ <i class='fas fa-cog'></i>
+ </span>
<div id="sidebar">
{#- This is manually unrolled from the original layout #}
<div id="searchbox" role="search">
@@ -125,7 +128,7 @@
<div id="settings" class="modal" onclick="if (event.target == this){ closeModal(settingsModal); }" hidden>
<div class="modal-content">
- <span class="close" onclick="closeModal(settingsModal);" title="Close">&times;</span>
+ <span class="close" onclick="closeModal(settingsModal);" title="Close"><i class='fas fa-times'></i></span>
<h1>Settings</h1>
<div class='setting'>