Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear and undo buttons #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions css/activity.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@
#main-toolbar #new-button {
background-image: url(../icons/new-button.svg);
}

#main-toolbar #clear-button {
background-image: url(../images/clear.svg);
}

#main-toolbar #undo-button {
background-image: url(../images/undo.svg);
}
115 changes: 115 additions & 0 deletions images/clear.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions images/undo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 25 additions & 23 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
<!DOCTYPE html>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Connect the Dots</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Connect the Dots</title>

<link rel="stylesheet" href="lib/sugar-web/graphics/css/sugar.css">
<link rel="stylesheet" href="css/activity.css">
<link rel="stylesheet" href="lib/sugar-web/graphics/css/sugar.css">
<link rel="stylesheet" href="css/activity.css">

<script data-main="js/loader" src="lib/require.js"></script>
</head>
<script data-main="js/loader" src="lib/require.js"></script>
</head>

<body>
<div id="main-toolbar" class="toolbar">
<button class="toolbutton" id="activity-button" title="My Activity"></button>
<button class="toolbutton" id="new-button" title="New"></button>
<button class="toolbutton pull-right" id="stop-button" title="Stop"></button>
</div>
<body>
<div id="main-toolbar" class="toolbar">
<button class="toolbutton" id="activity-button" title="My Activity"></button>
<button class="toolbutton" id="new-button" title="New"></button>
<button class="toolbutton" id="clear-button" title="Clear"></button>
<button class="toolbutton" id="undo-button" data-i18n="undo" title="Undo" style="opacity: 0.8;"></button>
<button class="toolbutton pull-right" id="stop-button" title="Stop"></button>
</div>

<div id="loader"></div>
<div id="loader"></div>

<header id="header" class="EaselJS">
<h1>Click on the star and then drag the turtle from 1 to 2 to 3...</h1>
</header>
<header id="header" class="EaselJS">
<h1>Click on the star and then drag the turtle from 1 to 2 to 3...</h1>
</header>

<div class="canvasHolder">
<canvas id="myCanvas" width="800" height="600"></canvas>
</div>
<div class="canvasHolder">
<canvas id="myCanvas" width="800" height="600"></canvas>
</div>

<div id="labelDiv"></div>
<div id="labelDiv"></div>

</body>
</body>

</html>
</html>
Loading