scratch-resources/resources/index.html
chrisgarrity 0212544da2 fix generated urls
use url.resolve instead of just path. Path takes out the double slash on the `https://`
2017-06-21 13:45:41 -04:00

44 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Scratch Resources browser</title>
<link rel="stylesheet" type="text/css" href="resources.css">
</head>
<body>
<div id="navigation"></div>
<table>
<thead>
<tr>
<th>
</th>
<th>
Name
</th>
<th>
Size
</th>
<th>
Last Modified
</th>
</tr>
</thead>
<tbody id="listing"></tbody>
</table>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
// Configuration variables:
var S3BL_IGNORE_PATH = true;
// var BUCKET_NAME = 'scratch-resources';
var BUCKET_URL = 'https://scratch-resources.s3.amazonaws.com';
var BUCKET_WEBSITE_URL = 'https://resources.scratch.mit.edu';
//var S3B_ROOT_DIR = 'source/'; //use this to restrict browsing to the source folder
var S3B_ROOT_DIR = '';
var S3B_SORT = 'A2Z';
// var EXCLUDE_FILE = '.DS_Store';
// var AUTO_TITLE = true;
// var S3_REGION = 's3'; // for us-east-1</script>
<script type="text/javascript" src="js/list.js"></script>
</body>
</html>