-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDN Font Awesome and deleted Aegis JS.
Imported Font Awesome from CDN instead of local, removed Aegis JS library.
- Loading branch information
Showing
16 changed files
with
589 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# ---------------------------------------------------------------------- | ||
# UTF-8 encoding | ||
# ---------------------------------------------------------------------- | ||
|
||
# Use UTF-8 encoding for anything served text/plain or text/html | ||
AddDefaultCharset utf-8 | ||
|
||
# Force UTF-8 for a number of file formats | ||
AddCharset utf-8 .atom .css .js .json .rss .vtt .xml | ||
|
||
# ---------------------------------------------------------------------- | ||
# Some Security | ||
# ---------------------------------------------------------------------- | ||
|
||
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* | ||
SetEnvIfNoCase User-Agent "^libwww-perl*" block_bad_bots | ||
Deny from env=block_bad_bots | ||
|
||
<Limit GET POST> | ||
order deny,allow | ||
deny from all | ||
allow from all | ||
</Limit> | ||
|
||
<Limit PUT DELETE> | ||
order deny,allow | ||
deny from all | ||
</Limit> | ||
|
||
# Prevent Folder's browsing | ||
<IfModule mod_autoindex.c> | ||
Options -Indexes | ||
</IfModule> | ||
|
||
# Block access to "hidden" directories or files | ||
<IfModule mod_rewrite.c> | ||
RewriteCond %{SCRIPT_FILENAME} -d [OR] | ||
RewriteCond %{SCRIPT_FILENAME} -f | ||
RewriteRule "(^|/)\." - [F] | ||
</IfModule> | ||
|
||
# Block access to backup and source files. | ||
<FilesMatch "(\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|swp)|~)$"> | ||
Order allow,deny | ||
Deny from all | ||
Satisfy All | ||
</FilesMatch> | ||
|
||
# Increase cookie security | ||
<IfModule mod_php5.c> | ||
php_value session.cookie_httponly true | ||
</IfModule> | ||
|
||
# Prevent Iframe | ||
Header set X-Frame-Options DENY | ||
|
||
# Disable server signature | ||
ServerSignature Off | ||
|
||
# ---------------------------------------------------------------------- | ||
# Make the index handle all Request's | ||
# ---------------------------------------------------------------------- | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
RewriteBase / | ||
RewriteCond %{REQUEST_URI} ^system.* | ||
RewriteRule ^(.*)$ /index.php?/$1 [L] | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^(.*)$ index.php?/$1 [L] | ||
</IfModule> | ||
|
||
# ---------------------------------------------------------------------- | ||
# Error Documents | ||
# ---------------------------------------------------------------------- | ||
ErrorDocument 400 /error/400.html | ||
ErrorDocument 401 /error/401.html | ||
ErrorDocument 404 /error/404.html | ||
ErrorDocument 403 /error/403.html | ||
ErrorDocument 500 /error/500.html | ||
|
||
# ---------------------------------------------------------------------- | ||
# Enable Gzip | ||
# ---------------------------------------------------------------------- | ||
<ifModule mod_gzip.c> | ||
mod_gzip_on Yes | ||
mod_gzip_dechunk Yes | ||
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ | ||
mod_gzip_item_include handler ^cgi-script$ | ||
mod_gzip_item_include mime ^text/.* | ||
mod_gzip_item_include mime ^application/x-javascript.* | ||
mod_gzip_item_exclude mime ^image/.* | ||
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* | ||
</ifModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# AegisTemplate | ||
Create your webpage quickly with this template, featuring the cutting edge technologies and features of HTML5, CSS3 and Javascript. Make it mobile and social friendly! | ||
|
||
Web: http://www.aegisframework.com/ | ||
|
||
## Use: | ||
Fill the HTML Template, comments mention the information needed. | ||
Your CSS goes under the main.css File | ||
Your JS goes under the main.js File | ||
All images should be inside the img folder. | ||
|
||
## Atributions: | ||
Font Awesome by Dave Gandy - http://fontawesome.io | ||
Normalize CSS by Nicolas Gallagher and Jonathan Neal - http://necolas.github.io/normalize.css/ | ||
Animate CSS by Daniel Eden - http://daneden.github.io/animate.css/ | ||
|
||
## Documentation | ||
You can see the documentation in http://www.aegisframework.com/documentation.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!DOCTYPE html> | ||
<!--Aegis Framework | MIT License | http://www.aegisframework.com/ --> | ||
<html lang="en"> | ||
<head> | ||
<title>Bad Request</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<style> | ||
body{ | ||
text-align: center; | ||
color: rgb(84,84,84); | ||
font-family: sans-serif; | ||
width: 50%; | ||
margin: 0 auto; | ||
} | ||
|
||
h1{ | ||
font-size: 4em; | ||
|
||
} | ||
|
||
h2{ | ||
font-size: 2em; | ||
} | ||
|
||
div{ | ||
width: 50%; | ||
height: 20em; | ||
background-color: rgb(245,245,245); | ||
display: block; | ||
margin: 0 auto; | ||
border-radius: 0.3em; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h1>Bad Request</h1> | ||
<h2>The request is invalid.</h2> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<!DOCTYPE html> | ||
<!--Aegis Framework | MIT License | http://www.aegisframework.com/ --> | ||
<html lang="en"> | ||
<head> | ||
|
||
<title>Authentication Required</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<style> | ||
body{ | ||
text-align: center; | ||
color: rgb(84,84,84); | ||
font-family: sans-serif; | ||
width: 50%; | ||
margin: 0 auto; | ||
} | ||
|
||
h1{ | ||
font-size: 4em; | ||
} | ||
|
||
h2{ | ||
font-size: 2em; | ||
} | ||
|
||
div{ | ||
width: 50%; | ||
height: 20em; | ||
background-color: rgb(245,245,245); | ||
display: block; | ||
margin: 0 auto; | ||
border-radius: 0.3em; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h1>Authentication Required</h1> | ||
<h2>Sorry, the content you are trying to access requires user's authentication.</h2> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<!--Aegis Framework | MIT License | http://www.aegisframework.com/ --> | ||
<html lang="en"> | ||
|
||
<head> | ||
|
||
<title>Forbidden</title> | ||
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<style> | ||
body{ | ||
text-align: center; | ||
color: rgb(84,84,84); | ||
font-family: sans-serif; | ||
width: 50%; | ||
margin: 0 auto; | ||
} | ||
h1{ | ||
font-size: 4em; | ||
|
||
} | ||
h2{ | ||
font-size: 2em; | ||
} | ||
|
||
div{ | ||
width: 50%; | ||
height: 20em; | ||
background-color: rgb(245,245,245); | ||
display: block; | ||
margin: 0 auto; | ||
border-radius: 0.3em; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Accessing Forbidden Content</h1> | ||
<h2>Sorry, the content you are trying to access is forbidden.</h2> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<!--Aegis Framework | MIT License | http://www.aegisframework.com/ --> | ||
<html lang="en"> | ||
|
||
<head> | ||
|
||
<title>Page not Found</title> | ||
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<style> | ||
body{ | ||
text-align: center; | ||
color: rgb(84,84,84); | ||
font-family: sans-serif; | ||
width: 50%; | ||
margin: 0 auto; | ||
} | ||
h1{ | ||
font-size: 4em; | ||
|
||
} | ||
h2{ | ||
font-size: 2em; | ||
} | ||
|
||
div{ | ||
width: 50%; | ||
height: 20em; | ||
background-color: rgb(245,245,245); | ||
display: block; | ||
margin: 0 auto; | ||
border-radius: 0.3em; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Page not Found</h1> | ||
<h2>Sorry, the page you are trying to access does not exist.</h2> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html> | ||
<!--Aegis Framework | MIT License | http://www.aegisframework.com/ --> | ||
<html lang="en"> | ||
|
||
<head> | ||
|
||
<title>Server Error</title> | ||
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<style> | ||
body{ | ||
text-align: center; | ||
color: rgb(84,84,84); | ||
font-family: sans-serif; | ||
width: 50%; | ||
margin: 0 auto; | ||
} | ||
h1{ | ||
font-size: 4em; | ||
|
||
} | ||
h2{ | ||
font-size: 2em; | ||
} | ||
|
||
div{ | ||
width: 50%; | ||
height: 20em; | ||
background-color: rgb(245,245,245); | ||
display: block; | ||
margin: 0 auto; | ||
border-radius: 0.3em; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<h1>Server Error</h1> | ||
<h2>Sorry, it seems there's been an error. Please try later.</h2> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
*.zip |
Oops, something went wrong.