Skip to content

Commit

Permalink
Fix linting and file dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
britneywwc authored and abhigyanghosh30 committed Jun 10, 2024
1 parent 56f8c84 commit ed12542
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 275 deletions.
3 changes: 1 addition & 2 deletions static/js/src/advantage/credentials/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ function App() {
<Sentry.ErrorBoundary>
<QueryClientProvider client={queryClient}>
<Router basename="/credentials/shop">
<Routes>
</Routes>
<Routes></Routes>
</Router>
<ReactQueryDevtools initialIsOpen={false} />
</QueryClientProvider>
Expand Down

This file was deleted.

This file was deleted.

8 changes: 4 additions & 4 deletions templates/credentials/shop/manage.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h1><strong>Manage exam attempts</strong></h1>
<th>
<form>
<label class="p-checkbox">
<input class="p-checkbox__input" type="checkbox" aria-labelledby="renewal-terms">
<input class="p-checkbox__input" type="checkbox" aria-labelledby="renewal-terms"/>
<span class="p-checkbox__label"></span>
</label>
</form>
Expand All @@ -64,11 +64,11 @@ <h1><strong>Manage exam attempts</strong></h1>
<tr>
<td>
<label class="p-checkbox">
<input class="p-checkbox__input" type="checkbox" aria-labelledby="renewal-terms">
<input class="p-checkbox__input" type="checkbox" aria-labelledby="renewal-terms"/>
<span class="p-checkbox__label"></span>
</label>
</td>
<td colspan="2" class="has-overflow" id="exam-key-{{ key_item['index']}}">
<td colspan="2" class="has-overflow" id="exam-key-{{ key_item['index'] }}">
<span id="exam-key-item-{{ key_item['key'] }}">{{ key_item["key"] }}&emsp;</span>
<span class="p-tooltip--btm-center" aria-describedby="copy-tooltip">
<a onClick="copyToClipboard('{{ key_item["key"] }}')">
Expand Down Expand Up @@ -189,4 +189,4 @@ <h1><strong>Manage exam attempts</strong></h1>
key.innerHTML = activationKey + '&emsp;';
}
</script>
{% endblock content%}
{% endblock content %}
6 changes: 3 additions & 3 deletions webapp/shop/cred/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
init_trueability_session,
)
from webapp.shop.utils import (
get_exam_contract_id,
get_user_first_last_name,
get_tab_keys,
get_exam_contract_id,
get_user_first_last_name,
get_tab_keys,
)
from webapp.login import user_info

Expand Down

0 comments on commit ed12542

Please sign in to comment.