Merge pull request 'Improves some UX points' (#3) from improve-ux into main

Reviewed-on: lab-cat/YourChinaScienceInvestigation#3
This commit is contained in:
procrastimax 2022-06-26 13:56:15 +02:00
commit 4b83b0819b
2 changed files with 18 additions and 12 deletions

View file

@ -1,6 +1,5 @@
<!doctype html>
<html>
<html lang="de">
<head>
<title>YourCSI</title>
<meta charset='utf-8' />
@ -24,19 +23,22 @@
<h1>Your #ChinaScienceInvestigation</h1>
<h4>Ein Projekt der <a href="http://ag-link.xyz">AG Link</a> </h4>
<div id="search">
<input type="text" placeholder="e. g. Leipzig University" list="datalist" id="uni"
<input title="Eingabe Suchbegriff" type="text" placeholder="e. g. Leipzig University" list="datalist" id="uni"
onkeyup="provide_suggestion(this.value)">
<datalist id="datalist"></datalist>
<div title="ändere Risikokategorie" id="risk">
Risikokategorie
<select id="risk">
<option value="very high"> very high </option>
<option value="high"> high </option>
<option value="medium"> medium </option>
<option value="low"> low </option>
<option value="very high"> sehr hoch </option>
<option value="high"> hoch </option>
<option value="medium"> mittel </option>
<option value="low"> niedrig </option>
</select>
</div>
<button type="button" id="submit" onclick='open_link(document.getElementById("uni").value, risk.value)'>
View Publications
<button title="Zeige Publikationen" type="button" id="submit" onclick='open_link(document.getElementById("uni").value, risk.value)'>
Zeige Publikationen
</button>
</div>
<a id="down-arrow" href="#text"></a>

View file

@ -144,6 +144,10 @@ nav ul li a:hover {
padding: 5px;
}
#risk {
background-color: white;
}
#down-arrow {
position: absolute;
top: calc(100vh - 60px);