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.

80 lines
2.0KB

  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. <span class="info" style="display: none;">
  6. <span class="operations">↝ new display of a random record from the dataset;</span>
  7. </span>
  8. <button id="notes-operations" onclick="hideShowInfo()">?</button>
  9. <a href="{{ url_for('main.index') }}" class="arrow-back h1 text-left" title="back to index"> ⇽ </a>
  10. </div>
  11. {% for result in results %}
  12. <div class="col text-center mt-2" id="result">
  13. {% if result['title'] is defined %}
  14. <h1 class="h1 mt-5 mb-2 p-5">
  15. Title:
  16. {{ result['title'] }}
  17. </h1>
  18. {% endif %}
  19. {% if result['year'] is defined %}
  20. <p class="mb-2">
  21. Year:
  22. {{ result['year'] }}
  23. </p>
  24. {% endif %}
  25. {% if result['country'] is defined %}
  26. <p class="mb-2">
  27. Country:
  28. {% if result['country'].name is defined %}
  29. {{ result['country'].name }} {{ result['country'].flag }}
  30. {% else %}
  31. {{ result['country'] }}
  32. {% endif %}
  33. </p>
  34. {% endif %}
  35. {% if result['original_title'] is defined %}
  36. <p class="mb-2">
  37. Original language title:
  38. {{ result['original_title'] }}
  39. </p>
  40. {% endif %}
  41. {% if result['abstract'] is defined %}
  42. <p class="mb-2">
  43. Abstract:
  44. {{ result['abstract'] }}
  45. </p>
  46. {% endif %}
  47. {% if result['original_abstract'] is defined %}
  48. <p class="mb-2">
  49. Original language abstract:
  50. {{ result['original_abstract'] }}
  51. </p>
  52. {% endif %}
  53. <p class="mb-2">
  54. European Patent Office PDF:
  55. <a href="{{ url_for('search.id_search', id=result['id'], core='all') }}">
  56. {{ result['application_id'] }}
  57. </a>
  58. </p>
  59. {% if result['image'] is defined %}
  60. <div class="col text-center">
  61. <img class="img-fluid" src="data:image/jpg;base64,{{ result['image'] }}" alt="Drawing accompanying patent for {{ result['title'] }}" />
  62. </div>
  63. {% endif %}
  64. </div>
  65. {% endfor %}
  66. {% endblock %}