summaryrefslogtreecommitdiff
path: root/html/import_frame.html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-09-01 14:14:51 +0200
committerWojtek Kosior <koszko@koszko.org>2021-09-01 14:14:51 +0200
commit4b59dced912fb9b50ff041c67f0f72cbbad56b6c (patch)
treeb542e0727219f2ab88999459df0cab7a015a2dd6 /html/import_frame.html
parentd85dcc1ea805651797b07f72b64d84764214a3b9 (diff)
downloadbrowser-extension-4b59dced912fb9b50ff041c67f0f72cbbad56b6c.tar.gz
browser-extension-4b59dced912fb9b50ff041c67f0f72cbbad56b6c.zip
add styling to settings install(import) dialog
Diffstat (limited to 'html/import_frame.html')
-rw-r--r--html/import_frame.html33
1 files changed, 26 insertions, 7 deletions
diff --git a/html/import_frame.html b/html/import_frame.html
index 835977d..e6db205 100644
--- a/html/import_frame.html
+++ b/html/import_frame.html
@@ -1,12 +1,21 @@
+<style>
+ .padding_right {
+ padding-right: 0.3em;
+ }
+</style>
<template>
- <li id="import_li">
- <span></span>
- <input type="checkbox" style="display: inline;" checked></input>
- <span></span>
- </li>
+ <tr id="import_entry" class="nowrap" data-template="entry">
+ <td>
+ <input type="checkbox" style="display: inline;" checked data-template="chbx"></input>
+ <span data-template="name_span"></span>
+ </td>
+ <td class="bold padding_right" data-template="warning"></td>
+ </tr>
</template>
+
<input id="import_loading_radio" type="radio" name="import_window_content" class="show_next"></input>
<span> Loading... </span>
+
<input id="import_failed_radio" type="radio" name="import_window_content" class="show_next"></input>
<div>
<span id="import_errormsg"></span>
@@ -14,13 +23,23 @@
<pre id="import_errordetail"></pre>
<button id="import_failok_but"> OK </button>
</div>
+
<input id="import_selection_radio" type="radio" name="import_window_content" class="show_next"></input>
<div>
<button id="check_all_import_but"> Check all </button>
<button id="uncheck_all_import_but"> Uncheck all </button>
<button id="uncheck_colliding_import_but"> Uncheck existing </button>
- <ul id="import_ul">
- </ul>
+ <aside id="existing_settings_note">
+ Settings that would owerwrite existing ones are marked "!".
+ </aside>
+ <div id="import_table_wrapper" class="table_wrapper">
+ <div>
+ <table>
+ <tbody id="import_list">
+ </tbody>
+ </table>
+ </div>
+ </div>
<button id="commit_import_but"> OK </button>
<button id="cancel_import_but"> Cancel </button>
</div>