BigW Consortium Gitlab

_stl.html.haml 626 Bytes
Newer Older
Phil Hughes committed
1 2 3 4
- content_for :page_specific_javascripts do
  = page_specific_javascript_bundle_tag('stl_viewer')

.file-content.is-stl-loading
Douwe Maan committed
5
  .text-center#js-stl-viewer{ data: { endpoint: blob_raw_path } }
Phil Hughes committed
6 7 8 9 10 11 12
    = icon('spinner spin 2x', class: 'prepend-top-default append-bottom-default', 'aria-hidden' => 'true', 'aria-label' => 'Loading')
  .text-center.prepend-top-default.append-bottom-default.stl-controls
    .btn-group
      %button.btn.btn-default.btn-sm.js-material-changer{ data: { type: 'wireframe' } }
        Wireframe
      %button.btn.btn-default.btn-sm.active.js-material-changer{ data: { type: 'default' } }
        Solid