File tree Expand file tree Collapse file tree
gocam_view/templates/gocam_view Expand file tree Collapse file tree Original file line number Diff line number Diff line change 146146 padding-bottom : 0.2em ;
147147 font-size : 105% ;
148148}
149- .models {
150- padding-top : 0.2 em ;
149+ .models , . inputs-outputs {
150+ padding-top : 0.1 em ;
151151}
152- .model-list {
153- padding : 0.1em 0 0.1 em 1.3em ;
152+ .model-list , . input-output-list {
153+ padding : 0.1em 0 0 1.3em ;
154154 margin : 0.1em ;
155155}
156- .model-id {
156+ .model-id , . input-output {
157157 padding : 0 ;
158158 font-size : 95% ;
159159}
880880 newContent += '</div>' ;
881881 }
882882
883+ if ( currentData . has_input && currentData . has_input . length > 0 ) {
884+ newContent += '<div class="inputs-outputs">has input:</div><ul class="input-output-list">' ;
885+ for ( const hasInput of currentData . has_input ) {
886+ const label = hasInput . label ;
887+ const id = hasInput . id ;
888+ newContent += '<li class="input-output">' + makeLink ( id , label ) + '</li>' ;
889+ }
890+ newContent += '</ul></div>' ;
891+ }
892+
893+ if ( currentData . has_output && currentData . has_output . length > 0 ) {
894+ newContent += '<div class="inputs-outputs">has output:</div><ul class="input-output-list">' ;
895+ for ( const hasOutput of currentData . has_output ) {
896+ const label = hasOutput . label ;
897+ const id = hasOutput . id ;
898+ newContent += '<li class="input-output">' + makeLink ( id , label ) + '</li>' ;
899+ }
900+ newContent += '</ul></div>' ;
901+ }
902+
883903 if ( currentData . happens_during ) {
884904 const label = currentData . happens_during . label ;
885905 const id = currentData . happens_during . id ;
You can’t perform that action at this time.
0 commit comments