Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
Merge pull request #11 from joshmcrty/master
Browse files Browse the repository at this point in the history
Minor Fixes/Enhancements to Connect Form
  • Loading branch information
Matthias Rupp authored Aug 27, 2017
2 parents 7ddafc6 + c16751b commit f4ce202
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/connect.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
outline: none;
}

#container {
.container {
display: block;
text-align: center;
margin-top: 70px;
Expand Down Expand Up @@ -84,20 +84,22 @@
<body>
<div id="titlebar"></div>
<h2>Connect to Home Assistant</h2>
<div id="container">
<input id="url-input" value="http://localhost:8123" placeholder="URL"><br>
<input id="password-input" value="" type="password" placeholder="Password (optional)">
<br>
<p class="warning">Warning! The password will be stored in plaintext on your computer!</p>
</div>
<div id="container">
<div>
<button onclick="connect()">Connect</button>
<form onsubmit="connect()">
<div class="container">
<input id="url-input" value="http://localhost:8123" placeholder="URL"><br>
<input id="password-input" value="" type="password" placeholder="Password (optional)">
<br>
<p class="warning">Warning! The password will be stored in plaintext on your computer!</p>
</div>
<div id="status">
<div class="container">
<div>
<button type="submit">Connect</button>
</div>
<div id="status">

</div>
</div>
</div>
</form>
</body>

</html>

0 comments on commit f4ce202

Please sign in to comment.