Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
swc-bb
swc-pages
2019-11-26-Potsdam-Berlin-Python
Commits
9788e51b
Commit
9788e51b
authored
Sep 23, 2016
by
Raniere Silva
Committed by
GitHub
Sep 23, 2016
Browse files
Merge pull request #103 from evanwill/accessibility-fix
accessibility fixes.
parents
20ef8e2e
94ef967b
Changes
2
Hide whitespace changes
Inline
Side-by-side
_includes/episode_navbar.html
View file @
9788e51b
{% comment %}
Find previous and next episodes (if any).
Including file must pass episode_navbar_title=true or ...=false to display episode title.
{% endcomment %}
{% for episode in site.episodes %}
{% if episode.url == page.url %}
...
...
@@ -21,9 +20,9 @@
<div
class=
"col-md-1"
>
<h3>
{% if prev_episode %}
<a
href=
"{{ page.root }}{{ prev_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-left"
>
</span></a>
<a
href=
"{{ page.root }}{{ prev_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-left"
aria-hidden=
"true"
></span><span
class=
"sr-only"
>
previous episode
</span></a>
{% else %}
<a
href=
"{{ page.root }}/"
><span
class=
"glyphicon glyphicon-menu-up"
>
</span></a>
<a
href=
"{{ page.root }}/"
><span
class=
"glyphicon glyphicon-menu-up"
aria-hidden=
"true"
></span><span
class=
"sr-only"
>
lesson home
</span></a>
{% endif %}
</h3>
</div>
...
...
@@ -36,9 +35,9 @@
<div
class=
"col-md-1"
>
<h3>
{% if next_episode %}
<a
href=
"{{ page.root }}{{ next_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-right"
>
</span></a>
<a
href=
"{{ page.root }}{{ next_episode.url }}"
><span
class=
"glyphicon glyphicon-menu-right"
aria-hidden=
"true"
></span><span
class=
"sr-only"
>
next episode
</span></a>
{% else %}
<a
href=
"{{ page.root }}/"
><span
class=
"glyphicon glyphicon-menu-up"
>
</span></a>
<a
href=
"{{ page.root }}/"
><span
class=
"glyphicon glyphicon-menu-up"
aria-hidden=
"true"
></span><span
class=
"sr-only"
>
lesson home
</span></a>
{% endif %}
</h3>
</div>
...
...
_includes/navbar.html
View file @
9788e51b
...
...
@@ -68,7 +68,7 @@
</ul>
<form
class=
"navbar-form navbar-right"
role=
"search"
id=
"search"
onsubmit=
"google_search(); return false;"
>
<div
class=
"form-group"
>
<input
type=
"text"
id=
"google-search"
placeholder=
"Search..."
>
<input
type=
"text"
id=
"google-search"
placeholder=
"Search..."
aria-label=
"Google site search"
>
</div>
</form>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment