Skip to content

Commit

Permalink
Testing test run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed Nov 20, 2023
1 parent 03821c4 commit 98cd8cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions skins/weewx-wdc/index.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@
</section>
</main>

<script
type="module"
src="https://1.www.s81c.com/common/carbon/web-components/tag/v2/latest/modal.min.js"
></script>

<!--Stat tile Modals-->
#if $DisplayOptions.get('layout', 'alternative') == 'alternative' and 'stat_tile_links' in $DisplayOptions
#for $skin_obs in $DisplayOptions.get('stat_tile_links')
<script
type="module"
src="https://1.www.s81c.com/common/carbon/web-components/tag/v2/latest/modal.min.js"
></script>
#set $render_modal = "stat_tile_links" in $DisplayOptions and $skin_obs in $DisplayOptions["stat_tile_links"] and $DisplayOptions["stat_tile_links"][$skin_obs]["open"] == "modal"
#set $skin_obs_key = $get_custom_data_binding_obs_key($skin_obs)

Expand Down
8 changes: 4 additions & 4 deletions test/test_install_report/src/skin-custom.conf
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ SKIN_VERSION = 2.2.1
min = 0
max = 360

[[stat_tile_links]]
[[[ET]]]
link = "https://en.wikipedia.org/wiki/Evapotranspiration"
open = modal
#[[stat_tile_links]]
# [[[ET]]]
# link = "https://en.wikipedia.org/wiki/Evapotranspiration"
# open = modal

[[Icons]]
rain = "includes/icons/barometer.svg"
Expand Down

0 comments on commit 98cd8cc

Please sign in to comment.