Prepped Submission Page

This commit is contained in:
CommanderStrax 2015-12-30 00:56:42 -06:00
parent f90ddc7dc0
commit 95aa94f965
2 changed files with 31 additions and 19 deletions

View file

@ -1,5 +1,5 @@
<html ng-app="easyctf" class="ng-scope"> <html ng-app="easyctf" class="ng-scope">
<script src="js/submission.js"></script>
<head> <head>
<style type="text/css"> <style type="text/css">
@charset "UTF-8"; @charset "UTF-8";
@ -71,15 +71,17 @@
<center class="fade_in ng-scope"> <center class="fade_in ng-scope">
<h1>Problems</h1> <h1>Problems</h1>
<div class="panel panel-info"> <div class="panel panel-info">
<form id="submission-form">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title" contenteditable="true">Insert Title Text... Format: "Problem Name | Category"</h3> <input type="text" name="question-title" id="question-title" autocomplete="on" placeholder="Question_Title | CTF Category" class="form-control">
</div> </div>
<div class="panel-body"> <div class="panel-body">
<h3 contenteditable="true">Insert Question Text</h3> <textarea type="text" name="question-text" id="question-text" autocomplete="on" placeholder="Pertinent_Information_Regarding_Question" class="form-control"></textarea>
<br><br>
<div class="input-group" style="margin-left:10em;margin-right:10em;"> <div class="input-group" style="margin-left:10em;margin-right:10em;">
<input type="text" class="form-control" placeholder="Insert Correct Flag Here"> <input type="text" name="correct-flag" id="correct-flag" autocomplete="off" placeholder="EasyCTF{insert_correct_flag_here}" class="form-control">
<span class="input-group-btn"> <span class="input-group-btn">
<button class="btn btn-success" type="button">Submit!</button> <input type="submit" class="btn btn-success" value="Submit">
</span> </span>
</div> </div>
</div> </div>
@ -87,9 +89,10 @@
<h4>These are important files!</h4> <h4>These are important files!</h4>
<hr> <hr>
<div class="row"> <div class="row">
<input type="file" name="files" multiple="true" id="fileupload"> <input type="file" name="imp-files" id="imp-files" multiple="true">
</div> </div>
</div> </div>
</form>
</div> </div>
</div> </div>
</div> </div>

View file

@ -16,6 +16,15 @@ h1 {
:-ms-input-placeholder { :-ms-input-placeholder {
color: #999999; color: #999999;
} }
#question-text {
height: 4em;
}
#question-title {
background-color:#D9EDF7;
text-align:center;
padding:0px 0px 0px 0px;
font-size:1.2em;
}
.intro { .intro {
text-align: center; text-align: center;
} }
@ -63,7 +72,7 @@ li a, .navbar-brand {
table { table {
color: #226C1B; color: #226C1B;
} }
#fileupload { #imp-files {
margin-right: auto; margin-right: auto;
padding-left: 2em; padding-left: 2em;
} }