Skip to content

Commit

Permalink
Hidden no op buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardclifford committed Apr 26, 2023
1 parent fd40f31 commit 2c09026
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fsae-dashboard",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"author": {
"name": "Ted Clifford",
Expand Down
9 changes: 6 additions & 3 deletions frontend/src/Components/ConfigPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,19 +289,22 @@ const ConfigPane = forwardRef(({visible, sock, setShowConf, darkMode, setDarkMod

<div className="option-page">
<div className="option-select">
<div className="panel button" style={{filter: showACLim ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowACLim, showACLim)}>
{/* <div className="panel button" style={{filter: showACLim ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowACLim, showACLim)}> */}
<div className="panel button" style={{filter: "brightness(.5)"}}>
Set AC Current Limit
</div>

<div className="panel button" style={{filter: showDCLim ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowDCLim, showDCLim)}>
{/* <div className="panel button" style={{filter: showDCLim ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowDCLim, showDCLim)}> */}
<div className="panel button" style={{filter: "brightness(.5)"}}>
Set DC Current Limit
</div>

<div className="panel button" style={{filter: showTCS ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowTCS, showTCS)}>
Set TCS Strength
</div>

<div className="panel button" style={{filter: showRegen ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowRegen, showRegen)}>
{/* <div className="panel button" style={{filter: showRegen ? "brightness(.7)" : ""}} onClick={(e) => togglePane(e, setShowRegen, showRegen)}> */}
<div className="panel button" style={{filter: "brightness(.5)"}}>
Set Regen Braking Strength
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Components/VehicleStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const VehicleStatus = forwardRef(({ip, setShowConf}, ref) =>{
</span>

<span className="label" id="version">
{ip} v1.0.0
{ip} v1.0.1
</span>
</p>
</div>
Expand Down

0 comments on commit 2c09026

Please sign in to comment.