-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
302 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
var/www/templates/objects/username/block_usernames_search.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="card border-secondary my-2"> | ||
<div class="card-body text-dark"> | ||
<h5 class="card-title">Usernames Search:</h5> | ||
<form action="{{ url_for('objects_subtypes.objects_username_search') }}" id="search_subtype_onj" method='post'> | ||
<div class="input-group mb-1"> | ||
<input type="text" name="page" value="{% if page %}{{ page }}{% else %}1{% endif %}" hidden=""> | ||
<select class="custom-select col-2" name="search_subtype" required> | ||
{% for s in subtypes %} | ||
<option value="{{ s }}" {% if s == subtype %}selected{% endif %}>{{ s }}</option> | ||
{% endfor %} | ||
</select> | ||
<input type="text" class="form-control col-8" name="to_search" value="{% if to_search %}{{ to_search }}{% endif %}" placeholder="Username to Search" required> | ||
<button class="btn btn-primary input-group-addon search-obj col-2"><i class="fas fa-search"></i></button> | ||
</div> | ||
<div class="custom-control custom-switch mt-1"> | ||
<input class="custom-control-input" type="checkbox" name="case_sensitive" id="case_sensitive" {% if type_to_search %}{% if case_sensitive %}value="True" checked{% else %}value="False"{% endif %}{% else %}value="True" checked{% endif %}> | ||
<label class="custom-control-label" for="case_sensitive">Case Sensitive</label> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
Oops, something went wrong.