Skip to content

Commit

Permalink
Fix random image button
Browse files Browse the repository at this point in the history
  • Loading branch information
ada-af committed Oct 30, 2020
1 parent df28d7b commit aad9e0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions templates/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
</span>
<input type="text" name="q" class="form-control" id='inp' autocomplete="off" list="search"
value="{{ search }}">
<span class="input-group-append bg-t-360 hide_on_phone">
<button type='button' class='btn btn-submit btn-primary' onclick='rand_img()'>Random
image</button>
<span class="input-group-append">
<button type="button" class="btn btn-submit btn-primary" onclick="rand_img()">
<img src="{{url_for('static', filename='shuffle.svg')}}" style="height: 1rem; width: 1rem;">
<span class='bg-t-360 hide_on_phone'>Random image</span>
</button>
</span>
<span class="input-group-append">
<button type="submit" class="btn btn-primary">Search</button>
Expand Down

0 comments on commit aad9e0b

Please sign in to comment.