Skip to content

Commit

Permalink
Put button for remote in correct location / style
Browse files Browse the repository at this point in the history
  • Loading branch information
recumbentbirder committed Jul 31, 2018
1 parent 28c6b30 commit a65fd8b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions app/css/vicWebApp.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,20 @@ header {

/*********** MODULES ***********/

.remoteBtn {
line-height: 24px;
display: inline-block;
background: white;
border: none;
font-size: 14px;
border-radius: 5px;
font-weight: bold;
padding: 10px 20px;
color: #387cc6;
position: absolute;
right: 10px;
}

.shorePower {
-webkit-box-shadow: inset 0 0 0 2px #387DC5;
-moz-box-shadow: inset 0 0 0 2px #387DC5;
Expand Down
6 changes: 3 additions & 3 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ <h4>MultiPlus</h4>

<header>
<img src="images/logo-vic.svg">
<input type="button" value="Toggle shore power" style="visibility: hidden; float: right;" onclick="toggleShorePower();"></input>
<input type="button" value="Toggle shore voltage" style="visibility: hidden; float: right;" onclick="toggleShoreVoltage();"></input>
<input type="button" onclick="location.href='http://192.168.3.70/';" value="Remote Console" />
<input type="button" value="Toggle shore power" style="display:none ; float: right;" onclick="toggleShorePower();"></input>
<input type="button" value="Toggle shore voltage" style="display:none; float: right;" onclick="toggleShoreVoltage();"></input>
<input class="remoteBtn" type="button" onclick="location.href='http://192.168.3.70/';" value="Remote Console" />
<a href=""></a>
</header>
<div class="container">
Expand Down

0 comments on commit a65fd8b

Please sign in to comment.