Made code more aesthetic

This commit is contained in:
Zanz2 2017-11-09 15:38:06 +01:00
parent 096ee00e07
commit a40a63ae50
2 changed files with 76 additions and 86 deletions

View file

@ -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>

View file

@ -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>