bitte verwendet nur noch addressen die https beginnen! Siehe wiki https://wiki.mediacube.at/wiki/index.php?title=Repositories#ssh-_vs._https_repository_adressen

alle von MMT haben hier Zugriff. Du willst Deine Freunde von MMA auch dabei haben? Mail mit den usernamen an Brigitte Jellinek

Commit 741144f5 authored by Daniel Witek's avatar Daniel Witek

add fragsize

parent a408c130
......@@ -20,24 +20,24 @@
<section id="suggestions"></section>
<select name="type" id="type" class="formelement">
<option value="">-Pick a Type to Filter-</option>
<option value="Water">Water</option>
<option value="Fire">Fire</option>
<option value="Grass">Grass</option>
<option value="Poison">Poison</option>
<option value="Normal">Normal</option>
<option value="Bug">Bug</option>
<option value="Dark">Dark</option>
<option value="Dragon">Dragon</option>
<option value="Electric">Electric</option>
<option value="Ice">Ice</option>
<option value="Fairy">Fairy</option>
<option value="Fighting">Fighting</option>
<option value="Ground">Ground</option>
<option value="Fire">Fire</option>
<option value="Flying">Flying</option>
<option value="Ghost">Ghost</option>
<option value="Grass">Grass</option>
<option value="Ground">Ground</option>
<option value="Ice">Ice</option>
<option value="Normal">Normal</option>
<option value="Poison">Poison</option>
<option value="Psychic">Psychic</option>
<option value="Bug">Bug</option>
<option value="Rock">Rock</option>
<option value="Ghost">Ghost</option>
<option value="Dragon">Dragon</option>
<option value="Dark">Dark</option>
<option value="Steel">Steel</option>
<option value="Fairy">Fairy</option>
<option value="Water">Water</option>
</select>
......
......@@ -69,6 +69,7 @@ function sendNameQuery(q){
.set(`hl.fl=about_txt_en`)
.set(`hl=on`)
.set(`hl.snippets=10`)
.set(`hl.fragsize=25`)
.set(`hl.simple.pre=<b>`)
.set(`hl.simple.post=</b>`)
.start(0)
......@@ -103,13 +104,12 @@ function sendNameQuery(q){
item.innerHTML =
"<li class='poke_title'><strong>" + entry.id + " " + entry.poke_txt_en + "</strong></li>" +
snippets +
// "<li class='poke_about'><i>" + highlight[entry.id] + "</i></li>" +
"<li>" + entry.gen_txt_en + " Pokémon</li>" +
"<li>MaxHP: " + entry.maxHP_txt_en + "</li>" +
"<li>MaxCP: " + entry.maxCP_txt_en + "</li>" +
"<li>Types:</li>" +
`<ul id='${entry.id}'></ul>`;
`<ul id='${entry.id}'></ul>` +
"<li>Full description: <i>" + entry.about_txt_en + "</i></li>";
document.getElementById('results').appendChild(item)
......
......@@ -93,5 +93,5 @@ li{
.poke_about{
padding-bottom: 0.5em;
list-style: circle;
list-style: disc;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment