Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Aug 26, 2024
1 parent b0e973b commit e1e2481
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
7 changes: 1 addition & 6 deletions egi_notebooks_hub/b2drop.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
import base64

from egi_notebooks_hub.onedata import OnedataSpawner
from jinja2 import (
ChoiceLoader,
Environment,
FileSystemLoader,
PackageLoader,
)
from jinja2 import ChoiceLoader, Environment, FileSystemLoader, PackageLoader
from kubernetes_asyncio.client.rest import ApiException


Expand Down
7 changes: 4 additions & 3 deletions egi_notebooks_hub/templates/b2drop-form.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- htmlhint doctype-first:false -->
<style>
{% include 'b2drop-style.css' %}
</style>
Expand Down Expand Up @@ -26,7 +27,7 @@ <h3>{{ profile.display_name }}</h3>
{{ choice.display_name }}
</option>
{%- endfor %}
{%- if option['unlisted_choice']['enabled'] %}
{%- if option['unlisted_choice']['enabled'] %}
<option value="unlisted-choice">
{{ option['unlisted_choice']['display_name_in_choices'] }}
</option>
Expand Down Expand Up @@ -64,8 +65,8 @@ <h4 class="panel-title">
B2DROP connection
</a>
{%if b2drop_ready %}
<span class="label label-success">Already configured!</span>
{% endif %}
<span class="label label-success">Already configured!</span>
{% endif %}
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
Expand Down
2 changes: 1 addition & 1 deletion templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
alt="CESNET logo"
src="{{ static_url('images/cesnet.png') }}"
/></a>
{{ service_name }} is an <a href="https://www.egi.eu">EGI</a> service provided by
{{ service_name }} is an <a href="https://www.egi.eu">EGI</a> service provided by
<a href="https://www.cesnet.cz/?lang=en">CESNET</a>
</div>
<div class="col-md-6 text-end">
Expand Down

0 comments on commit e1e2481

Please sign in to comment.