Skip to content

Commit

Permalink
Frontend: Change class the className
Browse files Browse the repository at this point in the history
  • Loading branch information
stephendade committed Nov 1, 2020
1 parent a7c68a8 commit 34af492
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ class AboutPage extends basePage {
<button onClick={this.confirmShutdown}>Shutdown Companion Computer</button>

<Modal isOpen={this.state.showModal} appElement={document.getElementById('root')} contentLabel="ShutdownConfirm" className="Modal">
<h3 class="ModalTitle">Confirm</h3>
<div class="ModalContent">Are you sure you want to shutdown the Companion Computer?</div>
<div class="ModalActions">
<h3 className="ModalTitle">Confirm</h3>
<div className="ModalContent">Are you sure you want to shutdown the Companion Computer?</div>
<div className="ModalActions">
<button onClick={this.handleShutdown}>Yes</button>
<button onClick={this.handleCloseModal}>No</button>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/networkconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,9 @@ class NetworkConfig extends basePage {
<input type="submit" disabled={this.state.netConnectionFilteredSelected !== null && this.state.netConnectionFilteredSelected.type === "tun"} value="Save Changes" />
<input type="button" value="Discard Changes" onClick={this.resetForm}/>
<Modal isOpen={this.state.showModal} appElement={document.getElementById('root')} contentLabel="WifiSelectDialog" className="Modal">
<h3 class="ModalTitle">WiFi Network Type</h3>
<div class="ModalContent">Please select the WiFi network type for this connection.</div>
<div class="ModalActions">
<h3 className="ModalTitle">WiFi Network Type</h3>
<div className="ModalContent">Please select the WiFi network type for this connection.</div>
<div className="ModalActions">
<button onClick={this.handleCloseModalAP}>Access Point</button>
<button onClick={this.handleCloseModalClient}>Client</button>
</div>
Expand Down

0 comments on commit 34af492

Please sign in to comment.