summaryrefslogtreecommitdiff
path: root/html/display-panel.html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-08-27 18:01:34 +0200
committerWojtek Kosior <koszko@koszko.org>2021-08-27 18:01:34 +0200
commit826b4fd80a288f13841b6f6d56cc38e2f43bbc03 (patch)
tree1b28d79d88817b19ca4cf6a229cfee9143531dc3 /html/display-panel.html
parent53891495d6f6b901da3058b1227d326313d922e9 (diff)
downloadbrowser-extension-826b4fd80a288f13841b6f6d56cc38e2f43bbc03.tar.gz
browser-extension-826b4fd80a288f13841b6f6d56cc38e2f43bbc03.zip
start using `<template>' tag
Diffstat (limited to 'html/display-panel.html')
-rw-r--r--html/display-panel.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/html/display-panel.html b/html/display-panel.html
index 1b9c77b..c5b500d 100644
--- a/html/display-panel.html
+++ b/html/display-panel.html
@@ -35,19 +35,18 @@
</style>
</head>
<body>
- <!-- The invisible div below is for elements that will be cloned. -->
- <div class="hide">
- <li id="pattern_li_template">
+ <template>
+ <li id="pattern_li">
<span></span>
<button>View in settings</button>
</li>
- <li id="query_match_li_template" class="queried_pattern_match" data-template="li">
+ <li id="query_match_li" class="queried_pattern_match" data-template="li">
<div>
<span>pattern:</span>
<span class="bold" data-template="pattern"></span>
<button data-template="btn">Install</button>
</div>
- <div id="unrollable_component_template" data-template="unroll_container">
+ <div id="unrollable_component" data-template="unroll_container">
<span data-template="component_label">payload:</span>
<input type="checkbox" class="unroll_chbx" data-template="chbx"></input>
<br data-template="br"/>
@@ -61,7 +60,7 @@
<div data-template="unroll"></div>
</div>
</li>
- </div>
+ </template>
<input id="show_install_view_chbx" type="checkbox" class="show_hide_next2"></input>
<div id="install_view">