mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
chg: [tags blueprint] clean code
This commit is contained in:
parent
d677b32da6
commit
12bac87cf3
1 changed files with 0 additions and 26 deletions
|
@ -163,29 +163,3 @@ def get_obj_by_tags():
|
||||||
dict_tagged = {"object_type":object_type, "object_name":object_type.title() + "s"}
|
dict_tagged = {"object_type":object_type, "object_name":object_type.title() + "s"}
|
||||||
|
|
||||||
return render_template("tags/search_obj_by_tags.html", bootstrap_label=bootstrap_label, dict_tagged=dict_tagged)
|
return render_template("tags/search_obj_by_tags.html", bootstrap_label=bootstrap_label, dict_tagged=dict_tagged)
|
||||||
|
|
||||||
# # add route : /crawlers/show_domain
|
|
||||||
# @tags_ui.route('/tags/search/domain')
|
|
||||||
# @login_required
|
|
||||||
# @login_analyst
|
|
||||||
# def showDomain():
|
|
||||||
# date_from = request.args.get('date_from')
|
|
||||||
# date_to = request.args.get('date_to')
|
|
||||||
# tags = request.args.get('ltags')
|
|
||||||
#
|
|
||||||
# print(date_from)
|
|
||||||
# print(date_to)
|
|
||||||
#
|
|
||||||
# dates = Date.sanitise_date_range(date_from, date_to)
|
|
||||||
#
|
|
||||||
# if tags is None:
|
|
||||||
# return 'tags_none'
|
|
||||||
# #return render_template("Tags.html", date_from=dates['date_from'], date_to=dates['date_to'])
|
|
||||||
# else:
|
|
||||||
# tags = Tag.unpack_str_tags_list(tags)
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# return render_template("showDomain.html", dict_domain=dict_domain, bootstrap_label=bootstrap_label,
|
|
||||||
# tag_type="domain"))
|
|
||||||
|
|
Loading…
Reference in a new issue