diff options
author | jahoti <jahoti@tilde.team> | 2021-07-21 00:00:00 +0000 |
---|---|---|
committer | jahoti <jahoti@tilde.team> | 2021-07-21 00:00:00 +0000 |
commit | efce4e9807889e9269534b19c8e0cbb4df527ecd (patch) | |
tree | 0a951d1b2b5c1470f7baf2be41585f5f08a09a9a /html/options.html | |
parent | efd6ae83e6e48008988a2a11ac1658ec71dc82d2 (diff) | |
parent | c483ae19e110ef5c1e539883a38fbc79b3dd4e4e (diff) | |
download | browser-extension-efce4e9807889e9269534b19c8e0cbb4df527ecd.tar.gz browser-extension-efce4e9807889e9269534b19c8e0cbb4df527ecd.zip |
Merge remote-tracking branch 'origin/koszko' into jahoti
Diffstat (limited to 'html/options.html')
-rw-r--r-- | html/options.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/html/options.html b/html/options.html index bfb9e52..a10b919 100644 --- a/html/options.html +++ b/html/options.html @@ -33,12 +33,14 @@ } /* tabbed view */ + #show_repos:not(:checked) ~ #repos, #show_pages:not(:checked) ~ #pages, #show_bags:not(:checked) ~ #bags, #show_scripts:not(:checked) ~ #scripts { display: none; } + #show_repos:checked ~ #repos_lbl, #show_pages:checked ~ #pages_lbl, #show_bags:checked ~ #bags_lbl, #show_scripts:checked ~ #scripts_lbl { @@ -124,9 +126,12 @@ </div> <!-- Mind the show_*s ids below - their format is assumed in js code --> + <input type="radio" name="tabs" id="show_repos"></input> <input type="radio" name="tabs" id="show_pages" checked></input> <input type="radio" name="tabs" id="show_bags"></input> <input type="radio" name="tabs" id="show_scripts"></input> + <label for="show_repos" id="repos_lbl" + class="tab_head"> Repos </label> <label for="show_pages" id="pages_lbl" class="tab_head"> Pages </label> <label for="show_bags" id="bags_lbl" @@ -134,6 +139,19 @@ <label for="show_scripts" id="scripts_lbl" class="tab_head"> Scripts </label> + <div id="repos"> + <ul id="repos_ul"> + <li id="work_repo_li" class="hide"> + <label for="repo_url_field">URL: </label> + <input id="repo_url_field"></input> + <br/> + <button id="save_repo_but" type="button"> Save </button> + <button id="discard_repo_but" type="button"> Cancel </button> + </li> + </ul> + <button id="add_repo_but" type="button"> Add repository </button> + </div> + <div id="pages"> <ul id="pages_ul"> <li id="work_page_li" class="hide"> |