Added new fake problem and hint btn

This commit is contained in:
Thomas 2016-01-02 00:51:17 -06:00
parent 5767d9cc93
commit 7a40fcc1e4
4 changed files with 40 additions and 2 deletions

View file

@ -10,6 +10,16 @@
.pointvalue {
float:right;
}
.panel.panel-info {
margin: 2.5em;
}
#hint {
background:#0080FF;
border-color:#0180FF;
}
#check {
border-color:#449D44;
}
.probfile {
display:inline;
color:#62AC5B;

1
web/files/Binary.txt Normal file
View file

@ -0,0 +1 @@
This is hard! I'm telling you!

1
web/files/Binary2.txt Normal file
View file

@ -0,0 +1 @@
Binary is not fun at all!

View file

@ -12,11 +12,12 @@
</div>
<div class="panel-body">
<p>Do we even need this problem, just take the flag.
<code>easyctf{no}</code>
<code>EasyCTF{no}</code>
</p>
<div class="input-group">
<input type="text" class="form-control" placeholder="easyctf{...}">
<input type="text" class="form-control" placeholder="EasyCTF{...}">
<span class="input-group-btn">
<button class="btn btn-success" id="hint" type="button">Hint</button>
<button class="btn btn-success" type="button">Check</button>
</span>
</div>
@ -30,4 +31,29 @@
</a>
</div>
</div>
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Difficult Binary | Cryptography<span class="pointvalue">40 points</span></h3>
</div>
<div class="panel-body">
<p>This is a very very hard problem. Here it is:
<code>EasyCTF{yes}</code>
</p>
<div class="input-group">
<input type="text" class="form-control" placeholder="EasyCTF{...}">
<span class="input-group-btn">
<button class="btn btn-success" id="hint" type="button">Hint</button>
<button class="btn btn-success" type="button">Check</button>
</span>
</div>
</div>
<div class="panel-footer">
<a href="/files/example.txt" class="filelink" target="_blank">
<h4 class="probfile">Binary.txt</h4>
</a>
<a href="/files/example2.txt" class="filelink" target="_blank">
<h4 class="probfile">Binary2.txt</h4>
</a>
</div>
</div>
</div>