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.

77 lines
1.8KB

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <div class="action">
  4. <button onClick="refresh(this)" type="button" value="Refresh" title="new iteration">↻</button>
  5. </div>
  6. <a href="{{ url_for('main.index') }}" class="h1 text-left"> ⇽ </a>
  7. {% for result in results %}
  8. <div class="col text-center mt-2" id="result">
  9. {% if result['title'] is defined %}
  10. <p class="h1 mb-2">
  11. Title:
  12. {{ result['title'] }}
  13. </p>
  14. {% endif %}
  15. {% if result['year'] is defined %}
  16. <p class="mb-2">
  17. Year:
  18. {{ result['year'] }}
  19. </p>
  20. {% endif %}
  21. {% if result['country'] is defined %}
  22. <p class="mb-2">
  23. Country:
  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['original_title'] is defined %}
  32. <p class="mb-2">
  33. Original language title:
  34. {{ result['original_title'] }}
  35. </p>
  36. {% endif %}
  37. {% if result['abstract'] is defined %}
  38. <p class="mb-2">
  39. Abstract:
  40. {{ result['abstract'] }}
  41. </p>
  42. {% endif %}
  43. {% if result['original_abstract'] is defined %}
  44. <p class="mb-2">
  45. Original language abstract:
  46. {{ result['original_abstract'] }}
  47. </p>
  48. {% endif %}
  49. <p class="mb-2">
  50. European Patent Office PDF:
  51. <a href="{{ url_for('search.id_search', id=result['id'], core='all') }}">
  52. {{ result['application_id'] }}
  53. </a>
  54. </p>
  55. {% if result['image'] is defined %}
  56. <div class="col text-center">
  57. <img class="img-fluid" src="data:image/jpg;base64,{{ result['image'] }}" alt="Drawing accompanying patent for {{ result['title'] }}" />
  58. </div>
  59. {% endif %}
  60. </div>
  61. {% endfor %}
  62. {% endblock %}