2024-07-02 22:43:36 -07:00
|
|
|
.outfit-viewer
|
2024-07-07 21:32:41 -07:00
|
|
|
.loading-indicator= render partial: "hanger_spinner"
|
2024-07-02 22:43:36 -07:00
|
|
|
- outfit.visible_layers.each do |swf_asset|
|
|
|
|
%outfit-layer{
|
|
|
|
data: {
|
|
|
|
"asset-id": swf_asset.id,
|
|
|
|
"zone": swf_asset.zone.label,
|
|
|
|
},
|
|
|
|
}
|
2024-07-03 20:15:35 -07:00
|
|
|
- if swf_asset.canvas_movie?
|
|
|
|
%iframe{src: swf_asset_path(swf_asset) + "?playing"}
|
|
|
|
- else
|
|
|
|
= image_tag swf_asset.image_url, alt: ""
|