scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 74  →  ?path2? @ 75
/index.html
@@ -40,9 +40,15 @@
<div class="row">
<h2>About</h2>
<p><strong>scratch</strong> is a platform for small-sized asset sharing developed by <a href="http://grimore.org">Wizardry and Steamworks</a> and published under the <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC 1.0 Universal (CC0 1.0)</a> license. The sharing platform covers images, text snippets, movie clips and any sort of media that can be conveniently shared by generating short, public and obfuscated URLs that are easily accessible.</p>
<!-- <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> -->
<p><strong>scratch</strong> is a platform for small-sized asset sharing developed by <a href="http://grimore.org">Wizardry and Steamworks</a> and published under the <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC 1.0 Universal (CC0 1.0)</a> license. The sharing platform covers images, text snippets, movie clips and any sort of media that can be conveniently shared by generating short, public and obfuscated URLs that are easily accessible.</p>
<!-- <p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p> -->
</div>
<div class="row" ng-app="scratch" ng-controller="scratch-control" >
<h2>Configuration</h2>
<p>The <strong>scratch</strong> platform can</p>
<h3>Allowed Files</h3>
The following files, expressed as file extensions: <div ng-repeat="extension in extensions"><span id="box">{{extension}}</span></div> are currently accepted for uploading.
</div>
 
</div> <!-- /container -->
@@ -54,10 +60,24 @@
 
<!-- jQuery -->
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Angular JS -->
<script src="bower_components/angular/angular.min.js"></script>
<!-- BootStrap -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- SoundJS -->
<script src="bower_components/SoundJS/lib/soundjs-NEXT.combined.js"></script>
<!-- YAML -->
<script src="bower_components/yaml.js/dist/yaml.min.js"></script>
<script>
var app = angular.module('scratch', []);
app.controller('scratch-control', function($scope, $http) {
$http.get('config.yaml').then((response) => {
var doc = YAML.parse(response.data);
//alert(JSON.stringify(doc));
$scope.extensions = doc.ALLOWED_FILE_EXTENSIONS;
});
});
</script>
<!-- Jumbotron parallax effect -->
<script>
var jumboHeight = $('.jumbotron').outerHeight();
@@ -70,6 +90,7 @@
parallax();
});
</script>
<!-- Hiss sounds -->
<script>
$(document).ready(() => {
if (!createjs.Sound.initializeDefaultPlugins() ||