Skip to content
Snippets Groups Projects
Commit b5dc05f4 authored by Suireen's avatar Suireen
Browse files

Info Box Version 1

parent bcb61efa
Branches
No related tags found
1 merge request!8UI Hinzufügen
English
Show Info: Can be activated and deactivated by clicking on the button.
Input: input by entering a DOI ("Digital Object Identifier")
Drag and drop or click to select a file to upload: entering multiple DOI by txt-file is only possible if every DOI has its own line.
Recursion:
Clear All: clearing all inputs
Clear Selected: clearing all selected inputs
Generate Graph: generates the graph
Update Automatically: updates Automatically the graph for every new input
Smart Input: checks the correctness of the entered DOI and shows a nicer depiction: Author, Journal, publication date.
German
Show Info: Durch wiederholtes klicken kann das Fenster ein und aus geblendet werden.
Input: Die Eingabe erfolgt in Form eines DOI ("Digital Object Identifier")
Drag and drop or click to select a file to upload: Mehrere DOI in einem txt-Dokument müssen untereinander angeordnet sein.
Recursion:
Clear All: alle Eingaben werden gelöscht
Clear Selected: alle markierten Eingaben werden gelöscht
Generate Graph: generiert den zugehörigen Graphen
Update Automatically: automatische Aktualisierung des Graphen nach neuer Eingabe
Smart Input: direkte Überprüfung der Eingabe auf Richtigkeit zudem wird nicht mehr der DOI angezeigt sondern: Der Autor, Das Journal, Das Veröffentlichungsdatum.
......@@ -154,7 +154,12 @@ def show_hide_info_box(n_clicks):
if n_clicks % 2 == 0:
return ''
else:
return 'Hier koennte Ihre Werbung stehen'
list_ = open("Info Box.txt").read().split()
f = open('Info Box.txt', 'r')
boxcontent = f.read()
#print(boxcontent)
return html.Div(boxcontent, style={'whiteSpace': 'pre-line'})
f.close()
'''
Basic structure for a callback that generates an output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment