aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-04-30 11:02:49 +0300
committerBonfaceKilz2024-04-30 13:09:46 +0300
commit7a09c0f60ee67b86f90d51cf3f1c2a2adc8df419 (patch)
treece6869ede908942226e0fc97eb7c9019539ae891 /gn2/wqflask
parent4ba0d9c26d8d5dd9e2ac690a5aa69468b5e01282 (diff)
downloadgenenetwork2-7a09c0f60ee67b86f90d51cf3f1c2a2adc8df419.tar.gz
Remove unused imports.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/edit.py4
-rw-r--r--gn2/wqflask/templates/dataset.html7
2 files changed, 0 insertions, 11 deletions
diff --git a/gn2/wqflask/edit.py b/gn2/wqflask/edit.py
index b0ef7631..e09bee9c 100644
--- a/gn2/wqflask/edit.py
+++ b/gn2/wqflask/edit.py
@@ -1,12 +1,8 @@
-import uuid
import requests
-import time
from urllib.parse import urljoin
from gn2.wqflask.oauth2.client import oauth2_get
-from gn2.wqflask.oauth2.session import session_info
-from gn2.wqflask.oauth2.tokens import JWTToken
from flask import (Blueprint,
flash,
diff --git a/gn2/wqflask/templates/dataset.html b/gn2/wqflask/templates/dataset.html
index 1e2c5bc4..32f17682 100644
--- a/gn2/wqflask/templates/dataset.html
+++ b/gn2/wqflask/templates/dataset.html
@@ -85,13 +85,6 @@
{% else %}
{{ name }}
{% endif %}
- <small>
- <sup>
- [&nbsp;
- <a hx-get={{ url_for('metadata.view_history', id_=dataset.id.split('/')[-1], name=name, title=(dataset.title or dataset.label or dataset.altLabel)) }} hx-target=".dataset-content" hx-push-url="true" hx-select="#history">History</a>
- &nbsp;]
- </sup>
- </small>
</h1>
</header>
<div class="panel-about panel panel-info panel-metadata text-muted">