refactor: start grouping brick attributes info
This commit is contained in:
@@ -9,13 +9,15 @@
|
||||
<p> speaker </p>
|
||||
<p> mark </p>
|
||||
<p> mark and active </p>
|
||||
{{ range .Bricks }}
|
||||
{{ range .Gestures }}
|
||||
{{ with .GetGestureInfo }}
|
||||
<div class="border-2">for {{ .Name }}</div>
|
||||
<div>{{ template "inactiveBrick" .ColorClass }}</div>
|
||||
<div>{{ template "raisedBrick" .ColorClass }}</div>
|
||||
<div>{{ template "speakerBrick" .ColorClass }}</div>
|
||||
<div>{{ template "markBrick" .ColorClass }}</div>
|
||||
<div>{{ template "markAndRaisedBrick" .ColorClass }}</div>
|
||||
<div>{{ template "inactiveBrick" .Color }}</div>
|
||||
<div>{{ template "raisedBrick" .Color }}</div>
|
||||
<div>{{ template "speakerBrick" .Color }}</div>
|
||||
<div>{{ template "markBrick" .Color }}</div>
|
||||
<div>{{ template "markAndRaisedBrick" .Color }}</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user