Browse Source

Added favicon to steam website. Also continuted looking for file IO leak.

pull/8/head
jrtechs 6 years ago
parent
commit
f0c56d5b72
17 changed files with 110 additions and 0 deletions
  1. +2
    -0
      src/main/java/net/jrtechs/www/SteamAPI/APIConnection.java
  2. +9
    -0
      website/error.html
  3. +8
    -0
      website/faq.html
  4. +9
    -0
      website/graph.html
  5. +9
    -0
      website/graphs.html
  6. BIN
      website/img/favicon/android-chrome-192x192.png
  7. BIN
      website/img/favicon/android-chrome-512x512.png
  8. BIN
      website/img/favicon/apple-touch-icon.png
  9. +9
    -0
      website/img/favicon/browserconfig.xml
  10. BIN
      website/img/favicon/favicon-16x16.png
  11. BIN
      website/img/favicon/favicon-32x32.png
  12. BIN
      website/img/favicon/favicon.ico
  13. BIN
      website/img/favicon/mstile-150x150.png
  14. +27
    -0
      website/img/favicon/safari-pinned-tab.svg
  15. +19
    -0
      website/img/favicon/site.webmanifest
  16. +9
    -0
      website/index.html
  17. +9
    -0
      website/profile.html

+ 2
- 0
src/main/java/net/jrtechs/www/SteamAPI/APIConnection.java View File

@ -83,12 +83,14 @@ public class APIConnection
//I don't know why but, steam throws 1-3 of these per day //I don't know why but, steam throws 1-3 of these per day
System.out.println("Spooky steam API error"); System.out.println("Spooky steam API error");
new APIThrottler().wait(30); new APIThrottler().wait(30);
break;
} }
case RATE_LIMITED: case RATE_LIMITED:
{ {
//hasn't happened yet //hasn't happened yet
System.out.println("Oof, we are being throttled"); System.out.println("Oof, we are being throttled");
new APIThrottler().wait(300); new APIThrottler().wait(300);
break;
} }
case FORBIDDEN: case FORBIDDEN:
{ {

+ 9
- 0
website/error.html View File

@ -7,6 +7,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#498FBE">
</head> </head>
<body> <body>

+ 8
- 0
website/faq.html View File

@ -7,6 +7,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#498FBE">
</head> </head>
<body> <body>
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary"> <div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary">

+ 9
- 0
website/graph.html View File

@ -8,6 +8,15 @@
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#498FBE">
<script src="src/sigma.core.js"></script> <script src="src/sigma.core.js"></script>
<script src="src/conrad.js"></script> <script src="src/conrad.js"></script>
<script src="src/utils/sigma.utils.js"></script> <script src="src/utils/sigma.utils.js"></script>

+ 9
- 0
website/graphs.html View File

@ -7,6 +7,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#498FBE">
</head> </head>
<body> <body>
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary"> <div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary">

BIN
website/img/favicon/android-chrome-192x192.png View File

Before After
Width: 192  |  Height: 192  |  Size: 11 KiB

BIN
website/img/favicon/android-chrome-512x512.png View File

Before After
Width: 512  |  Height: 512  |  Size: 31 KiB

BIN
website/img/favicon/apple-touch-icon.png View File

Before After
Width: 180  |  Height: 180  |  Size: 9.8 KiB

+ 9
- 0
website/img/favicon/browserconfig.xml View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
website/img/favicon/favicon-16x16.png View File

Before After
Width: 16  |  Height: 16  |  Size: 1.0 KiB

BIN
website/img/favicon/favicon-32x32.png View File

Before After
Width: 32  |  Height: 32  |  Size: 1.6 KiB

BIN
website/img/favicon/favicon.ico View File

Before After

BIN
website/img/favicon/mstile-150x150.png View File

Before After
Width: 270  |  Height: 270  |  Size: 7.1 KiB

+ 27
- 0
website/img/favicon/safari-pinned-tab.svg View File

@ -0,0 +1,27 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="635.000000pt" height="635.000000pt" viewBox="0 0 635.000000 635.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,635.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M245 6274 c-46 -24 -73 -53 -90 -98 -14 -37 -15 -345 -13 -2971 l3
-2930 26 -55 c39 -82 90 -135 167 -172 l67 -33 2755 0 2755 0 67 33 c77 37
128 90 167 172 l26 55 3 2733 2 2732 -97 93 c-54 52 -185 175 -292 275 l-194
182 -269 0 -268 0 0 -62 c-1 -96 -35 -128 -139 -128 l-61 0 0 95 0 95 -1844 0
-1844 0 -5 -27 c-3 -16 -6 -44 -6 -63 -2 -43 -24 -78 -57 -90 -37 -15 -327
-13 -359 2 -37 17 -55 57 -55 123 l0 55 -207 0 c-169 0 -214 -3 -238 -16z
m4525 -1089 l0 -1015 -1630 0 -1630 0 0 1015 0 1015 1630 0 1630 0 0 -1015z
m351 -1530 c54 -19 96 -58 120 -110 18 -38 19 -101 19 -1533 0 -1646 5 -1530
-62 -1599 -66 -68 85 -63 -2118 -61 -1880 3 -1997 4 -2027 21 -41 22 -78 59
-100 100 -17 30 -18 123 -21 1511 -2 1303 -1 1486 13 1530 15 50 30 73 72 109
55 48 -28 46 2079 47 1759 0 1986 -2 2025 -15z m680 -2764 c15 -19 19 -40 19
-112 0 -127 -3 -129 -165 -129 -163 0 -165 2 -165 133 0 132 7 137 178 134
106 -2 115 -4 133 -26z"/>
<path d="M3540 5230 l0 -850 380 0 380 0 0 850 0 850 -380 0 -380 0 0 -850z"/>
</g>
</svg>

+ 19
- 0
website/img/favicon/site.webmanifest View File

@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

+ 9
- 0
website/index.html View File

@ -8,6 +8,15 @@
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" > </script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" > </script>
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#498FBE">
</head> </head>
<body> <body>

+ 9
- 0
website/profile.html View File

@ -7,6 +7,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="css/bootstrap.css" media="screen"> <link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="./img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/favicon/favicon-16x16.png">
<link rel="manifest" href="./img/favicon/site.webmanifest">
<link rel="mask-icon" href="./img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#498FBE">
</head> </head>
<body> <body>
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary"> <div class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary">

Loading…
Cancel
Save