Revision 5c685518
Added by koszko about 2 years ago
| html/options.html | ||
|---|---|---|
| 33 | 33 |
} |
| 34 | 34 |
|
| 35 | 35 |
/* tabbed view */ |
| 36 |
#show_repos:not(:checked) ~ #repos, |
|
| 36 | 37 |
#show_pages:not(:checked) ~ #pages, |
| 37 | 38 |
#show_bags:not(:checked) ~ #bags, |
| 38 | 39 |
#show_scripts:not(:checked) ~ #scripts {
|
| 39 | 40 |
display: none; |
| 40 | 41 |
} |
| 41 | 42 |
|
| 43 |
#show_repos:checked ~ #repos_lbl, |
|
| 42 | 44 |
#show_pages:checked ~ #pages_lbl, |
| 43 | 45 |
#show_bags:checked ~ #bags_lbl, |
| 44 | 46 |
#show_scripts:checked ~ #scripts_lbl {
|
| ... | ... | |
| 124 | 126 |
</div> |
| 125 | 127 |
|
| 126 | 128 |
<!-- Mind the show_*s ids below - their format is assumed in js code --> |
| 129 |
<input type="radio" name="tabs" id="show_repos"></input> |
|
| 127 | 130 |
<input type="radio" name="tabs" id="show_pages" checked></input> |
| 128 | 131 |
<input type="radio" name="tabs" id="show_bags"></input> |
| 129 | 132 |
<input type="radio" name="tabs" id="show_scripts"></input> |
| 133 |
<label for="show_repos" id="repos_lbl" |
|
| 134 |
class="tab_head"> Repos </label> |
|
| 130 | 135 |
<label for="show_pages" id="pages_lbl" |
| 131 | 136 |
class="tab_head"> Pages </label> |
| 132 | 137 |
<label for="show_bags" id="bags_lbl" |
| ... | ... | |
| 134 | 139 |
<label for="show_scripts" id="scripts_lbl" |
| 135 | 140 |
class="tab_head"> Scripts </label> |
| 136 | 141 |
|
| 142 |
<div id="repos"> |
|
| 143 |
<ul id="repos_ul"> |
|
| 144 |
<li id="work_repo_li" class="hide"> |
|
| 145 |
<label for="repo_url_field">URL: </label> |
|
| 146 |
<input id="repo_url_field"></input> |
|
| 147 |
<br/> |
|
| 148 |
<button id="save_repo_but" type="button"> Save </button> |
|
| 149 |
<button id="discard_repo_but" type="button"> Cancel </button> |
|
| 150 |
</li> |
|
| 151 |
</ul> |
|
| 152 |
<button id="add_repo_but" type="button"> Add repository </button> |
|
| 153 |
</div> |
|
| 154 |
|
|
| 137 | 155 |
<div id="pages"> |
| 138 | 156 |
<ul id="pages_ul"> |
| 139 | 157 |
<li id="work_page_li" class="hide"> |
Also available in: Unified diff
store repository URLs in settings