Split SVG templates into partials and add config_order option (#53)

This commit is contained in:
Simon Lecoq
2021-01-11 22:10:23 +01:00
committed by GitHub
parent d05c1bbdf4
commit a1277cfc19
40 changed files with 1624 additions and 1588 deletions

View File

@@ -0,0 +1,9 @@
<% if (plugins.languages) { %>
<div class="stdin"><%- meta.$ %> locale</div><%# -%>
<div class="stdout"><%# -%>
<% if (plugins.languages.error) { -%>
<span class="error"><%= plugins.languages.error.message %></span><%# -%>
<% } else { for (const {name, value} of plugins.languages.favorites) { -%>
<b><%= name.toLocaleUpperCase().padEnd(12) %></b> [<%= "#".repeat(Math.ceil(100*value/5)).padEnd(20) %>] <%= (100*value).toFixed(2).padEnd(5) %>%
<% }} -%>
</div><% } -%>