Skip to content

Commit

Permalink
[#327] Update placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSomeMan committed Nov 16, 2023
1 parent 0a2a094 commit 421acd8
Showing 1 changed file with 31 additions and 11 deletions.
42 changes: 31 additions & 11 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -472,13 +472,17 @@ <h3>
</label>
</h3>
<div class="input-password">
<input id="pwd" type="password" placeholder="Password" class="connection-field" value="">
<input id="pwd" type="password" placeholder="" class="connection-field" value="">
<div class="input-password-eye">
<div class="eye">
</div>
<div class="eye-slash hidden">
</div>
</div>
<div class="input-placeholder">
<span lang="en">Password</span>
<span lang="fi">Salasana</span>
</div>
</div>
</div>

Expand Down Expand Up @@ -2027,9 +2031,13 @@ <h3>
</label>
</h3>
<div class="input-with_validity_check" style="flex-grow: unset; width: auto;">
<input id="mqtt_port" type="text" placeholder="Port" style="width: calc(5ch + 4px + 2 * var(--input-padding-right-and-left));">
<input id="mqtt_port" type="text" placeholder="" style="width: calc(5ch + 4px + 2 * var(--input-padding-right-and-left));">
<div class="input-with_validity_check-icon">
</div>
<div class="input-placeholder">
<span lang="en">Port</span>
<span lang="fi">Portti</span>
</div>
</div>
</div>

Expand Down Expand Up @@ -2104,9 +2112,13 @@ <h3>
</label>
</h3>
<div class="input-with_validity_check">
<input id="mqtt_user" type="text" placeholder="User" value="">
<input id="mqtt_user" type="text" placeholder="" value="">
<div class="input-with_validity_check-icon">
</div>
<div class="input-placeholder">
<span lang="en">User</span>
<span lang="fi">Käyttäjä</span>
</div>
</div>
</div>

Expand All @@ -2118,7 +2130,7 @@ <h3>
</label>
</h3>
<div class="input-password input-with_validity_check">
<input id="mqtt_pass" type="password" placeholder="Password" value="">
<input id="mqtt_pass" type="password" placeholder="" value="">
<div class="input-password-eye">
<div class="eye">
</div>
Expand All @@ -2127,6 +2139,10 @@ <h3>
</div>
<div class="input-with_validity_check-icon">
</div>
<div class="input-placeholder">
<span lang="en">Password</span>
<span lang="fi">Salasana</span>
</div>
</div>
</div>

Expand Down Expand Up @@ -2185,9 +2201,15 @@ <h3>
<span class="control_indicator"></span>
</label>
<div id="mqtt_prefix_custom_div" class="indent">
<label>
<input id="mqtt_prefix_custom" type="text" placeholder="Custom MQTT topic prefix" value="">
<label for="mqtt_prefix_custom">
</label>
<div>
<input id="mqtt_prefix_custom" type="text" placeholder="" value="">
<div class="input-placeholder">
<span lang="en">Custom MQTT topic prefix</span>
<span lang="fi">Mukautettu MQTT-aiheetuliite</span>
</div>
</div>
</div>

<h3>
Expand Down Expand Up @@ -2607,8 +2629,7 @@ <h1>
<label class="control control-radio">
<span lang="en">Listen to Ruuvi sensors only (default)</span>
<span lang="fi">Kuuntele ainoastaan Ruuvi-antureita (oletus)</span>
<input type="radio" name="company_use_filtering" value="1" checked="checked"
placeholder="Scan only Ruuvitags">
<input type="radio" name="company_use_filtering" value="1" checked="checked">
<span class="control_indicator"></span>
</label>

Expand All @@ -2626,8 +2647,7 @@ <h2>
<span class="info-icon-left-column">
<span lang="en">Listen to Ruuvi sensors (including long range sensors)</span>
<span lang="fi">Kuuntele Ruuvi-antureita (myös pitkän kantaman anturit)</span>
<input type="radio" name="company_use_filtering" value="2"
placeholder="Scan only Ruuvitags">
<input type="radio" name="company_use_filtering" value="2">
<span class="control_indicator"></span>
</span>
<a class="info-icon-button" href="#popup-info-icon-scanning">i</a>
Expand All @@ -2637,7 +2657,7 @@ <h2>
<span>
<span lang="en">Listen to all Bluetooth beacon messages (not just Ruuvi sensors)</span>
<span lang="fi">Kuuntele kaikkia Bluetooth-majakkaviestejä (ei ainoastaan Ruuvi-antureita)</span>
<input type="radio" name="company_use_filtering" value="0" placeholder="Scan all beacons">
<input type="radio" name="company_use_filtering" value="0">
<span class="control_indicator"></span>
</span>
</label>
Expand Down

0 comments on commit 421acd8

Please sign in to comment.