Skip to content

Commit

Permalink
Add buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
KenwoodFox committed Jul 31, 2023
1 parent 1435c0c commit dc6499a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Houston-UI/MissionController/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,24 @@ body {
padding: 6px;
text-align: center;
}

/* Buttons! */
.rpm {
border: 3px solid black;
background-color: white;
color: black;
padding: 10px 10px;
font-size: 20px;
cursor: pointer;
}

.red_flashing {
border-color: #f44336;
color: red;
animation: blinker 1s step-start infinite;
}

.red_flashing:hover {
background: #f44336;
color: white;
}
2 changes: 2 additions & 0 deletions Houston-UI/MissionController/templates/windows/camera.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<div id="camera" class="camera">
<img src="static/placeholder/320x240.png" alt="RobotImage">

<button class="rpm red_flashing">Push to test</button>
</div>

0 comments on commit dc6499a

Please sign in to comment.