diff --git a/dj/scon/templates/scon/crafting/overview_tables.html b/dj/scon/templates/scon/crafting/overview_tables.html new file mode 100644 index 0000000..584eed4 --- /dev/null +++ b/dj/scon/templates/scon/crafting/overview_tables.html @@ -0,0 +1,67 @@ +{% extends "scon/base.html" %} + +{% block context %} + +

Crafting Overview

+ + + + + + + + + + + {% for item in items %} + {% if item.primary_recipee %} + + + + {% with item.primary_recipee as recipee %} + + + + + {% endwith %} + + + {% endif %} + {% endfor %} + +
Source Crafts intoAlso used in
+
+ {% if item.icon %}{% endif %} {{ item.name }} + {% if item.sell_price %}
Sell: {{item.sell_price}} cr{% endif %} +
+
+
{% if recipee.amount > 1 %}{{ recipee.amount }}{% endif %}
+
+
+
+ {% if recipee.output.icon %}{% endif %} {{ recipee.output.html }} + {% if recipee.output.sell_price %}
Sell: {{recipee.output.sell_price}} cr{% endif %} +
+
+
    + {% for ingredient in recipee.ingredients %} +
  • {{ ingredient.amount }} x {{ ingredient.item.html }}
  • + {% endfor %} +
+
+
+
+
    + {% for i1 in item.crafting_used_in %} + {% with i1.crafting.output as ci %} + {% if ci.pk != recipee.output.pk %} +
  • {{ ci.html }}
  • + {% endif %} + {% for i2 in ci.crafting_used_in %} +
  • {{ i2.crafting.output.html }} ({{ci.html}})
  • + {% endfor %} + {% endwith %} + {% endfor %} +
+
 
+{% endblock context %} \ No newline at end of file