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.

105 lines
3.9 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Yokoka’s Quest Fan Character Profile Generator</title>
  5. </head>
  6. <body>
  7. <h1>Yokoka’s Quest-style Profile generator</h1>
  8. <h1>THIS IS WORK IN PROGRESS, THIS IS NON FUNCTIONAL, PLEASE DO NOT USE YET</h1>
  9. <pre>
  10. <%=data%>
  11. </pre>
  12. <form method="POST" action="/cgi/yqtemplate" enctype="multipart/form-data">
  13. <h2>General Information</h2>
  14. <label for="name">Name:</label>
  15. <input type="test" name="name"/><br />
  16. <label for="avatar">Portrait:</label>
  17. <input type="file" name="avatar"/><br />
  18. <label for="isLeader">Party Leader:</label>
  19. <input type="checkbox" name="is-leader"/><br />
  20. <h2>Classes and Levels</h2>
  21. <label for="class1">Class 1:</label>
  22. <select name="class1">
  23. <% for _, v in ipairs(classes) do %>
  24. <option value="<%= v %>"><%= v %></option>
  25. <% end %>
  26. </select>
  27. <label for="class1-lvl">Level:</label>
  28. <input type="number" name="class1-lvl" min="1"/><br/>
  29. <label for="class2">Class2:</label>
  30. <select name="class2">
  31. <% for _, v in ipairs(classes) do %>
  32. <option value="<%= v %>"><%= v %></option>
  33. <% end %>
  34. </select>
  35. <label for="class2-lvl">Level:</label>
  36. <input type="number"name="class2-lvl" min="1"/><br/>
  37. <label for="class-leaning">
  38. Class leaning (0 for completely class 1, 100 for completely class 2):
  39. </label>
  40. <input type="number" name="class-leaning" min="0" max="100"></br>
  41. <h2>Stats</h2>
  42. <label for="stat-luc">Luck</label>
  43. <input type="number" name="stat-luc" min="0" max="100" />
  44. <label for="stat-str">Strength</label>
  45. <input type="number" name="stat-str" min="0" max="100" />
  46. <label for="stat-sta">Stamina</label>
  47. <input type="number" name="stat-sta" min="0" max="100"/>
  48. <label for="stat-agi">Agility</label>
  49. <input type="number" name="stat-agi" min="0" max="100"/>
  50. <label for="stat-int">Intelligence</label>
  51. <input type="number" name="stat-int" min="0" max="100"/>
  52. <label for="stat-res">Resistance</label>
  53. <input type="number" name="stat-res" min="0" max="100"/><br/>
  54. <h2>Skills</h2>
  55. <label for="allegiance">Allegiance:</label>
  56. <input type="text" name="allegiance"/><br />
  57. <label for="affinity">Affinity:</label>
  58. <input type="text" name="affinity"/><br />
  59. <label for="ability">Ability:</label>
  60. <input type="text" name="ability"/><br />
  61. <label for="advantage">Advantage:</label>
  62. <select name="advantage">
  63. <% for _, v in ipairs(elements) do %>
  64. <option value="<%= v %>"><%= v %></option>
  65. <% end %>
  66. </select><br/>
  67. <label for="weakness">Weakness</label>
  68. <select name="weakness">
  69. <% for _, v in ipairs(elements) do %>
  70. <option value="<%= v %>"><%= v %></option>
  71. <% end %>
  72. </select><br />
  73. <h2>Equipment</h2>
  74. <label for="weapon-name">Weapon</label>
  75. <input type="file" name="weapon-ico" />
  76. <input type="text" name="weapon-name" /><br />
  77. <label for="outfit-name">Outfit</label>
  78. <input type="file" name="outfit-ico" />
  79. <input type="text" name="outfit-name" /><br />
  80. <label for="accessory1-name">Accessory 1</label>
  81. <input type="file" name="accessory1-ico" />
  82. <input type="text" name="accessory1-name" /><br />
  83. <label for="accessory2-name">Accessory 2</label>
  84. <input type="file" name="accessory2-ico" />
  85. <input type="text" name="accessory2-name" /><br />
  86. <h2>Generate</h2>
  87. <input type="submit" value="Generate">
  88. </form>
  89. <hr />
  90. <p>
  91. Based on the character profiles in the webcomic
  92. <a href=https://yokokasquest.com>Yokoka’s Quest</a>
  93. by Chris Hyacinth R.
  94. </p>
  95. <p>
  96. Assets shared by the author on the
  97. <a href="https://forums.cisumchronicles.com/" >webcomic’s forums</a>
  98. .
  99. </p>
  100. </body>
  101. </html>