"""
55 |
56 |
57 | def collapse_children_html(did, name, prefix):
58 | return f"""
59 |
60 | {prefix}
61 | """
62 |
63 |
64 | collapse_no_child = """
65 | """
66 |
67 |
68 | def deck_name(depth, collapse, extraclass, did, cssStyle, name):
69 | return f"""
70 |
71 | {" "*6*depth}{collapse}
72 |
77 | |
78 | """
79 |
80 |
81 | def number_cell(colour, number, description):
82 | if description is None or description is False:
83 | description = ""
84 | t = f"""
85 | """
86 | else:
87 | description = f"""
88 |
89 | {description}
90 | """
91 | t = f"""
92 | | """
93 | # if number:
94 | t += f"""
95 |
96 | {number}
97 | """
98 | if description:
99 | t += f"""
100 | {description}"""
101 | t += """
102 | | """
103 | return t
104 |
105 |
106 | def gear(did):
107 | return f"""
108 |
109 |
110 |
111 |
112 | | """
113 |
114 |
115 | def deck_option_name(option):
116 | return f"""
117 |
118 | {option}
119 | | """
120 |
121 |
122 | end_line = """
123 |
"""
124 |
125 |
126 | def bar(name, width, left, color, overlay):
127 | return f"""
128 |