summaryrefslogtreecommitdiff
path: root/test/default_profiles
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-12-14 21:40:23 +0100
committerWojtek Kosior <koszko@koszko.org>2021-12-14 22:06:58 +0100
commit58fe4c7d806359bed299f74ba56902ab396a6ed1 (patch)
tree38cc0620fe36c5bd7ef7df7dd9f24d332a51fdee /test/default_profiles
parent79446ca52cea0864ebe2540ba774cc386ee2f8bc (diff)
downloadbrowser-extension-58fe4c7d806359bed299f74ba56902ab396a6ed1.tar.gz
browser-extension-58fe4c7d806359bed299f74ba56902ab396a6ed1.zip
facilitate broadcasting messages to different execution contexts within the webextension
Diffstat (limited to 'test/default_profiles')
0 files changed, 0 insertions, 0 deletions
See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. I, Wojtek Kosior, thereby promise not to sue for violation of this file's licenses. Although I request that you do not make use of this code in a proprietary program, I am not going to enforce this in court. --> <!-- This is not a standalone page. This file is meant to be imported into other HTML code. --> #LOADCSS html/reset.css #LOADCSS html/base.css #LOADCSS html/grid.css <style> .text_entry { padding: 0.1em 0.2em; } .text_entry button { margin: 0.1em 0 0.1em 0.2em; } .text_entry_editable, .text_entry_noneditable { display: grid; grid-template-columns: 1fr auto auto; } .text_entry_noneditable { grid-template-columns: 1fr auto; } .text_entries { min-height: 3em; background: #cfcfcf; overflow-y: scroll; min-width: 10em; margin: 0.2em 0; height: calc(var(--content-height) - 5em); } .text_entries>:nth-child(2n) { background-color:#dadada; } .text_entries span { padding: 0.4em; } </style> <template> <div id="text_entry" data-template="main_div" class="text_entry"> <div data-template="noneditable_view" class="text_entry_noneditable"> <span data-template="text"></span> <button data-template="remove_but">Remove</button> </div> <div data-template="editable_view" class="hide text_entry_editable"> <input data-template="input"> <button data-template="add_but" class="hide">Add</button> <button data-template="save_but">Save</button> <button data-template="cancel_but">Cancel</button> </div> </div> <div id="text_entry_list" data-template="main_div" class="grid_1"> <div data-template="list_div" class="text_entries"> </div> <button data-template="new_but">New</button> </div> </template> #ENDIF