Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontend): set role=button on list carets #200

Merged
merged 1 commit into from Aug 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/terraboard-vuejs/src/components/StatesList.vue
@@ -1,8 +1,8 @@
<template>
<div id="results" class="row">
<label id="navigate"> <span class="fas fa-caret-left" v-if="prevPage"
<label id="navigate"> <span class="fas fa-caret-left" role="button" v-if="prevPage"
v-on:click="fetchStats(prevPage)"></span> {{startItems}}-{{itemsInPage}}/{{results.total}}
<span class="fas fa-caret-right" v-if="nextPage" v-on:click="fetchStats(nextPage)"></span>
<span class="fas fa-caret-right" role="button" v-if="nextPage" v-on:click="fetchStats(nextPage)"></span>
</label>
<table class="table table-border table-striped">
<thead>
Expand Down
4 changes: 2 additions & 2 deletions static/terraboard-vuejs/src/views/Search.vue
Expand Up @@ -73,13 +73,13 @@
<hr />
<label id="navigate" v-if="results.length != 0">
<span
class="fas fa-caret-left"
class="fas fa-caret-left" role="button"
v-on:click="doSearch(pager.prevPage)"
v-if="pager.prevPage"
></span>
{{ pager.startItems }}-{{ pager.itemsInPage }}/{{ results.total }}
<span
class="fas fa-caret-right"
class="fas fa-caret-right" role="button"
v-on:click="doSearch(pager.nextPage)"
v-if="pager.nextPage"
></span>
Expand Down