Skip to content
Snippets Groups Projects
Commit 9436d826 authored by Marco De Donno's avatar Marco De Donno
Browse files

Split on two rows the segment image and annotations on the cnm segment page

parent 99b20bd5
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,12 @@ ...@@ -13,11 +13,12 @@
<link type="text/css" rel="stylesheet" href="{{ url_for( 'files.send_app_files', subpath = 'dropzone.css' ) }}"> <link type="text/css" rel="stylesheet" href="{{ url_for( 'files.send_app_files', subpath = 'dropzone.css' ) }}">
<style type="text/css"> <style type="text/css">
#icnml_segments_list { .icnml_list_of_boxes {
display: grid; display: grid;
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: repeat( auto-fit, minmax( 200px, max-content ) ); grid-template-columns: repeat( auto-fit, minmax( 200px, max-content ) );
grid-auto-rows: min-content; grid-auto-rows: min-content;
margin-bottom: 10px;
} }
.icnml_cnm_segments { .icnml_cnm_segments {
height: 200px; height: 200px;
...@@ -44,7 +45,7 @@ ...@@ -44,7 +45,7 @@
{% include navigation %} {% include navigation %}
<div class="icnml_content"> <div class="icnml_content">
<div id="icnml_segments_list"> <div class="icnml_list_of_boxes">
<div> <div>
<div class="ui-widget-header ui-corner-top icnml_box_top">Segment preview</div> <div class="ui-widget-header ui-corner-top icnml_box_top">Segment preview</div>
<div class="ui-widget-content ui-corner-bottom icnml_box_content"> <div class="ui-widget-content ui-corner-bottom icnml_box_content">
...@@ -55,6 +56,8 @@ ...@@ -55,6 +56,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="icnml_list_of_boxes">
{% for a in annotations %} {% for a in annotations %}
<div> <div>
<div class="ui-widget-header ui-corner-top icnml_box_top">{{ a[ 'id' ] }}</div> <div class="ui-widget-header ui-corner-top icnml_box_top">{{ a[ 'id' ] }}</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment