Skip to content

Commit

Permalink
Include tfa methods in search keywords (2factorauth#4584)
Browse files Browse the repository at this point in the history
* Include tfa methods in search keywords

* Adjust search bar placeholder
  • Loading branch information
phallobst authored Mar 25, 2020
1 parent 031d5eb commit 1044124
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/row-title.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- assign website = include.website -%}
{%- assign img_path = '/img/' | append: include.section | append: '/' | append: website.img -%}
<div class="title">
<div class="keywords" style="display:none;">{{ website.name }}&nbsp;{{ website.url }}</div>
<div class="keywords" style="display:none;">{{ website.name }}&nbsp;{{ website.url }}&nbsp;{% for item in website.tfa %} tfa:{{ item }}{% endfor %}</div>
<noscript>
<img src="{{ img_path }}" class="icon" alt="{{ website.name }}">
</noscript>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ <h2>Two Factor Auth (2FA)</h2>
<label for="jets-search">
<i class="search icon"></i>
</label>
<input type="search" id="jets-search" placeholder="Search websites" autocomplete="off" spellcheck="false"
tabindex="0">
<input type="search" id="jets-search" placeholder="Search websites by name, URL or method (e.g. tfa:totp)"
autocomplete="off" spellcheck="false" tabindex="0">
</div>
</div>

Expand Down

0 comments on commit 1044124

Please sign in to comment.