Skip to content

Commit

Permalink
Added clear button and refractored code
Browse files Browse the repository at this point in the history
Signed-off-by: Ravjot Singh <ravu2004@gmail.com>
  • Loading branch information
ravjot07 authored and quozl committed Nov 23, 2024
1 parent 54a9fd5 commit eeb40ac
Show file tree
Hide file tree
Showing 5 changed files with 339 additions and 245 deletions.
4 changes: 4 additions & 0 deletions css/activity.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
#main-toolbar #new-button {
background-image: url(../icons/new-button.svg);
}

#main-toolbar #clear-button {
background-image: url(../icons/clear-button.svg);
}
15 changes: 15 additions & 0 deletions icons/clear-button.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<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 Canvas"></button>
<button class="toolbutton pull-right" id="stop-button" title="Stop"></button>
</div>

Expand Down
Loading

0 comments on commit eeb40ac

Please sign in to comment.