Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sébastien Villemot
website
Commits
cb3bca0c
Commit
cb3bca0c
authored
Oct 23, 2018
by
Houtan Bastani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add onkeypress for accessibility
parent
e3f54345
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
_includes/download-snapshot.html
_includes/download-snapshot.html
+4
-4
_includes/masthead.html
_includes/masthead.html
+1
-1
index.md
index.md
+1
-1
No files found.
_includes/download-snapshot.html
View file @
cb3bca0c
...
...
@@ -22,7 +22,7 @@
{% assign snapshot_files = (site.static_files | where: "snapshot", "windows-exe" | sort: 'modified_time') | reverse %}
{% for snapshot in snapshot_files %}
{% if snapshot.extname == ".exe" %}
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path }}'"
>
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path
}}'"
onkeypress=
"document.location = '{{ snapshot.path
}}'"
>
<div
class=
"download_cell_left"
><i
class=
"icon-document-download"
></i>
{{ snapshot.modified_time | date: "%Y %b %d %R" }}
</div>
<div
class=
"download_cell_right"
><a
href=
"#"
>
{{ snapshot.name }}
</a></div>
</div>
...
...
@@ -35,7 +35,7 @@
{% assign snapshot_files = (site.static_files | where: "snapshot", "windows-zip" | sort: 'modified_time') | reverse %}
{% for snapshot in snapshot_files %}
{% if snapshot.extname == ".zip" %}
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path }}'"
>
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path
}}'"
onkeypress=
"document.location = '{{ snapshot.path
}}'"
>
<div
class=
"download_cell_left"
><i
class=
"icon-document-download"
></i>
{{ snapshot.modified_time | date: "%Y %b %d %R" }}
</div>
<div
class=
"download_cell_right"
><a
href=
"#"
>
{{ snapshot.name }}
</a></div>
</div>
...
...
@@ -57,7 +57,7 @@
{% assign snapshot_files = (site.static_files | where: "snapshot", "macosx" | sort: 'modified_time') | reverse %}
{% for snapshot in snapshot_files %}
{% if snapshot.extname == ".zip" %}
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path }}'"
>
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path
}}'"
onkeypress=
"document.location = '{{ snapshot.path
}}'"
>
<div
class=
"download_cell_left"
><i
class=
"icon-document-download"
></i>
{{ snapshot.modified_time | date: "%Y %b %d %R" }}
</div>
<div
class=
"download_cell_right"
><a
href=
"#"
>
{{ snapshot.name }}
</a></div>
</div>
...
...
@@ -83,7 +83,7 @@
{% assign snapshot_files = (site.static_files | where: "snapshot", "source" | sort: 'modified_time') | reverse %}
{% for snapshot in snapshot_files %}
{% if snapshot.extname == ".xz" %}
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path }}'"
>
<div
class=
"download_row"
onclick=
"document.location = '{{ snapshot.path
}}'"
onkeypress=
"document.location = '{{ snapshot.path
}}'"
>
<div
class=
"download_cell_left"
><i
class=
"icon-document-download"
></i>
{{ snapshot.modified_time | date: "%Y %b %d %R" }}
</div>
<div
class=
"download_cell_right"
><a
href=
"#"
>
{{ snapshot.name }}
</a></div>
</div>
...
...
_includes/masthead.html
View file @
cb3bca0c
...
...
@@ -3,7 +3,7 @@
<div
class=
"masthead__menu"
>
<nav
id=
"site-nav"
class=
"greedy-nav"
>
<div
class=
"dynare_masthead_image_container_load_hover"
></div>
<div
class=
"dynare_masthead_image_container"
onclick=
"location.href='{{ '/' | relative_url }}'"
></div>
<div
class=
"dynare_masthead_image_container"
onclick=
"location.href='{{ '/' | relative_url
}}'"
onkeypress=
"location.href='{{ '/' | relative_url
}}'"
></div>
<ul
class=
"visible-links"
id=
"dynare_masthead_ul"
>
{%- for link in site.data.navigation.main -%}
{%- if link.url contains '://' -%}
...
...
index.md
View file @
cb3bca0c
...
...
@@ -63,7 +63,7 @@ We organize a Summer School and a Conference every year (applications every Spri
</div>
</div>
{% for post in site.posts limit:1 %}
<div
class=
"dynare_home_page_post_box"
onclick=
"location.href='{{ post.url }}';"
><h3
class=
"dynare_home_page_post_title"
>
{{ post.title }}
</h3>
<div
class=
"dynare_home_page_post_box"
onclick=
"location.href='{{ post.url
}}';"
onkeypress=
"location.href='{{ post.url
}}';"
><h3
class=
"dynare_home_page_post_title"
>
{{ post.title }}
</h3>
<span
class=
"dynare_home_page_date"
>
{{ post.date | date_to_long_string }}
</span>
{{ post.excerpt }}
</div>
...
...
Write
Preview
Markdown
is supported
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