diff --git a/dashboard/templates/dashboard/register.html b/dashboard/templates/dashboard/register.html index 1704a74..d5cd314 100644 --- a/dashboard/templates/dashboard/register.html +++ b/dashboard/templates/dashboard/register.html @@ -71,21 +71,21 @@

-
+
{#
#} {#
#} {#
loading...
#} {#
#} - {#

{{ points.point_lat }}

#} - {#

{{ points.point_lon }}

#} + {#

{{ points.point_lat }}

#} + {#

{{ points.point_lon }}

#} {#
#} {#
#} {#
#} @@ -225,45 +225,11 @@ }).show(); }).blur(function (e) { e.preventDefault(); - resetAutoCompletePanel(); }).on('input', function (e) { var val = $(this).val(); var params = {keyword: val} $('.autocomplete-panel').load('/get/organization/' + '?' + $.param(params)) }); - - function search(value) { - console.log('search'); - $('.main-search input').val(value); - {#resetAutoCompletePanel();#} - {#showFilterPanel();#} - {#resetResultPanel();#} - {#showResultPanel(value);#} - - } - - function showFilterPanel() { - $('.filter-panel').show(); - } - - function resetFilterCompletePanel() { - $('.filter-panel').hide(); - } - - function resetAutoCompletePanel() { - $('.autocomplete-panel').html("
loading...
").hide(); - } - - function showResultPanel(name) { - $('.result-panel').show(); - $('.result-panel').load('{% url "get-organization" %}' + '?keyword=' + encodeURIComponent(name)); - } - - function resetResultPanel() { - $('.result-panel').html("
\n" + - "
loading...
\n" + - "
") - } }) diff --git a/dashboard/templates/dashboard/results_by_keywords.html b/dashboard/templates/dashboard/results_by_keywords.html index a71486f..3c6659b 100644 --- a/dashboard/templates/dashboard/results_by_keywords.html +++ b/dashboard/templates/dashboard/results_by_keywords.html @@ -2,7 +2,7 @@