aboutsummaryrefslogtreecommitdiff
path: root/html/options.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/options.html
parent53891495d6f6b901da3058b1227d326313d922e9 (diff)
downloadbrowser-extension-826b4fd80a288f13841b6f6d56cc38e2f43bbc03.tar.gz
browser-extension-826b4fd80a288f13841b6f6d56cc38e2f43bbc03.zip
start using `<template>' tag
Diffstat (limited to 'html/options.html')
-rw-r--r--html/options.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/html/options.html b/html/options.html
index 2246f9a..81ab002 100644
--- a/html/options.html
+++ b/html/options.html
@@ -78,27 +78,26 @@
</style>
</head>
<body>
- <!-- The invisible div below is for elements that will be cloned. -->
- <div class="hide">
- <li id="item_li_template">
+ <template>
+ <li id="item_li">
<span></span>
<button> Edit </button>
<button> Remove </button>
<button> Export </button>
</li>
- <li id="bag_component_li_template">
+ <li id="bag_component_li">
<span></span>
<button> Remove </button>
</li>
- <li id="chbx_component_li_template">
+ <li id="chbx_component_li">
<input type="checkbox" style="display: inline;"></input>
<span></span>
</li>
- <li id="radio_component_li_template">
+ <li id="radio_component_li">
<input type="radio" style="display: inline;" name="page_components"></input>
<span></span>
</li>
- </div>
+ </template>
<!-- Mind the show_*s ids below - their format is assumed in js code -->
<input type="radio" name="tabs" id="show_repos"></input>