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.

81 lines
1.9KB

  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 random records 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. <div class="compare mt-5">
  12. {% for result in results %}
  13. <div class="mt-5 text-center skewY">
  14. {% if result['title'] is defined %}
  15. <h1 class="h1 mt-4 mb-2">
  16. Title:
  17. {{ result['title'] }}
  18. </h1>
  19. {% endif %}
  20. {% if result['year'] is defined %}
  21. <p class="mb-2">
  22. Year:
  23. {{ result['year'] }}
  24. </p>
  25. {% endif %}
  26. {% if result['country'] is defined %}
  27. <p class="mb-2">
  28. Country:
  29. {{ result['country'].name }}
  30. {{ result['country'].flag }}
  31. </p>
  32. {% endif %}
  33. {% if result['original_title'] is defined %}
  34. <p class="mb-2">
  35. Original language title:
  36. {{ result['original_title'] }}
  37. </p>
  38. {% endif %}
  39. {% if result['abstract'] is defined %}
  40. <p class="mb-2">
  41. Abstract:
  42. {{ result['abstract'] }}
  43. </p>
  44. {% endif %}
  45. {% if result['original_abstract'] is defined %}
  46. <p class="mb-2">
  47. Original language abstract:
  48. {{ result['original_abstract'] }}
  49. </p>
  50. {% endif %}
  51. <p class="mb-2">
  52. European Patent Office PDF:
  53. <a href="{{ url_for('search.id_search', id=result['id'], core='all') }}">
  54. {{ result['application_id'] }}
  55. </a>
  56. </p>
  57. {% if result['image'] is defined %}
  58. <div class="col text-center">
  59. <img class="img-fluid" src="data:image/jpg;base64,{{ result['image'] }}" alt="Drawing accompanying patent for {{ result['title'] }}" />
  60. </div>
  61. {% endif %}
  62. </div>
  63. {% endfor %}
  64. </div>
  65. {% endblock %}