diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-07-21 22:00:20 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-07-21 22:00:20 +0200 |
commit | c483ae19e110ef5c1e539883a38fbc79b3dd4e4e (patch) | |
tree | 60298e3852ce74233eacc95c77a6e5cdc297418d /html/display-panel.html | |
parent | 5c68551800e477db41ae6fe3a318b2ff2d7a9cb1 (diff) | |
download | browser-extension-c483ae19e110ef5c1e539883a38fbc79b3dd4e4e.tar.gz browser-extension-c483ae19e110ef5c1e539883a38fbc79b3dd4e4e.zip |
add ability to query page content from repo and display it in the popup
Diffstat (limited to 'html/display-panel.html')
-rw-r--r-- | html/display-panel.html | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/html/display-panel.html b/html/display-panel.html index 9b6d619..d8d7f5d 100644 --- a/html/display-panel.html +++ b/html/display-panel.html @@ -21,6 +21,14 @@ display: none; } + .show_hide_next2:not(:checked)+* { + display: none; + } + + .show_hide_next2:checked+*+* { + display: none; + } + .hide { display: none; } @@ -34,10 +42,6 @@ #container_for_injected>#none_injected:not(:last-child) { display: none; } - - input#connected_chbx:checked+div+h3 { - display: none; - } </style> </head> <body> @@ -65,12 +69,19 @@ </label> <ul id="possible_patterns"></ul> - <input id="connected_chbx" type="checkbox" class="show_next"></input> + <input id="connected_chbx" type="checkbox" class="show_hide_next2"></input> <div> <h3> Matched pattern: <span id="pattern">...</span> <button id="view_pattern" class="hide"> - View in settings + View in settings + </button> + <input id="query_started_chbx" type="checkbox" class="show_hide_next2"></input> + <div id="container_for_repo_responses"> + <h3>Queried from repositories</h3> + </div> + <button id="query_pattern"> + Search for matching patterns </button> </h3> <h3> |