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.

titles.html 1.7KB

2 yıl önce
2 yıl önce
2 yıl önce
2 yıl önce
2 yıl önce
2 yıl önce
2 yıl önce
2 yıl önce
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 titles from dataset;</span>
  7. </span>
  8. <button onclick="addRandomTitle()" title="add one">+</button>
  9. <span class="info" style="display: none;">
  10. <span class="operations">↝ add a random title from dataset;</span>
  11. </span>
  12. <button onclick="removeRandomTitle()" title="remove one">-</button>
  13. <span class="info" style="display: none;">
  14. <span class="operations">↝ remove a random title from page;</span>
  15. </span>
  16. <button id="notes-operations" onclick="hideShowInfo()">?</button>
  17. <a href="{{ url_for('main.index') }}" class="arrow-back h1 text-left" title="back to index"> ⇽ </a>
  18. </div>
  19. <div class="row">
  20. <div class="col m-5">
  21. <p class="h1 text-center">Poetics of Titles</p>
  22. </div>
  23. </div>
  24. <div id="page-titles">
  25. {% for title in titles %}
  26. <span class="title">
  27. <a href="{{ url_for('search.id_search', id=title['id'], core='all') }}">
  28. {{ title['title'] }}
  29. </a>
  30. </span>
  31. <span class="joint">&</span>
  32. {% endfor %}
  33. </div>
  34. <script type="text/javascript">
  35. var titles = {{ additional_titles|tojson }};
  36. x = 0;
  37. function addRandomTitle(){
  38. var record_array = titles[x];
  39. document.querySelector('#page-titles').innerHTML += "<a href='/search/id?id=" + record_array['id'] + "&core=all'><span class='title'>" + record_array['title'] + "</span></a><span class='joint'>&</span>";
  40. x++;
  41. window.scrollTo(0, document.body.scrollHeight);
  42. }
  43. </script>
  44. {% endblock %}