diff --git a/public/scripts/bbs/melding.js b/public/scripts/bbs/melding.js index 9bef01c..098d2b5 100644 --- a/public/scripts/bbs/melding.js +++ b/public/scripts/bbs/melding.js @@ -77,7 +77,7 @@ function filter() { } } else if (searchType === "abilities") { // Abilities - hasLine = false; + var hasLine = false; for (let i = 0; i < 7; i++) { const id = i + 6; const ablName = tds[id].innerText.toLowerCase(); diff --git a/public/styles/bbs/melding.css b/public/styles/bbs/melding.css index 7cc8e9c..21ad32d 100644 --- a/public/styles/bbs/melding.css +++ b/public/styles/bbs/melding.css @@ -1,4 +1,13 @@ table { + th { + position: sticky; + top: 0; + + &.crystal { + top: 3.3vh; + } + } + .charlist { display: inline-grid; grid-template-columns: repeat(3, 1fr); @@ -32,4 +41,4 @@ table { flex: 0 1 100px; } } -} +} \ No newline at end of file diff --git a/templates/layouts/base.html b/templates/layouts/base.html index 428b3e0..d133685 100644 --- a/templates/layouts/base.html +++ b/templates/layouts/base.html @@ -2,7 +2,7 @@
| Character | -Command | -Ingredient A | -Ingredient B | -Type | -Chance | -Abilities | -||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ crystal }} | - {% endfor %} -||||||||||||
|
-
-
-
- {% if recipe.can_unlock(Character::Terra) %}T{% endif %}
-
-
- {% if recipe.can_unlock(Character::Ventus) %}V{% endif %}
-
-
- {% if recipe.can_unlock(Character::Aqua) %}A{% endif %}
-
-
- |
- {{ cmd.name }} | -{{ recipe.ingredients.0 }} | -{{ recipe.ingredients.1 }} | -{{ recipe.type }} | -{{ recipe.chance }}% | - {% for crystal in crystals %} - {% let ability = recipe.get_ability(crystal) %} -- {% if ability.is_some() %} - {{ ability.unwrap().name }} - {% else %} - - - {% endif %} - | - {% endfor %} -||||||
| Character | +Command | +Ingredient A | +Ingredient B | +Type | +Chance | +Abilities | +||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ crystal }} | {% endfor %} - -||||||||||||