|
|
@ -1,6 +1,6 @@ |
|
|
|
<!DOCTYPE html> |
|
|
|
<!DOCTYPE html> |
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> |
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> |
|
|
|
<html lang="en"> |
|
|
|
<html lang="en" xmlns:th="http://www.thymeleaf.org"> |
|
|
|
<head> |
|
|
|
<head> |
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet"> |
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet"> |
|
|
|
<style> |
|
|
|
<style> |
|
|
@ -25,7 +25,7 @@ table, td, th{ |
|
|
|
.container label { |
|
|
|
.container label { |
|
|
|
position: relative;font-size:20px; |
|
|
|
position: relative;font-size:20px; |
|
|
|
} |
|
|
|
} |
|
|
|
.container input, textarea{ |
|
|
|
.container input, textarea, select{ |
|
|
|
background-color:#CFCACA;position:relative;border-radius:5px;font-size:20px; |
|
|
|
background-color:#CFCACA;position:relative;border-radius:5px;font-size:20px; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
@ -38,7 +38,7 @@ table, td, th{ |
|
|
|
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
|
<div class="container"> |
|
|
|
|
|
|
|
|
|
|
|
<form action="/card" method="post"> |
|
|
|
<form action="#" method="post" th:action="@{/card}" > |
|
|
|
<br><br><label style="left:210px;font-size:26px;"for="cardname">Card Name:</label> |
|
|
|
<br><br><label style="left:210px;font-size:26px;"for="cardname">Card Name:</label> |
|
|
|
<input style="left:210px;font-size:24px;width:300px;"placeholder="Card Title"type="text" id="cardname" name="cardname"><br><br> |
|
|
|
<input style="left:210px;font-size:24px;width:300px;"placeholder="Card Title"type="text" id="cardname" name="cardname"><br><br> |
|
|
|
<label style="left:150px;"for="manacost">Mana Cost:</label> |
|
|
|
<label style="left:150px;"for="manacost">Mana Cost:</label> |
|
|
@ -48,7 +48,7 @@ table, td, th{ |
|
|
|
<label style="left:350px;"for="toughness">Toughness:</label> |
|
|
|
<label style="left:350px;"for="toughness">Toughness:</label> |
|
|
|
<input style="left:350px;"type="text" id="toughness"name="toughness"> |
|
|
|
<input style="left:350px;"type="text" id="toughness"name="toughness"> |
|
|
|
<label style="left:450px;"for="creaturetype">Spell Type:</label> |
|
|
|
<label style="left:450px;"for="creaturetype">Spell Type:</label> |
|
|
|
<select style="background-color:#CFCACA;position:relative;border-radius:4px;left:450px;font-size:20px;width:250px;"id="creaturetype"name="creaturetype"> |
|
|
|
<select style="left:450px;width:250px;"id="creaturetype"name="creaturetype"> |
|
|
|
<option value="Evocation">Evocation</option> |
|
|
|
<option value="Evocation">Evocation</option> |
|
|
|
<option value="Ward">Ward</option> |
|
|
|
<option value="Ward">Ward</option> |
|
|
|
<option value="Curse">Curse</option> |
|
|
|
<option value="Curse">Curse</option> |
|
|
@ -56,12 +56,7 @@ table, td, th{ |
|
|
|
<br><br> |
|
|
|
<br><br> |
|
|
|
<label style="vertical-align:middle;left:145px;"for="description">Description:</label> |
|
|
|
<label style="vertical-align:middle;left:145px;"for="description">Description:</label> |
|
|
|
<textarea style="border-radius:5px;vertical-align:middle;left:145px;font-size:18px;width:658px;height:120px;"placeholder="Flavor text, etc."type="text" id="description" name="description"></textarea> |
|
|
|
<textarea style="border-radius:5px;vertical-align:middle;left:145px;font-size:18px;width:658px;height:120px;"placeholder="Flavor text, etc."type="text" id="description" name="description"></textarea> |
|
|
|
|
|
|
|
<br><input type="hidden" name="_csrf" th:value="${_csrf.token}"/> |
|
|
|
<label style="left:245px;font-size:14px;"for="username">Username:</label> |
|
|
|
|
|
|
|
<input style="left:245px;font-size:14px;"type="text" id="username" name="username"> |
|
|
|
|
|
|
|
<label style="left:300px;font-size:14px;"for="password">Password:</label> |
|
|
|
|
|
|
|
<input style="left:300px;font-size:14px;"type="password" id="password" name="password"><br> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br> <input style="height:40px;width:15%;display:block;margin:0 auto;" type="submit" value="Submit"><br><br> |
|
|
|
<br> <input style="height:40px;width:15%;display:block;margin:0 auto;" type="submit" value="Submit"><br><br> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|