mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
Made code more aesthetic
This commit is contained in:
parent
096ee00e07
commit
a40a63ae50
|
@ -73,14 +73,9 @@
|
||||||
<% table_hash = JSON.parse((Base64.decode64(table['contents']))) %>
|
<% table_hash = JSON.parse((Base64.decode64(table['contents']))) %>
|
||||||
<% pio_table_id = "pio_table_prot_info_"+table_count.to_s %>
|
<% pio_table_id = "pio_table_prot_info_"+table_count.to_s %>
|
||||||
<% protocol_table_elements_array.push([pio_table_id,table_hash['data']]) %>
|
<% protocol_table_elements_array.push([pio_table_id,table_hash['data']]) %>
|
||||||
|
|
||||||
|
|
||||||
<div id="<%=pio_table_id%>" ></div>
|
<div id="<%=pio_table_id%>" ></div>
|
||||||
|
|
||||||
|
|
||||||
<% table_count += 1 %>
|
<% table_count += 1 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -115,14 +115,9 @@
|
||||||
<% table_hash = JSON.parse((Base64.decode64(table['contents']))) %>
|
<% table_hash = JSON.parse((Base64.decode64(table['contents']))) %>
|
||||||
<% pio_table_id = "pio_table_step_"+counter.to_s+"_info_"+table_count.to_s %>
|
<% pio_table_id = "pio_table_step_"+counter.to_s+"_info_"+table_count.to_s %>
|
||||||
<% step_table_elements_array.push([pio_table_id,table_hash['data']]) %>
|
<% step_table_elements_array.push([pio_table_id,table_hash['data']]) %>
|
||||||
|
|
||||||
|
|
||||||
<div id="<%=pio_table_id%>" ></div>
|
<div id="<%=pio_table_id%>" ></div>
|
||||||
|
|
||||||
|
|
||||||
<% table_count += 1 %>
|
<% table_count += 1 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue