index.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>{{ slug }}</title>
  6. <meta name="description" content="Institute for Data Processing and Electronics">
  7. <meta name="author" content="Nicholas Tan Jerome">
  8. <link rel="stylesheet" href="{{ static_url("css/jquery-ui.min.css") }}">
  9. <link rel="stylesheet" href="{{ static_url("css/style.css") }}">
  10. <!--[if lt IE 9]>
  11. <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
  12. <![endif]-->
  13. </head>
  14. <body>
  15. <div id="header">
  16. <div id="header-text">
  17. Data repository
  18. </div>
  19. <div id="header-icon">
  20. <div>
  21. <a href="https://ufo.kit.edu/dis/index.php/project/astor/" target="_blank">
  22. <img src="{{ static_url("img/icon/astor.png") }}" height="50px" width="auto"/>
  23. </a>
  24. </div>
  25. <div>
  26. <a href="https://ufo.kit.edu/dis/index.php/project/nova/" target="_blank">
  27. <img src="{{ static_url("img/icon/nova.png") }}" height="50px" width="auto"/>
  28. </a>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="clearfix"></div>
  33. <hr>
  34. <div id="title">
  35. <p>{{ title }}</p>
  36. </div>
  37. <div id="authors">
  38. <p>
  39. {% for author in authors %}
  40. {{ author }},
  41. {% end %}
  42. </p>
  43. </div>
  44. <div id="institute">
  45. <p>
  46. {% for institute in institutes %}
  47. {{ institute }},
  48. {% end %}
  49. </p>
  50. </div>
  51. <div id="subheader">
  52. <span>Sample:</span>
  53. <select class="target">
  54. {% for sample in data_list %}
  55. {% if sample[1] == name %}
  56. <option value={{ sample[0] }} selected>{{ sample[1] }}</option>
  57. {% else %}
  58. <option value={{ sample[0] }}>{{ sample[1] }}</option>
  59. {% end %}
  60. {% end %}
  61. </select>
  62. <img class="icon" id="download" src="{{ static_url("img/icon/download.svg") }}"/>
  63. <span id="size">({{ data_size }} GB)</span>
  64. </div>
  65. <div id="image-container" class="clearfix">
  66. <div id="img-left">
  67. <div class="cont">
  68. <span id="image-text">Overview (Volume Rendering)</span>
  69. </div>
  70. <div class="photowrapper">
  71. <img id="img-preview" width="100%" height="100%" src="img?id={{ index }}&name={{ name }}&type=preview&counter=0"/>
  72. <div id="text-desc">
  73. <p id="description"><span>Description</span>
  74. {% for text_desc in desc %}
  75. {% if text_desc['type'] == "i" %}
  76. <i>{{ text_desc['text'] }}</i>
  77. {% else %}
  78. {{ text_desc['text'] }}
  79. {% end %}
  80. {% end %}
  81. </p>
  82. </div>
  83. </div>
  84. </div>
  85. <div id="img-right">
  86. <div id="photowrapper-front" class="photowrapper">
  87. <div class="cont">
  88. <img id="front-left" class="icon" src="{{ static_url("img/icon/left-arrow.svg") }}"/>
  89. <span id="image-text">Front: <span id="front-text">1</span>&nbsp;&nbsp;&nbsp;&nbsp;<span id="front-quality-text"></span></span>
  90. <img id="front-right" class="icon" src="{{ static_url("img/icon/right-arrow.svg") }}"/>
  91. </div>
  92. <img id="img-front" width="100%" height="100%" src="img?id={{ index }}&name={{ name }}&type=front-resized&counter=0"/>
  93. <div id="slider-right"></div><div class="slice-count" id="front-count">{{ front_count }}</div>
  94. </div>
  95. </div>
  96. <div id="img-center">
  97. <div id="photowrapper-top" class="photowrapper">
  98. <div class="cont">
  99. <img id="top-left" class="icon" src="{{ static_url("img/icon/left-arrow.svg") }}"/>
  100. <span id="image-text">Top: <span id="top-text">1</span>&nbsp;&nbsp;&nbsp;&nbsp;<span id="top-quality-text"></span></span>
  101. <img id="top-right" class="icon" src="{{ static_url("img/icon/right-arrow.svg") }}"/>
  102. </div>
  103. <img id="img-top" width="100%" height="100%" src="img?id={{ index }}&name={{ name }}&type=top-resized&counter=0" data-zoom-image="img?id={{ index }}&name={{ name }}&type=top-resized&counter=0" />
  104. <div id="slider-center"></div><div class="slice-count" id="top-count">{{ top_count }}</div>
  105. </div>
  106. <div id="photowrapper-left" class="photowrapper">
  107. <div class="cont">
  108. <img id="left-left" class="icon" src="{{ static_url("img/icon/left-arrow.svg") }}"/>
  109. <span id="image-text">Left: <span id="left-text">1</span>&nbsp;&nbsp;&nbsp;&nbsp;<span id="left-quality-text"></span></span>
  110. <img id="left-right" class="icon" src="{{ static_url("img/icon/right-arrow.svg") }}"/>
  111. </div>
  112. <img id="placeholder-left" width="100%" height="100%" src="img?id={{ index }}&name={{ name }}&type=left-resized&counter=0"/>
  113. <div id="slider-left"></div><div class="slice-count" id="left-count">{{ left_count }}</div>
  114. </div>
  115. </div>
  116. </div>
  117. <hr>
  118. <div id="footer">&copy;2017 A service provided by Ultra-fast Online Processing for Data-intensive Sciences group (UFO), https://ufo.kit.edu/</div>
  119. <script src="{{ static_url("js/jquery-1.12.4.min.js") }}"></script>
  120. <script src="{{ static_url("js/jquery-ui.min.js") }}"></script>
  121. <script src="{{ static_url("js/jquery.ez-plus.js") }}"></script>
  122. <script src="{{ static_url("js/jquery.fullscreenslides.js") }}"></script>
  123. <script src="{{ static_url("js/script.js") }}"></script>
  124. </body>
  125. </html>