|
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Flip Activity</title>
|
|
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, viewport-fit=cover"/>
|
|
<link rel="stylesheet" media="not screen and (device-width: 1200px) and (device-height: 900px)"
|
|
href="lib/sugar-web/graphics/css/sugar-96dpi.css">
|
|
<link rel="stylesheet" media="screen and (device-width: 1200px) and (device-height: 900px)"
|
|
href="lib/sugar-web/graphics/css/sugar-200dpi.css">
|
|
<link rel="stylesheet" href="css/activity.css">
|
|
<script data-main="js/loader" src="lib/require.js"></script>
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
|
<script src="lib/jquery-1.10.1.js"></script>
|
|
<script>if (window.module) module = window.module;</script>
|
|
<link rel="prefetch" type="application/l10n" href="./localization.ini">
|
|
<style>*{-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}</style>
|
|
<style> #canvas{background-color: #C0C0C0}</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="main-toolbar" class="toolbar">
|
|
<button class="toolbutton" data-l10n-id="activity-button" id="activity-button" title="Flip Activity"></button>
|
|
<button class="toolbutton" data-l10n-id="new-game-button" id="new-game-button" title="Start a game."></button>
|
|
<button class="toolbutton" data-l10n-id="size-button" id="size-button" title="Change size of grid"></button>
|
|
<!-- Add more buttons here -->
|
|
<!-- Buttons with class="pull-right" will be right aligned -->
|
|
<button class="toolbutton pull-right" data-l10n-id="stop-button" id="stop-button" title="Stop"></button>
|
|
<button class="toolbutton pull-right" data-l10n-id="solve-button" id="solve-button" title="Solve the puzzle"></button>
|
|
</div>
|
|
|
|
<!-- The content of your activity goes inside the canvas -->
|
|
<div id="canvas" style="overflow-y: hidden;">
|
|
<div id='flip-count'><span id="fliptext"><span data-l10n-id="turntext"></span><span id="turnno"></span></span></div>
|
|
<canvas id="actualcanvas"></canvas>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|