Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lesson Template
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
prace-lessons
Lesson Template
Commits
94ef967b
Commit
94ef967b
authored
8 years ago
by
Evan P. Williamson
Browse files
Options
Downloads
Patches
Plain Diff
accessibility fixes.
Add label to search box and navigation arrows.
parent
f0a94758
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_includes/episode_navbar.html
+4
-5
4 additions, 5 deletions
_includes/episode_navbar.html
_includes/navbar.html
+1
-1
1 addition, 1 deletion
_includes/navbar.html
with
5 additions
and
6 deletions
_includes/episode_navbar.html
+
4
−
5
View file @
94ef967b
{% 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>
...
...
This diff is collapsed.
Click to expand it.
_includes/navbar.html
+
1
−
1
View file @
94ef967b
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment