Skip to content

Commit

Permalink
Fixed old spacing bug
Browse files Browse the repository at this point in the history
Sorry sterling!
  • Loading branch information
Otakar Andrysek authored and Otakar Andrysek committed Nov 6, 2016
1 parent 6f7796e commit 28eeb67
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 17 deletions.
33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
# Typing Test
![Video of typing test](https://github.com/SST-CTF/typing-test/blob/master/Documentation/Nov-03-2016%2013-08-45.gif?raw=true)
#### Description
![GIF of typing test](https://github.com/SST-CTF/typing-test/blob/master/Documentation/Nov-03-2016%2013-08-45.gif?raw=true)
## Description
The best way to test typing speed and accuracy for a user provided string. This JS + HTML combo can be run server or client side.
#### Features / Todo
- [ ] Fix ghost text in entry field
### Features
- Test any string
- Can run local or server
- Copy / Paste Protection
- Gross and Net WPM
- Error checker
- Timer
- Looks pretty!

### Todo
- [x] Fix ghost text in entry field
- [ ] Make the GUI look good
- [ ] Database Implementation
- [ ] Ballance WPM function
- [ ] Test Everything
- [ ] Balance WPM function
- [ ] Test **Everything**


#### Credit and Links
Otakar and Sterling from SST are currently working on this project. *More information will be added soon*
## Footnotes
###### Links
[Link to this GitHub page.](https://github.com/SST-CTF/typing-test)
[**Live demo coming soon!**](https://github.com/SST-CTF/typing-test)
[Link to our CTF (Programming) team / club.](http://sstctf.org)
###### Questions?
If you have any questions, feel free contact us: [email protected]
###### Credit
Otakar (@otakar-sst) and Sterling (@marscat39) from SST are currently working on this project. *More information will be added soon*
26 changes: 17 additions & 9 deletions TypingTest.htm
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@

<!-- Overlay effect when opening sidenav on small screens -->
<div class="w3-overlay w3-hide-large w3-animate-opacity" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>

<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:10px;margin-top:43px;margin-right:10px;">

<!-- Header -->
<header class="w3-container" style="padding-top:22px">
<h5><b><i class="fa fa-dashboard"></i> SST CTF Typing Competition</b></h5>
Expand All @@ -46,7 +46,9 @@ <h5><b><i class="fa fa-dashboard"></i> SST CTF Typing Competition</b></h5>
<h3>Net/Gross WPM</h3>
</div>
<div class="w3-clear"></div>
<h4><div id="stat_wpm">Not Started</div></h4>
<h4>
<div id="stat_wpm">Not Started</div>
</h4>
</div>
</div>
<div class="w3-quarter">
Expand All @@ -56,7 +58,9 @@ <h4><div id="stat_wpm">Not Started</div></h4>
<h3>Entry Errors</h3>
</div>
<div class="w3-clear"></div>
<h4><div id="stat_errors">Waiting...</div></h4>
<h4>
<div id="stat_errors">Waiting...</div>
</h4>
</div>
</div>
<div class="w3-quarter">
Expand All @@ -66,7 +70,9 @@ <h4><div id="stat_errors">Waiting...</div></h4>
<h3>Accuracy</h3>
</div>
<div class="w3-clear"></div>
<h4><div id="stat_score">Waiting...</div></h4>
<h4>
<div id="stat_score">Waiting...</div>
</h4>
</div>
</div>
<div class="w3-quarter">
Expand All @@ -76,7 +82,9 @@ <h4><div id="stat_score">Waiting...</div></h4>
<h3>Remaining Time</h3>
</div>
<div class="w3-clear"></div>
<h4><div id="stat_timeleft">0:00</div></h4>
<h4>
<div id="stat_timeleft">0:00</div>
</h4>
</div>
</div>
</div>
Expand Down Expand Up @@ -127,7 +135,7 @@ <h4><div id="stat_timeleft">0:00</div></h4>
<p style="margin-top: 0; margin-bottom: 0">
<font color="#7A88C0" face="Arial" size="1">
<textarea onkeypress="doCheck();" onkeydown="//calcStat()" name="typed" cols=53 rows=10 wrap=on style="width: 100%; border: 1px solid #344270; padding: 2px; font-family:Arial; font-size:9pt">
</textarea>
</textarea>
</font>
</div>
<div id="afterAction" style="display:none">
Expand All @@ -146,7 +154,7 @@ <h4><div id="stat_timeleft">0:00</div></h4>
</tr>
</table>
<!-- End Old Code -->

<!-- Footer -->
<footer class="w3-container w3-padding-16 w3-light-grey">
<h4>FOOTER</h4>
Expand All @@ -155,7 +163,7 @@ <h4>FOOTER</h4>
<input disabled id="printB" onclick="window.print();" type="button" value="Print Results" name="printB">
</footer>
<!-- End page content -->

<!-- These scripts are useful if we need to implement navigation in the future. For now deprecated. -->
</div>
<script>
Expand Down

0 comments on commit 28eeb67

Please sign in to comment.