Skip to content

Commit 0eee5e9

Browse files
added a search box on html page
1 parent bd4d07b commit 0eee5e9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

sde_indexing_helper/templates/sde_collections/collection_list.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,15 @@ <h2 class="title">Welcome back!</h2>
4848
<td class="hideDisplay"></td>
4949
</tr>
5050
</thead>
51-
51+
52+
<div class="search-container">
53+
<label for="collectionSearch">Universal Search</label>
54+
<input type="text" id="collectionSearch" placeholder="Type to search..." class="table_filter_row_input textBoxStyling">
55+
</div>
56+
5257
<tbody>
5358
{% for collection in collections %}
54-
<tr id={{ collection.id }}>
59+
<tr id="{{ collection.id }}" data-config-folder="{{ collection.config_folder }}">
5560
<td class="noBorder">
5661
<a class="nameStyling" href="{% url 'sde_collections:detail' collection.pk %}">{{ collection.name }} <i class="material-icons">chevron_right</i></a>
5762
</td>
@@ -73,7 +78,7 @@ <h2 class="title">Welcome back!</h2>
7378
data-match-pattern
7479
remove_protocol
7580
row
76-
url>
81+
url>
7782
<button class="btn {{ collection.workflow_status_button_color }} btn-sm dropdown-toggle"
7883
type="button"
7984
id="workflow-status-button-{{ collection.id }}"

0 commit comments

Comments
 (0)