proxy-based Twister client written with react-js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB

<!DOCTYPE html>
<html>
<head>
<script src="build/jquery.min.js"></script>
<script src="build/jquery.json-2.4.js"></script>
<script src="build/jquery.jsonrpcclient.js"></script>
<script src="build/twister-lib.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script>
var loadCache = function () {
Twister.deserializeCache(JSON.parse(localStorage.getItem("twister-cache")));
};
var clearCache = function () {
localStorage.setItem("twister-cache", null);
};
var saveCache = function () {
localStorage.setItem("twister-cache", JSON.stringify(Twister.serializeCache()))
}
</script>
</head>
<body>
<a href="javascript:loadCache()">Load Cache</a>
<a href="javascript:saveCache()">Save Cache</a>
<a href="javascript:clearCache()">Clear Cache</a>
<br/>
<div id="content" class="container"></div>
<script src="build/app-bundle.js"></script>
</body>
</html>