You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.0 KiB

  1. {% extends "base.html" %}
  2. {% set active_page = "spells" %}
  3. {% block title %}Spell List{% endblock %}
  4. {% block content %}
  5. <div class="uk-flex uk-flex-center uk-margin-bottom uk-margin-top">
  6. <h1>Adventurer Conqueror King Spell List</h1>
  7. </div>
  8. <div class="uk-flex uk-flex-bottom uk-flex-center uk-margin-large-bottom">
  9. <div>
  10. <label for="base_level">TURN INTO FILTER AREA</label>
  11. <input type="number" name="base_level" id="base_level" class="uk-input" value="{{ base_level if base_level else 1 }}" >
  12. </div>
  13. <div class="uk-margin-left">
  14. <button class="uk-button uk-button-primary" onclick="generateParty();">Generate</button>
  15. </div>
  16. </div>
  17. <hr class="uk-divider-icon">
  18. {% if spells %}
  19. <div class="uk-grid-medium uk-grid-match uk-flex-center" uk-grid>
  20. {% for spell in spells %}
  21. <div class="acks-npc-card">
  22. <div class="uk-card uk-card-body uk-card-default uk-box-shadow-hover-large">
  23. <h4 class="uk-card-title uk-margin-small-top">{{ spell.name }}</h4>
  24. <ul>
  25. <li>Arcane: {{ spell.arcane }}</li>
  26. <li>Divine: {{ spell.divine }}</li>
  27. <li>Duration: {{ spell.duration }}</li>
  28. <li>Range: {{ spell.range }}</li>
  29. </ul>
  30. <div>
  31. {{ spell.description }}
  32. </div>
  33. </div>
  34. </div>
  35. {% endfor %}
  36. </div>
  37. {% endif %}
  38. <style>
  39. table.item-table, table.item-table th {
  40. font-size: 12px;
  41. }
  42. div.stat-block > div {
  43. text-align: center;
  44. padding: 3px;
  45. width: 26px;
  46. }
  47. div.stat-block > div > div:first-child {
  48. font-weight: bold;
  49. color: green;
  50. }
  51. div.stat-block > div > div:last-child {
  52. font-weight: bold;
  53. font-size: 12px;
  54. color: #888;
  55. }
  56. div.save-block > div > div:first-child {
  57. font-weight: bold;
  58. color: purple;
  59. }
  60. div.save-block > div > div:last-child {
  61. font-weight: bold;
  62. font-size: 12px;
  63. color: #888;
  64. }
  65. div.acks-npc-card {
  66. width: 400px;
  67. }
  68. </style>
  69. {% endblock %}