mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
Include tapTarget html element only when needed (#439)
This commit is contained in:
parent
34ca5d6d8a
commit
10cc11bab1
2 changed files with 5 additions and 1 deletions
|
@ -118,7 +118,6 @@ body {
|
|||
display: flex;
|
||||
min-height: 100vh;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
{% if begin %}
|
||||
<div class="tap-target pink lighten-1 select-port" data-target="select-port-target">
|
||||
<div class="tap-target-content">
|
||||
<h5>Select Upload Port</h5>
|
||||
|
@ -39,6 +40,7 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% end %}
|
||||
|
||||
<div class="ribbon"></div>
|
||||
</header>
|
||||
|
@ -454,6 +456,7 @@
|
|||
<i class="material-icons">add</i>
|
||||
</a>
|
||||
|
||||
{% if len(entries) == 0 %}
|
||||
<div class="tap-target pink lighten-1 setup-wizard" data-target="setup-wizard-start">
|
||||
<div class="tap-target-content">
|
||||
<h5>Set up your first Node</h5>
|
||||
|
@ -463,6 +466,8 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% end %}
|
||||
|
||||
</main>
|
||||
|
||||
<footer class="page-footer indigo darken-1">
|
||||
|
|
Loading…
Reference in a new issue