Commit d8d287d5 authored by LianaHus's avatar LianaHus

search input style on terminal

parent 15a86498
...@@ -90,17 +90,17 @@ var css = csjs` ...@@ -90,17 +90,17 @@ var css = csjs`
.search { .search {
display : flex; display : flex;
align-items : center; align-items : center;
width : 200px; width : 330px;
padding-left : 20px; padding-left : 20px;
height : 100%; height : 100%;
} }
.filter { .filter {
width : 200px;
padding-right : 0px; padding-right : 0px;
margin-right : 0px; margin-right : 0px;
border-top-left-radius : 0px;
border-bottom-left-radius : 0px;
height : 100%; height : 100%;
white-space : nowrap;
overflow : hidden;
text-overflow : ellipsis;
} }
.searchIcon { .searchIcon {
height : 100%; height : 100%;
......
...@@ -125,7 +125,14 @@ class Terminal extends BaseApi { ...@@ -125,7 +125,14 @@ class Terminal extends BaseApi {
<div onmousedown=${mousedown} class=${css.dragbarHorizontal}></div>` <div onmousedown=${mousedown} class=${css.dragbarHorizontal}></div>`
self._view.pendingTxCount = yo`<div class=${css.pendingTx} title='Pending Transactions'>0</div>` self._view.pendingTxCount = yo`<div class=${css.pendingTx} title='Pending Transactions'>0</div>`
self._view.inputSearch = yo`<input spellcheck="false" type="text" class="${css.filter} form-control" id="input" onkeydown=${filter} placeholder="Search transactions"></input>` self._view.inputSearch = yo`<input
spellcheck="false"
type="text"
class="${css.filter} form-control"
id="input"
onkeydown=${filter}
placeholder="Search with transaction hash or address">
</input>`
self._view.bar = yo` self._view.bar = yo`
<div class="${css.bar}"> <div class="${css.bar}">
${self._view.dragbar} ${self._view.dragbar}
...@@ -138,9 +145,19 @@ class Terminal extends BaseApi { ...@@ -138,9 +145,19 @@ class Terminal extends BaseApi {
${self._view.pendingTxCount} ${self._view.pendingTxCount}
<div class=${css.verticalLine}></div> <div class=${css.verticalLine}></div>
<div class="form-check"> <div class="form-check">
<input id="listenNetworkCheck" onchange=${listenOnNetwork} type="checkbox" class="form-check-input " <input
title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you"> id="listenNetworkCheck"
<label class="form-check-label" title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you" for="listenNetworkCheck">listen on network</label> onchange=${listenOnNetwork}
type="checkbox" class="form-check-input "
title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you"
>
<label
class="form-check-label"
title="If checked Remix will listen on all transactions mined in the current environment and not only transactions created by you"
for="listenNetworkCheck"
>
listen on network
</label>
</div> </div>
<div class=${css.search}> <div class=${css.search}>
<i class="fa fa-search ${css.searchIcon} bg-light" aria-hidden="true"></i> <i class="fa fa-search ${css.searchIcon} bg-light" aria-hidden="true"></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment