A search interface for the Performing Patents Otherwise publication as part of the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office OPS API. https://patents.copim.ac.uk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme.html 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {% extends "base.html" %}
  2. {% block content %}
  3. {{ text|safe }}
  4. <hr>
  5. {% if results == 'no results found' %}
  6. {{ results }}
  7. {% else %}
  8. {% for result in results %}
  9. <p class="h1">
  10. Year:
  11. {{ result['year'] }}
  12. </p>
  13. {% if result['title'] is defined %}
  14. <p class="mb-2 mt-5">
  15. <span class="emphasis">Title:</span>
  16. <span class="result-entry">
  17. {{ result['title'] }}
  18. </span>
  19. </p>
  20. {% endif %}
  21. {% if result['country'] is defined %}
  22. <p class="mb-2">
  23. <span class="emphasis">Country:</span>
  24. {% if result['country'].name is defined %}
  25. {{ result['country'].name }} {{ result['country'].flag }}
  26. {% else %}
  27. {{ result['country'] }}
  28. {% endif %}
  29. </p>
  30. {% endif %}
  31. {% if result['abstract'] is defined %}
  32. <p class="mb-2">
  33. <span class="emphasis">Abstract:</span>
  34. <span class="result-entry">
  35. {{ result['abstract'] }}
  36. </span>
  37. </p>
  38. {% endif %}
  39. <div class="mt-2 mb-5 search-links">
  40. <p>
  41. <span class="emphasis">European Patent Office PDF:</span>
  42. <a href="{{ url_for('search.id_search', id=result['id'], core='all') }}">
  43. <span class="result-entry">
  44. {{ result['application_id'] }}
  45. </span>
  46. </a>
  47. </p>
  48. </div>
  49. {% endfor %}
  50. {% endif %}
  51. {% endblock %}