diff options
| -rw-r--r-- | app/assets/stylesheets/scaffolds.scss | 69 | ||||
| -rw-r--r-- | app/views/layouts/application.html.erb | 41 | ||||
| -rw-r--r-- | public/404.html | 92 | ||||
| -rw-r--r-- | public/422.html | 92 | ||||
| -rw-r--r-- | public/500.html | 91 | ||||
| -rw-r--r-- | public/index.html | 34 | ||||
| -rw-r--r-- | public/styles.css | 40 | 
7 files changed, 196 insertions, 263 deletions
| diff --git a/app/assets/stylesheets/scaffolds.scss b/app/assets/stylesheets/scaffolds.scss index 6ec6a8f..e69de29 100644 --- a/app/assets/stylesheets/scaffolds.scss +++ b/app/assets/stylesheets/scaffolds.scss @@ -1,69 +0,0 @@ -body { -  background-color: #fff; -  color: #333; -  font-family: verdana, arial, helvetica, sans-serif; -  font-size: 13px; -  line-height: 18px; -} - -p, ol, ul, td { -  font-family: verdana, arial, helvetica, sans-serif; -  font-size: 13px; -  line-height: 18px; -} - -pre { -  background-color: #eee; -  padding: 10px; -  font-size: 11px; -} - -a { -  color: #000; -  &:visited { -    color: #666; -  } -  &:hover { -    color: #fff; -    background-color: #000; -  } -} - -div { -  &.field, &.actions { -    margin-bottom: 10px; -  } -} - -#notice { -  color: green; -} - -.field_with_errors { -  padding: 2px; -  background-color: red; -  display: table; -} - -#error_explanation { -  width: 450px; -  border: 2px solid red; -  padding: 7px; -  padding-bottom: 0; -  margin-bottom: 20px; -  background-color: #f0f0f0; -  h2 { -    text-align: left; -    font-weight: bold; -    padding: 5px 5px 5px 15px; -    font-size: 12px; -    margin: -7px; -    margin-bottom: 0px; -    background-color: #c00; -    color: #fff; -  } -  ul li { -    font-size: 12px; -    list-style: square; -  } -} diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 8afd0e7..76d06fc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,14 +1,37 @@  <!DOCTYPE html> -<html> -<head> -  <title>DownloadsJesterpmNet</title> -  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %> -  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> -  <%= csrf_meta_tags %> -</head> -<body> +<html lang="en-us"> +  <head> +    <title>downloads.jesterpm.net</title> +    <meta charset="utf-8"> +    <meta http-equiv="X-UA-Compatible" content="IE=edge"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> +    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> +    <link rel="stylesheet" href="/styles.css"> +    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %> +    <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> +    <%= csrf_meta_tags %> +    <script> +        var _gaq = _gaq || []; +        _gaq.push(['_setAccount', 'UA-23877924-1']); +        _gaq.push(['_trackPageview']); + +        (function() { +        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +        })(); +    </script> +  </head> +  <body> +    <header class="small" title=""> +      <h1>downloads.jesterpm.net</h1> +    </header>  <%= yield %> -</body> +    <footer> +        Copyright © 2008-2015 <a href="http://jesterpm.net/index.html#summary">Jesse Morgan</a> +    </footer> +  </body>  </html> diff --git a/public/404.html b/public/404.html index b612547..e31be1c 100644 --- a/public/404.html +++ b/public/404.html @@ -1,67 +1,35 @@  <!DOCTYPE html> -<html> -<head> -  <title>The page you were looking for doesn't exist (404)</title> -  <meta name="viewport" content="width=device-width,initial-scale=1"> -  <style> -  body { -    background-color: #EFEFEF; -    color: #2E2F30; -    text-align: center; -    font-family: arial, sans-serif; -    margin: 0; -  } +<html lang="en-us"> +  <head> +    <title>downloads.jesterpm.net</title> +    <meta charset="utf-8"> +    <meta http-equiv="X-UA-Compatible" content="IE=edge"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> +    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> +    <link rel="stylesheet" href="styles.css"> +    <script> +        var _gaq = _gaq || []; +        _gaq.push(['_setAccount', 'UA-23877924-1']); +        _gaq.push(['_trackPageview']); -  div.dialog { -    width: 95%; -    max-width: 33em; -    margin: 4em auto 0; -  } +        (function() { +        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +        })(); +    </script> +  </head> +  <body> +    <header class="small" title=""> +      <h1>downloads.jesterpm.net</h1> +    </header> -  div.dialog > div { -    border: 1px solid #CCC; -    border-right-color: #999; -    border-left-color: #999; -    border-bottom-color: #BBB; -    border-top: #B00100 solid 4px; -    border-top-left-radius: 9px; -    border-top-right-radius: 9px; -    background-color: white; -    padding: 7px 12% 0; -    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); -  } +    <h2>Not Found</h2> +    Nothing to see here. Please go to <a href="http://jesterpm.net">http://jesterpm.net</a> instead. -  h1 { -    font-size: 100%; -    color: #730E15; -    line-height: 1.5em; -  } - -  div.dialog > p { -    margin: 0 0 1em; -    padding: 1em; -    background-color: #F7F7F7; -    border: 1px solid #CCC; -    border-right-color: #999; -    border-left-color: #999; -    border-bottom-color: #999; -    border-bottom-left-radius: 4px; -    border-bottom-right-radius: 4px; -    border-top-color: #DADADA; -    color: #666; -    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); -  } -  </style> -</head> - -<body> -  <!-- This file lives in public/404.html --> -  <div class="dialog"> -    <div> -      <h1>The page you were looking for doesn't exist.</h1> -      <p>You may have mistyped the address or the page may have moved.</p> -    </div> -    <p>If you are the application owner check the logs for more information.</p> -  </div> -</body> +    <footer> +        Copyright © 2008-2015 <a href="http://jesterpm.net/index.html#summary">Jesse Morgan</a> +    </footer> +  </body>  </html> diff --git a/public/422.html b/public/422.html index a21f82b..5633181 100644 --- a/public/422.html +++ b/public/422.html @@ -1,67 +1,35 @@  <!DOCTYPE html> -<html> -<head> -  <title>The change you wanted was rejected (422)</title> -  <meta name="viewport" content="width=device-width,initial-scale=1"> -  <style> -  body { -    background-color: #EFEFEF; -    color: #2E2F30; -    text-align: center; -    font-family: arial, sans-serif; -    margin: 0; -  } +<html lang="en-us"> +  <head> +    <title>downloads.jesterpm.net</title> +    <meta charset="utf-8"> +    <meta http-equiv="X-UA-Compatible" content="IE=edge"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> +    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> +    <link rel="stylesheet" href="styles.css"> +    <script> +        var _gaq = _gaq || []; +        _gaq.push(['_setAccount', 'UA-23877924-1']); +        _gaq.push(['_trackPageview']); -  div.dialog { -    width: 95%; -    max-width: 33em; -    margin: 4em auto 0; -  } +        (function() { +        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +        })(); +    </script> +  </head> +  <body> +    <header class="small" title=""> +      <h1>downloads.jesterpm.net</h1> +    </header> -  div.dialog > div { -    border: 1px solid #CCC; -    border-right-color: #999; -    border-left-color: #999; -    border-bottom-color: #BBB; -    border-top: #B00100 solid 4px; -    border-top-left-radius: 9px; -    border-top-right-radius: 9px; -    background-color: white; -    padding: 7px 12% 0; -    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); -  } +    <h2>Does Not Compute</h2> +    Please go to <a href="http://jesterpm.net">http://jesterpm.net</a> instead. -  h1 { -    font-size: 100%; -    color: #730E15; -    line-height: 1.5em; -  } - -  div.dialog > p { -    margin: 0 0 1em; -    padding: 1em; -    background-color: #F7F7F7; -    border: 1px solid #CCC; -    border-right-color: #999; -    border-left-color: #999; -    border-bottom-color: #999; -    border-bottom-left-radius: 4px; -    border-bottom-right-radius: 4px; -    border-top-color: #DADADA; -    color: #666; -    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); -  } -  </style> -</head> - -<body> -  <!-- This file lives in public/422.html --> -  <div class="dialog"> -    <div> -      <h1>The change you wanted was rejected.</h1> -      <p>Maybe you tried to change something you didn't have access to.</p> -    </div> -    <p>If you are the application owner check the logs for more information.</p> -  </div> -</body> +    <footer> +        Copyright © 2008-2015 <a href="http://jesterpm.net/index.html#summary">Jesse Morgan</a> +    </footer> +  </body>  </html> diff --git a/public/500.html b/public/500.html index 061abc5..4364df4 100644 --- a/public/500.html +++ b/public/500.html @@ -1,66 +1,35 @@  <!DOCTYPE html> -<html> -<head> -  <title>We're sorry, but something went wrong (500)</title> -  <meta name="viewport" content="width=device-width,initial-scale=1"> -  <style> -  body { -    background-color: #EFEFEF; -    color: #2E2F30; -    text-align: center; -    font-family: arial, sans-serif; -    margin: 0; -  } +<html lang="en-us"> +  <head> +    <title>downloads.jesterpm.net</title> +    <meta charset="utf-8"> +    <meta http-equiv="X-UA-Compatible" content="IE=edge"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> +    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> +    <link rel="stylesheet" href="styles.css"> +    <script> +        var _gaq = _gaq || []; +        _gaq.push(['_setAccount', 'UA-23877924-1']); +        _gaq.push(['_trackPageview']); -  div.dialog { -    width: 95%; -    max-width: 33em; -    margin: 4em auto 0; -  } +        (function() { +        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +        })(); +    </script> +  </head> +  <body> +    <header class="small" title=""> +      <h1>downloads.jesterpm.net</h1> +    </header> -  div.dialog > div { -    border: 1px solid #CCC; -    border-right-color: #999; -    border-left-color: #999; -    border-bottom-color: #BBB; -    border-top: #B00100 solid 4px; -    border-top-left-radius: 9px; -    border-top-right-radius: 9px; -    background-color: white; -    padding: 7px 12% 0; -    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); -  } +    <h2>Oops...</h2> +    Something went wrong. Please <a href="http://jesterpm.net/#summary">contact me</a>. -  h1 { -    font-size: 100%; -    color: #730E15; -    line-height: 1.5em; -  } - -  div.dialog > p { -    margin: 0 0 1em; -    padding: 1em; -    background-color: #F7F7F7; -    border: 1px solid #CCC; -    border-right-color: #999; -    border-left-color: #999; -    border-bottom-color: #999; -    border-bottom-left-radius: 4px; -    border-bottom-right-radius: 4px; -    border-top-color: #DADADA; -    color: #666; -    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); -  } -  </style> -</head> - -<body> -  <!-- This file lives in public/500.html --> -  <div class="dialog"> -    <div> -      <h1>We're sorry, but something went wrong.</h1> -    </div> -    <p>If you are the application owner check the logs for more information.</p> -  </div> -</body> +    <footer> +        Copyright © 2008-2015 <a href="http://jesterpm.net/index.html#summary">Jesse Morgan</a> +    </footer> +  </body>  </html> diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..b1f97bd --- /dev/null +++ b/public/index.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html lang="en-us"> +  <head> +    <title>downloads.jesterpm.net</title> +    <meta charset="utf-8"> +    <meta http-equiv="X-UA-Compatible" content="IE=edge"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> +    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> +    <link rel="stylesheet" href="styles.css"> +    <script> +        var _gaq = _gaq || []; +        _gaq.push(['_setAccount', 'UA-23877924-1']); +        _gaq.push(['_trackPageview']); + +        (function() { +        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +        })(); +    </script> +  </head> +  <body> +    <header class="small" title=""> +      <h1>downloads.jesterpm.net</h1> +    </header> + +Nothing to see here. Please go to <a href="http://jesterpm.net">http://jesterpm.net</a> instead. + +    <footer> +        Copyright © 2008-2015 <a href="http://jesterpm.net/index.html#summary">Jesse Morgan</a> +    </footer> +  </body> +</html> diff --git a/public/styles.css b/public/styles.css new file mode 100644 index 0000000..0c66b14 --- /dev/null +++ b/public/styles.css @@ -0,0 +1,40 @@ +body { +    color: #404040; +    color: rgba(0,0,0,0.75); +    margin: 1em; +} + +footer { +    text-align: center; +    padding-top: 2em; +    padding-bottom: 2em; +} + +section { +    padding-top: 80px; +    padding-bottom: 80px; +    min-height: 300px; +} + +article { +    padding-top: 20px; +    padding-bottom: 20px; +} + +.filedetails { +    font-size: smaller; +} + +.filedetails span { +    font-weight: bold; +} + +h1, h1 a, h3, h3 a, h4, h4 a, h5, h5 a{ +    color: #404040; +    color: rgba(0,0,0,0.75); +    text-decoration: none; +} + +h1 a:hover { +    color: #777; +} | 
