mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
fix: [domain search] fix template domain types filter
This commit is contained in:
parent
19f154a81a
commit
a65ddee9dc
1 changed files with 4 additions and 4 deletions
|
@ -19,8 +19,8 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="custom-control custom-switch">
|
<div class="custom-control custom-switch">
|
||||||
<input class="custom-control-input" type="checkbox" name="domain_regular_switch" value="True" id="domain_regular_switch"{%if domains_types%}{%if 'regular' in domains_types%}checked{%endif%}{%endif%}>
|
<input class="custom-control-input" type="checkbox" name="domain_web_switch" value="True" id="domain_web_switch"{%if domains_types%}{%if 'web' in domains_types%}checked{%endif%}{%endif%}>
|
||||||
<label class="custom-control-label" for="domain_regular_switch">
|
<label class="custom-control-label" for="domain_web_switch">
|
||||||
<span class="badge badge-warning"><i class="fab fa-html5"></i> Web Domains</span>
|
<span class="badge badge-warning"><i class="fab fa-html5"></i> Web Domains</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function searchDomainName() {
|
function searchDomainName() {
|
||||||
var all_domain_types = ['onion', 'regular'] // TODO: load from flask
|
var all_domain_types = ['onion', 'web'] // TODO: load from flask
|
||||||
// var l_domains_types = [];
|
var l_domains_types = [];
|
||||||
console.log(document.getElementById('in_search_name'));
|
console.log(document.getElementById('in_search_name'));
|
||||||
|
|
||||||
var data = document.getElementById('in_search_name').value;
|
var data = document.getElementById('in_search_name').value;
|
||||||
|
|
Loading…
Reference in a new issue