diff options
Diffstat (limited to 'hosted/create.html')
-rw-r--r-- | hosted/create.html | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/hosted/create.html b/hosted/create.html index d46907d..a660db6 100644 --- a/hosted/create.html +++ b/hosted/create.html @@ -38,46 +38,49 @@ <main class="container" role="main"> <div class="jumbotron"> <h1 class="display-4">Create a challenge</h1> - <form> + <form method="POST"> <div class="form-group"> <label for="challengeName">Challenge Name</label> - <input type="text" class="form-control" id="challengeName" placeholder="name"> + <input type="text" class="form-control" id="challengeName" placeholder="name" name="challengeName"> <small id="challengeNameHelp" class="form-text text-muted">Enter the name for your new challenge.</small> </div> <div class="form-group"> <label for="challengeDescription">Description</label> - <input type="text" class="form-control" id="challengeDescription" placeholder="desciption"> + <input type="text" class="form-control" + id="challengeDescription" placeholder="desciption" name="challengeDescription"> <small id="challengeNameHelp" class="form-text text-muted">Enter a description for your challenge.</small> </div> <div class="form-group"> <label for="challengeFlag">Flag</label> - <input type="text" class="form-control" id="challengeFlag" placeholder="flag"> + <input type="text" class="form-control" id="challengeFlag" placeholder="flag" name="challengeFlag"> <small id="challengeFlag" class="form-text text-muted">Enter a flag for your challenge.</small> </div> <div class="form-group"> <label for="challengeContainer">Container</label> - <input type="text" class="form-control" id="challengeContainer" placeholder="container-name"> + <input type="text" class="form-control" + id="challengeContainer" placeholder="container-name" name="challengeContainer"> <small id="challengeFlag" class="form-text text-muted">Enter the name of the docker-container the challenge is based on. <br> Example: registry.darknebu.la/ctf-challenges/snakebtte</small> </div> <div class="form-group"> <label for="challengeCategory">Category</label> - <input type="text" class="form-control" id="challengeCategory" placeholder="category"> + <input type="text" class="form-control" + id="challengeCategory" placeholder="category" name="challengeCategory"> <small id="challengeFlag" class="form-text text-muted">Enter the challenge category</small> </div> <div class="form-group"> <label for="challengePoints">Points</label> - <input type="text" class="form-control" id="challengePoints" placeholder="Points"> + <input type="text" class="form-control" id="challengePoints" placeholder="Points" name="challengePoints"> <small id="challengeFlag" class="form-text text-muted">Enter the amount of points the challenge should give.</small> </div> <div class="form-check"> - <input type="checkbox" class="form-check-input" id="challengeStatic"> + <input type="checkbox" class="form-check-input" id="challengeStatic" name="challengeStatic"> <label class="form-check-label" for="challangeStatic">Static Challenge</label> <small id="challengeFlag" class="form-text text-muted">If the challenge is not hosted on a docker-container, check this.</small> </div> |