Spaces:
Running
Running
Commit ·
13e9399
1
Parent(s): 32b338c
add tooltip in fetch link box
Browse files
modules/DataLoading/DataIngestion.py
CHANGED
|
@@ -1157,6 +1157,13 @@ def create_fetch_eventlist_tab(
|
|
| 1157 |
name="Fetch and Load EventList",
|
| 1158 |
button_type="primary",
|
| 1159 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1160 |
|
| 1161 |
def fetch_eventlist(event):
|
| 1162 |
if not link_input.value or not filename_input.value:
|
|
@@ -1209,7 +1216,7 @@ def create_fetch_eventlist_tab(
|
|
| 1209 |
|
| 1210 |
tab_content = pn.Column(
|
| 1211 |
pn.pane.Markdown("### Fetch EventList from Link"),
|
| 1212 |
-
link_input,
|
| 1213 |
filename_input,
|
| 1214 |
format_select,
|
| 1215 |
fetch_button,
|
|
|
|
| 1157 |
name="Fetch and Load EventList",
|
| 1158 |
button_type="primary",
|
| 1159 |
)
|
| 1160 |
+
|
| 1161 |
+
tooltip_link = pn.widgets.TooltipIcon(
|
| 1162 |
+
value=Tooltip(
|
| 1163 |
+
content="""When using urls from github use raw links.""",
|
| 1164 |
+
position="bottom",
|
| 1165 |
+
)
|
| 1166 |
+
)
|
| 1167 |
|
| 1168 |
def fetch_eventlist(event):
|
| 1169 |
if not link_input.value or not filename_input.value:
|
|
|
|
| 1216 |
|
| 1217 |
tab_content = pn.Column(
|
| 1218 |
pn.pane.Markdown("### Fetch EventList from Link"),
|
| 1219 |
+
pn.Row(link_input, tooltip_link),
|
| 1220 |
filename_input,
|
| 1221 |
format_select,
|
| 1222 |
fetch_button,
|