|
@ -29,17 +29,34 @@ |
|
|
<br> |
|
|
<br> |
|
|
|
|
|
|
|
|
<div class="file-names-container"> |
|
|
<div class="file-names-container"> |
|
|
|
|
|
<!--librarians-focused--> |
|
|
{% for querylibrarian in urllibrarian %} |
|
|
{% for querylibrarian in urllibrarian %} |
|
|
{% for file in filetoname_dict %} |
|
|
{% for file in filetoname_dict %} |
|
|
{% for item in file['librarian'] %} |
|
|
{% for item in file['librarian'] %} |
|
|
{% if item == querylibrarian and urlmethod != ['']%} |
|
|
{% if item == querylibrarian and urlmethod == []%} |
|
|
{% set show_file = file['debrisname'] %} |
|
|
{% set show_file = file['debrisname'] %} |
|
|
<span class="file-names" id="{{show_file}}">{{show_file}}</span> |
|
|
<span class="file-names" id="{{show_file}}">{{show_file}}</span> |
|
|
|
|
|
{% elif item == querylibrarian %} |
|
|
|
|
|
{% for urlmeth in urlmethod %} |
|
|
|
|
|
{% if urlmeth.lower() == file['method'].lower() %} |
|
|
|
|
|
{% set show_file = file['debrisname'] %} |
|
|
|
|
|
<span class="file-names" id="{{show_file}}">{{show_file}}</span> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endfor %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
|
|
<!--method-focused--> |
|
|
|
|
|
{% for querymethod in urlmethod %} |
|
|
|
|
|
{% for file in filetoname_dict %} |
|
|
|
|
|
{% if querymethod.lower() == file['method'].lower()%} |
|
|
|
|
|
{% set show_file = file['debrisname'] %} |
|
|
|
|
|
<span class="file-names" id="{{show_file}}">{{show_file}}</span> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
{% endfor %} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
@ -122,12 +139,12 @@ |
|
|
} |
|
|
} |
|
|
return obj; |
|
|
return obj; |
|
|
}; |
|
|
}; |
|
|
var libList = getAllUrlParams().librarian; |
|
|
// var libList = getAllUrlParams().librarian; |
|
|
var methodList = getAllUrlParams().method; |
|
|
// var methodList = getAllUrlParams().method; |
|
|
for (i=0; i < libList.length; i++) { |
|
|
// for (i=0; i < libList.length; i++) { |
|
|
var search_id = libList[i].toString(2); |
|
|
// var search_id = libList[i].toString(2); |
|
|
var element = document.getElementById(search_id); |
|
|
// var element = document.getElementById(search_id); |
|
|
} |
|
|
// } |
|
|
// for (i=0; i<methodList.length; i++) { |
|
|
// for (i=0; i<methodList.length; i++) { |
|
|
// var search_id = '#' + methodList[i]; |
|
|
// var search_id = '#' + methodList[i]; |
|
|
// $( search_id ).addClass('clicked'); |
|
|
// $( search_id ).addClass('clicked'); |
|
@ -172,7 +189,6 @@ |
|
|
} |
|
|
} |
|
|
location.href = address; |
|
|
location.href = address; |
|
|
} else { |
|
|
} else { |
|
|
// $(this).removeClass('clicked'); |
|
|
|
|
|
var start = "?method=" + theid; |
|
|
var start = "?method=" + theid; |
|
|
var addition = "&method=" + theid; |
|
|
var addition = "&method=" + theid; |
|
|
if(address.includes(start)==true && address.charAt(start.length+1)=='&'){ |
|
|
if(address.includes(start)==true && address.charAt(start.length+1)=='&'){ |
|
|