Changes

add blur toggle
Line 412: Line 412:  
     end
 
     end
 
     table.insert(result, "}}")
 
     table.insert(result, "}}")
 +
    table.insert(result, [=[<div class="toggle" data-target="ship-cg-to-blur" data-default="hide" data-classes="blur">
 +
<span class="toggle-show" style="cursor:pointer;color:#006cb0;">☑ Blur damaged CG</span>
 +
<span class="toggle-hide" style="cursor:pointer;color:#006cb0;">☒ Blur damaged CG</span>
 +
</div>]=])
 
     return table.concat(result, "\n")
 
     return table.concat(result, "\n")
 
end
 
end
cssedit, gkautomate
7,060

edits