Updated admin submission to include files

This commit is contained in:
CommanderStrax 2015-12-27 16:30:28 -06:00
parent d4465b988d
commit 63caee14be
3 changed files with 47 additions and 29 deletions

View file

@ -83,9 +83,17 @@
</span>
</div>
</div>
<div class="panel-footer">
<h4>These are important files!</h4>
<hr>
<div class="row">
<input type="file" name="files" multiple="true" id="fileupload">
</div>
</div>
</div>
</div>
</center>
</div>
</center>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js" integrity="sha384-R4/ztc4ZlRqWjqIuvf6RX5yb/v90qNGx6fS48N0tRxiGkqveZETq72KgDVJCp2TC" crossorigin="anonymous"></script>

View file

@ -66,7 +66,10 @@ li a, .navbar-brand {
table {
color: #226C1B;
}
#fileupload {
margin-right:auto;
padding-left:2em;
}
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

View file

@ -1,4 +1,3 @@
<!--
Adding files:
1) put file in /files
@ -7,34 +6,42 @@
-->
<center class="fade_in">
<h1>Problems</h1>
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Silly Caesar | Cryptography</h3>
</div>
<div class="panel-body">
<h3>Do we even need this problem, just take the flag. <code>easyctf{no}</code></h3>
<div class="input-group" style="margin-left:10em;margin-right:10em;">
<input type="text" class="form-control" placeholder="EasyCTF{...}">
<span class="input-group-btn">
<button class="btn btn-success" type="button">Check!</button>
</span>
</div>
</div>
<div class="panel-footer">
<h4>These are important files!</h4>
<hr>
<div class="row">
<div class="col-lg-4">
<a href="/files/example.txt" target="_blank"><h4>Example.txt</h4></a>
<h1>Problems</h1>
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Silly Caesar | Cryptography</h3>
</div>
<div class="col-lg-4">
<a href="/files/example.txt" target="_blank"><h4>Example2.txt</h4></a>
<div class="panel-body">
<h3>Do we even need this problem, just take the flag.
<code>easyctf{no}</code>
</h3>
<div class="input-group" style="margin-left:10em;margin-right:10em;">
<input type="text" class="form-control" placeholder="EasyCTF{...}">
<span class="input-group-btn">
<button class="btn btn-success" type="button">Check!</button>
</span>
</div>
</div>
<div class="col-lg-4">
<a href="/files/example.txt" target="_blank"><h4>Example3.txt</h4></a>
<div class="panel-footer">
<h4>These are important files!</h4>
<hr>
<div class="row">
<div class="col-lg-4">
<a href="/files/example.txt" target="_blank">
<h4>Example.txt</h4>
</a>
</div>
<div class="col-lg-4">
<a href="/files/example.txt" target="_blank">
<h4>Example2.txt</h4>
</a>
</div>
<div class="col-lg-4">
<a href="/files/example.txt" target="_blank">
<h4>Example3.txt</h4>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</center>