Skip to content

Commit

Permalink
/dist/ folder now has minified versions. Minify script included.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhartman committed May 13, 2018
1 parent 498dbf9 commit b4c215f
Show file tree
Hide file tree
Showing 55 changed files with 7,549 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@

# Docs folder
docs/

# Node packages. Not sure if this even helps.
package.json
package-lock.json
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
+ [x] Desktop
+ [x] Tablet
+ [x] Mobile
- [ ] Look for a minifying option for HTML
- [x] Look for a minifying option for HTML
- [x] Create compression script for `/src/` folder.
- [x] Create `/dist/` folder for converted HTML files to live.

Expand Down
31 changes: 31 additions & 0 deletions dist/400.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>400 - Bad Request</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-triangle orange"></i></div></div><div id="errormsg">:~$ Error 400!<br>Bad Request<br><br>The server cannot or will not process the request due to an apparent client error.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/401.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>401 - Unauthorized</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-triangle red"></i></div></div><div id="errormsg">:~$ Error 401!<br>Unauthorized<br><br>The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/403.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>403 - Forbidden</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-triangle red"></i></div></div><div id="errormsg">:~$ Error 403!<br>Forbidden<br><br>The request was valid, but the server is refusing action.<br>The user might not have the necessary permissions for a resource, or may need an account of some sort.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
1 change: 0 additions & 1 deletion dist/404.html

This file was deleted.

31 changes: 31 additions & 0 deletions dist/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>404 - Resource not found</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-times-circle red"></i></div></div><div id="errormsg">:~$ Error 404!<br>Resource not found<br><br>The requested resource could not be found but may be available again in the future.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/405.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>405 - Method Not Allowed</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-circle red"></i></div></div><div id="errormsg">:~$ Error 405!<br>Method Not Allowed<br><br>A request method is not supported for the requested resource; for example, a GET request on a form that requires data to be presented via POST, or a PUT request on a read-only resource.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/406.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>406 - Not Acceptable</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-circle orange"></i></div></div><div id="errormsg">:~$ Error 406!<br>Not Acceptable<br><br>The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/407.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>407 - Proxy Authentication Required</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-info-circle green"></i></div></div><div id="errormsg">:~$ Error 407!<br>Proxy Authentication Required<br><br>The client must first authenticate itself with the proxy.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/408.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>408 - Request Timeout</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-triangle orange"></i></div></div><div id="errormsg">:~$ Error 408!<br>Request Timeout<br><br>The server timed out waiting for the request.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/411.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>411 - Length Required</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-triangle orange"></i></div></div><div id="errormsg">:~$ Error 411!<br>Length Required<br><br>The request did not specify the length of its content, which is required by the requested resource.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/413.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>413 - Payload Too Large</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-exclamation-triangle red"></i></div></div><div id="errormsg">:~$ Error 413!<br>Payload Too Large<br><br>The request is larger than the server is willing or able to process. Previously called 'Request Entity Too Large'.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
31 changes: 31 additions & 0 deletions dist/414.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html><meta charset="utf-8"><title>414 - URI Too Long</title><meta http-equiv="X-UA-Compatible"content="IE=edge"><meta name="viewport"content="width=device-width,initial-scale=1"><link rel="stylesheet"href="css/fontawesome-all.css"><link rel="stylesheet"href="css/main.css"><link rel="stylesheet"href="css/breakpoints.css"><div id="container"><div id="echoerror"><i class="fas fa-info-circle orange"></i></div></div><div id="errormsg">:~$ Error 414!<br>URI Too Long<br><br>The URI provided was too long for the server to process.</div><script>var charIndex = -1;
var stringLength = 0;
var inputText;
function writeContent()
{
inputText = document.getElementById('errormsg').innerHTML;
if (charIndex === -1) {
charIndex = 0;
stringLength = inputText.length;
}
var initString = document.getElementById('echoerror').innerHTML;
initString = initString.replace(/<span.*$/gi,"");

var theChar = inputText.charAt(charIndex);
var nextFourChars = inputText.substr(charIndex,4);

if (nextFourChars === '<br>') {
theChar = '<br>';
charIndex+=3;
}

initString = initString + theChar + "<span id='blink'>▌</span>";
document.getElementById('echoerror').innerHTML = initString;

time = 35;
charIndex = charIndex/1 +1;
if (charIndex <= stringLength) {
setTimeout('writeContent(false)',time);
}
}
writeContent();</script>
Loading

0 comments on commit b4c215f

Please sign in to comment.