Skip to content

Commit d7972f7

Browse files
committed
Add title and placeholder search field help text
Refs pombase/pombase-gocam#142
1 parent bb94c20 commit d7972f7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎gocam_view/templates/gocam_view/index.html‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@
216216
color: #3076b0;
217217
text-decoration: underline;
218218
}
219+
#search-box input {
220+
width: 16em;
221+
}
219222
</style>
220223

221224
<script type="module">
@@ -1229,7 +1232,8 @@
12291232
<div id="cy"></div>
12301233
<div id="panel-buttons" style="display: none">
12311234
{% if full_or_widget == 'full' %}
1232-
<button id="show-search" title="Search" onclick="showSearch()">
1235+
<button id="show-search" title="Search using activity names, gene names or model names or IDs"
1236+
onclick="showSearch()">
12331237
<img src='data:image/svg+xml;charset=utf-8,<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg fill="%23000000" height="10mm" width="10mm" viewBox="0 0 500 500" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <g> <path d="M483.4,454.444l-121.3-121.4c28.7-35.2,46-80,46-128.9c0-112.5-91.5-204.1-204.1-204.1S0,91.644,0,204.144 s91.5,204,204.1,204c48.8,0,93.7-17.3,128.9-46l121.3,121.3c8.3,8.3,20.9,8.3,29.2,0S491.8,462.744,483.4,454.444z M40.7,204.144 c0-90.1,73.2-163.3,163.3-163.3s163.4,73.3,163.4,163.4s-73.3,163.4-163.4,163.4S40.7,294.244,40.7,204.144z"/> </g> </svg>'/>
12341238
</button>
12351239
{% endif %}
@@ -1258,7 +1262,7 @@
12581262
<div id="cy-panel">
12591263
{% if full_or_widget == 'full' %}
12601264
<div id="search-box" style="display: none">
1261-
<input id="search-input" placeholder="Search ..."/>
1265+
<input id="search-input" width="30" placeholder="Search for activies or models ..."/>
12621266
</div>
12631267
{% endif %}
12641268
<div id="cy-panel-contents">

0 commit comments

Comments
 (0)