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,25 +71,28 @@
<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">
<div class="panel-heading"> <form id="submission-form">
<h3 class="panel-title" contenteditable="true">Insert Title Text... Format: "Problem Name | Category"</h3> <div class="panel-heading">
</div> <input type="text" name="question-title" id="question-title" autocomplete="on" placeholder="Question_Title | CTF Category" class="form-control">
<div class="panel-body">
<h3 contenteditable="true">Insert Question Text</h3>
<div class="input-group" style="margin-left:10em;margin-right:10em;">
<input type="text" class="form-control" placeholder="Insert Correct Flag Here">
<span class="input-group-btn">
<button class="btn btn-success" type="button">Submit!</button>
</span>
</div> </div>
</div> <div class="panel-body">
<div class="panel-footer"> <textarea type="text" name="question-text" id="question-text" autocomplete="on" placeholder="Pertinent_Information_Regarding_Question" class="form-control"></textarea>
<h4>These are important files!</h4> <br><br>
<hr> <div class="input-group" style="margin-left:10em;margin-right:10em;">
<div class="row"> <input type="text" name="correct-flag" id="correct-flag" autocomplete="off" placeholder="EasyCTF{insert_correct_flag_here}" class="form-control">
<input type="file" name="files" multiple="true" id="fileupload"> <span class="input-group-btn">
<input type="submit" class="btn btn-success" value="Submit">
</span>
</div>
</div> </div>
</div> <div class="panel-footer">
<h4>These are important files!</h4>
<hr>
<div class="row">
<input type="file" name="imp-files" id="imp-files" multiple="true">
</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;
} }